summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcos M. Raimundo2017-01-23 19:44:16 -0200
committerMarcos M. Raimundo2017-01-23 19:44:16 -0200
commit72da9b9e1343b48d5522f0b9b1aca356e005dc90 (patch)
tree8f582a2529323c8d9f1133ef59f7e1bd57b6a47b
parentafd50efd80dd75b203e15555fdabe88b2df83306 (diff)
downloadaur-72da9b9e1343b48d5522f0b9b1aca356e005dc90.tar.gz
Update to 7.0.1
-rw-r--r--PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 907727d34b1..f07317dd7cf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -45,7 +45,9 @@ package_gurobi() {
cd "$srcdir/${_basename}${pkgver//./}/linux64/"
- awk 'NR==22 {$0="if version != (2, 7) and version != (3, 5) and version != (3, 6):"} { print }' setup.py
+ 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/"
@@ -76,7 +78,7 @@ package_gurobi() {
python2 setup.py install --root="$pkgdir" --optimize=1
python3 setup.py install --root="$pkgdir" --optimize=1
- install -D "lib/python3.5_utf32/gurobipy/gurobipy.so" "${pkgdir}/usr/lib/python3.5/site-packages/gurobipy/"
+ install -D "lib/python3.6_utf32/gurobipy/gurobipy.so" "${pkgdir}/usr/lib/python3.6/site-packages/gurobipy/"
install -D -m644 lib/gurobi.jar "${pkgdir}/usr/share/java/${_basename}/gurobi.jar"