summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDario Ostuni2018-07-31 21:59:59 +0200
committerDario Ostuni2018-07-31 21:59:59 +0200
commitd268befeacb71aa26383a8c3d76389b2a5de80f4 (patch)
tree7174d342d22b66f1cf2fc064a2692392a2354331
parent01d6486c8acdfbac473bc286004aa8d5581ac883 (diff)
downloadaur-d268befeacb71aa26383a8c3d76389b2a5de80f4.tar.gz
Bump to version 6.8
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD10
2 files changed, 11 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 279f2262ddd..738beca1c96 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Sun Jul 1 19:16:36 UTC 2018
+# Tue Jul 31 19:59:56 UTC 2018
pkgbase = python-or-tools
pkgdesc = Google's Operations Research tools
- pkgver = 6.7.2
+ pkgver = 6.8
pkgrel = 1
url = https://github.com/google/or-tools
arch = x86_64
@@ -13,11 +13,12 @@ pkgbase = python-or-tools
makedepends = cmake
makedepends = wget
makedepends = lsb-release
- depends = python
+ depends = python>=3.7
+ depends = python<3.8
depends = swig
options = !emptydirs
- source = https://github.com/google/or-tools/archive/v6.7.2.tar.gz
- sha384sums = 3deb8140af664a01ddf42092c68bfa856e33a0ff4e297d4ba828b68de3ef838f9d7af1616de1ace72a92454783915df1
+ source = https://github.com/google/or-tools/archive/v6.8.tar.gz
+ sha384sums = 2bff8942c56ff819e1907c7d08914c45c139c7a237f381f42f621479dfed22cd9a1617d74f2798f1268da4b0e79692a3
pkgname = python-or-tools
diff --git a/PKGBUILD b/PKGBUILD
index 8b6a221e3d6..e0804029a47 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,16 @@
# Maintainer: Dario Ostuni <another.code.996@gmail.com>
pkgname=python-or-tools
-pkgver=6.7.2
+pkgver=6.8
pkgrel=1
pkgdesc="Google's Operations Research tools"
arch=('x86_64' 'i686' 'aarch64' 'armv7h')
url="https://github.com/google/or-tools"
license=('Apache2')
-depends=('python' 'swig')
+depends=('python>=3.7' 'python<3.8' 'swig')
makedepends=('cmake' 'wget' 'lsb-release')
options=(!emptydirs)
source=("https://github.com/google/or-tools/archive/v${pkgver}.tar.gz")
-sha384sums=('3deb8140af664a01ddf42092c68bfa856e33a0ff4e297d4ba828b68de3ef838f9d7af1616de1ace72a92454783915df1')
+sha384sums=('2bff8942c56ff819e1907c7d08914c45c139c7a237f381f42f621479dfed22cd9a1617d74f2798f1268da4b0e79692a3')
build() {
cd "${srcdir}/or-tools-${pkgver}"
@@ -24,7 +24,7 @@ build() {
package() {
cd "${srcdir}/or-tools-${pkgver}"
- mkdir -p "$pkgdir/usr/lib/python3.6/site-packages/"
- find ortools/ -name '*.py' -or -name '*.so' | xargs cp --parents -t "$pkgdir/usr/lib/python3.6/site-packages/"
+ mkdir -p "$pkgdir/usr/lib/python3.7/site-packages/"
+ find ortools/ -name '*.py' -or -name '*.so' | xargs cp --parents -t "$pkgdir/usr/lib/python3.7/site-packages/"
cp "lib/libortools.so" "$pkgdir/usr/lib/"
}