summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--math/py-cyipopt/Makefile7
-rw-r--r--math/py-cyipopt/distinfo6
-rw-r--r--math/py-cyipopt/files/patch-ipopt_version.py16
3 files changed, 23 insertions, 6 deletions
diff --git a/math/py-cyipopt/Makefile b/math/py-cyipopt/Makefile
index 00f512333aed..d0324e61c76b 100644
--- a/math/py-cyipopt/Makefile
+++ b/math/py-cyipopt/Makefile
@@ -2,8 +2,7 @@
PORTNAME= cyipopt
DISTVERSIONPREFIX= v
-DISTVERSION= 0.1.7
-PORTREVISION= 1
+DISTVERSION= 0.1.8
CATEGORIES= math python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -18,7 +17,9 @@ LIB_DEPENDS= libblas.so:math/blas \
libcoinmetis.so:math/ipopt \
liblapack.so:math/lapack
RUN_DEPENDS= ${PYNUMPY} \
- ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR}
+ ${PYTHON_PKGNAMEPREFIX}future>0:devel/py-future@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
USES= fortran python pkgconfig # fortran because ipopt's pkg-config returns gcc libs
USE_GITHUB= yes
diff --git a/math/py-cyipopt/distinfo b/math/py-cyipopt/distinfo
index b844d5b50633..0015456c969c 100644
--- a/math/py-cyipopt/distinfo
+++ b/math/py-cyipopt/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1522559375
-SHA256 (matthias-k-cyipopt-v0.1.7_GH0.tar.gz) = e62d4265743078c60f0af1426218310a9fbc1b6d0d0e60879e172d569dd3343d
-SIZE (matthias-k-cyipopt-v0.1.7_GH0.tar.gz) = 40782
+TIMESTAMP = 1537725965
+SHA256 (matthias-k-cyipopt-v0.1.8_GH0.tar.gz) = 146d014b69914a63c4b5b2c220db8c132756abad45aec387a8e045d7539a0137
+SIZE (matthias-k-cyipopt-v0.1.8_GH0.tar.gz) = 45348
diff --git a/math/py-cyipopt/files/patch-ipopt_version.py b/math/py-cyipopt/files/patch-ipopt_version.py
new file mode 100644
index 000000000000..b46cc10d8daa
--- /dev/null
+++ b/math/py-cyipopt/files/patch-ipopt_version.py
@@ -0,0 +1,16 @@
+https://github.com/matthias-k/cyipopt/issues/34
+
+--- ipopt/version.py.orig 2018-09-23 19:06:45 UTC
++++ ipopt/version.py
+@@ -4,9 +4,9 @@
+ cyipopt: Python wrapper for the Ipopt optimization package, written in Cython.
+
+ Copyright (C) 2012-2015 Amit Aides
+-Copyright (C) 2015-2018 Matthias Kümmerer
++Copyright (C) 2015-2018 Matthias Kummerer
+
+-Author: Matthias Kümmerer <matthias.kuemmerer@bethgelab.org>
++Author: Matthias Kummerer <matthias.kuemmerer@bethgelab.org>
+ (original Author: Amit Aides <amitibo@tx.technion.ac.il>)
+ URL: https://github.com/matthias-k/cyipopt
+ License: EPL 1.0