summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSameer Puri2020-10-11 10:30:09 -0400
committerSameer Puri2020-10-11 10:32:17 -0400
commitb6b5cf447d0de4f8069aeb78da3c38723398db28 (patch)
tree97821af35ed6390602bdcc0b14fb760e35780c64
parentcdf6e5b20c9733af8fc0b78d65611062154ba1fc (diff)
downloadaur-b6b5cf447d0d.tar.gz
update to v8.0 and add build cplex support if installed
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD5
2 files changed, 6 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index accc460ea54..3fadb57ac44 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = python-or-tools
pkgdesc = Google's Operations Research tools
- pkgver = 7.8
+ pkgver = 8.0
pkgrel = 1
url = https://github.com/google/or-tools
arch = x86_64
@@ -19,8 +19,8 @@ pkgbase = python-or-tools
depends = swig
depends = python-protobuf
options = !emptydirs
- source = https://github.com/google/or-tools/archive/v7.8.tar.gz
- sha384sums = 73f051808575bffdcd4a9bb07a45a8d2ba2dc9dc565771b6fb1706f3271f74f271236470b25c08da6ad467764fe9599f
+ source = https://github.com/google/or-tools/archive/v8.0.tar.gz
+ sha384sums = b3b900d58106b7fa4a37f541454e7c001f97b537a789ea40a723ae0739c37a0efba7f89cea9a553945a561165f371df6
pkgname = python-or-tools
diff --git a/PKGBUILD b/PKGBUILD
index 1ec183b8019..ed3462fd6ad 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Sameer Puri <purisame@spuri.io>
pkgname=python-or-tools
-pkgver=7.8
+pkgver=8.0
pkgrel=1
pkgdesc="Google's Operations Research tools"
arch=('x86_64' 'i686' 'aarch64' 'armv7h')
@@ -10,11 +10,12 @@ depends=('python>=3.5' 'swig' 'python-protobuf')
makedepends=('cmake' 'wget' 'lsb-release' 'automake' 'python-wheel' 'python-pip' 'git')
options=(!emptydirs)
source=("https://github.com/google/or-tools/archive/v${pkgver}.tar.gz")
-sha384sums=('73f051808575bffdcd4a9bb07a45a8d2ba2dc9dc565771b6fb1706f3271f74f271236470b25c08da6ad467764fe9599f')
+sha384sums=('b3b900d58106b7fa4a37f541454e7c001f97b537a789ea40a723ae0739c37a0efba7f89cea9a553945a561165f371df6')
build() {
cd "${srcdir}/or-tools-${pkgver}"
make third_party
+ pacman -Qi cplex &> /dev/null && echo 'UNIX_CPLEX_DIR = /usr/lib' >> Makefile.local
make python
make pypi_archive
}