summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcos M. Raimundo2017-07-29 12:06:28 -0300
committerMarcos M. Raimundo2017-07-29 12:06:28 -0300
commit4ba817b1fc452f25c55093fab6ab1e1b8a11d941 (patch)
tree0f2a0d5e9fa87296ef403309812cf84178465ce8
parent72da9b9e1343b48d5522f0b9b1aca356e005dc90 (diff)
downloadaur-4ba817b1fc452f25c55093fab6ab1e1b8a11d941.tar.gz
Update to 7.5.1 version
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD10
2 files changed, 9 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 36fd08a5ae5..f459e509ff4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,23 +1,22 @@
pkgbase = gurobi
pkgdesc = State-of-the-art solver for mathematical programming
- pkgver = 6.5.2
+ pkgver = 7.5.1
pkgrel = 1
url = http://www.gurobi.com/products/gurobi-optimizer/gurobi-overview
install = gurobi.install
arch = x86_64
license = custom
- depends = python>=3.4.0
- depends = python<3.6
+ depends = python>=3.5.0
+ depends = python<3.7
optdepends = gcc: C/C++ programming interfaces support
optdepends = java-environment: Java programming interface support
optdepends = mono: .NET programming interface support
- optdepends = matlab: MATLAB programming interface support, version 2008b to 2015b
- source = gurobi6.5.2_linux64.tar.gz::file://gurobi6.5.2_linux64.tar.gz
+ optdepends = matlab: MATLAB programming interface support, version 2008b onwards
+ source = gurobi7.5.1_linux64.tar.gz::file://gurobi7.5.1_linux64.tar.gz
source = gurobi.sh
source = gurobi_setup.m
- sha256sums = 5fbf84f2526d5bac8b1ccc40c3d58c0bd57daa7286fd062b288942b4a9d46165
+ sha256sums = 7f5c8b0c3d3600ab7a1898f43e238a9d9a32ac1206f2917fb60be9bbb76111b6
sha256sums = 30d535f7100627195dbe8d1c9a5ce603ed645b93eb8869984eb8a15e8db6d1c8
sha256sums = fd328dc00b276258e7828b301c93574f9aa8e6f143caf5428a648851a6ecf93c
pkgname = gurobi
-
diff --git a/PKGBUILD b/PKGBUILD
index f07317dd7cf..b0bf0de876a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
pkgname=('gurobi')
_basename=gurobi
-pkgver=7.0.1
+pkgver=7.5.1
pkgrel=1
pkgdesc="State-of-the-art solver for mathematical programming"
arch=('x86_64')
@@ -25,7 +25,7 @@ source=(
"gurobi.sh"
"gurobi_setup.m"
)
-sha256sums=('2af561c9c4511374728cbf8b4dce901845dc9c6660c299a1ecde7a5e84d9f472'
+sha256sums=('7f5c8b0c3d3600ab7a1898f43e238a9d9a32ac1206f2917fb60be9bbb76111b6'
'30d535f7100627195dbe8d1c9a5ce603ed645b93eb8869984eb8a15e8db6d1c8'
'fd328dc00b276258e7828b301c93574f9aa8e6f143caf5428a648851a6ecf93c')
@@ -45,10 +45,6 @@ package_gurobi() {
cd "$srcdir/${_basename}${pkgver//./}/linux64/"
- awk 'NR==22 {$0="if version != (2, 7) and version != (3, 5) and version != (3, 6):"} 1' setup.py > setup2.py
- mv setup2.py setup.py
- cp -r lib/python3.5_utf32 lib/python3.6_utf32
-
install -d "${pkgdir}/usr/bin/" "${pkgdir}/usr/share/doc/${_basename}/" \
"${pkgdir}/usr/include/" "${pkgdir}/usr/lib/${_basename}/matlab/"
@@ -73,7 +69,7 @@ package_gurobi() {
# Programming interfaces
install lib/*.so* "${pkgdir}/usr/lib/"
install -m644 lib/*.a "${pkgdir}/usr/lib/"
- ln -sf ./libgurobi.so.7.0.1 "${pkgdir}/usr/lib/libgurobi65.so"
+ ln -sf ./libgurobi.so.7.5.1 "${pkgdir}/usr/lib/libgurobi75.so"
ln -sf ./libgurobi_g++5.2.a "${pkgdir}/usr/lib/libgurobi_c++.a"
python2 setup.py install --root="$pkgdir" --optimize=1