aboutsummaryrefslogtreecommitdiff
path: root/math/py-CyLP
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2023-06-03 08:35:42 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2023-06-03 08:42:52 +0000
commita0dfbae768555fd7f90747744443381d37dcbc38 (patch)
tree94b3e4daf6871857e28025cc080440008d34840c /math/py-CyLP
parent5b3c268083a713a916cd3d660b54c2dfb47c072b (diff)
downloadports-a0dfbae768555fd7f90747744443381d37dcbc38.tar.gz
ports-a0dfbae768555fd7f90747744443381d37dcbc38.zip
Diffstat (limited to 'math/py-CyLP')
-rw-r--r--math/py-CyLP/Makefile12
-rw-r--r--math/py-CyLP/distinfo6
2 files changed, 11 insertions, 7 deletions
diff --git a/math/py-CyLP/Makefile b/math/py-CyLP/Makefile
index 274afb4bc5f4..0556e80ecca8 100644
--- a/math/py-CyLP/Makefile
+++ b/math/py-CyLP/Makefile
@@ -1,7 +1,6 @@
PORTNAME= CyLP
DISTVERSIONPREFIX= v
-DISTVERSION= 0.91.5
-PORTREVISION= 1
+DISTVERSION= 0.91.6
CATEGORIES= math python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -21,17 +20,22 @@ LIB_DEPENDS= libblas.so:math/blas \
libCbc.so:math/cbc \
libCgl.so:math/cgl \
libClp.so:math/clp \
- liblapack.so:math/lapack
+ libCoinUtils.so:math/coinutils \
+ liblapack.so:math/lapack \
+ libOsi.so:math/osi
RUN_DEPENDS= ${PY_DEPENDS}
USES= compiler:c++11-lang python:3.6+
-USE_PYTHON= distutils cython autoplist
+USE_PYTHON= distutils cython autoplist pytest
USE_GITHUB= yes
GH_ACCOUNT= coin-or
MAKE_ENV= COIN_INSTALL_DIR=${LOCALBASE}
+TEST_WRKSRC= ${WRKSRC}/cylp
+TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/cylp/cy/Cy*.so
diff --git a/math/py-CyLP/distinfo b/math/py-CyLP/distinfo
index 8bded692e75a..0defb60d93f2 100644
--- a/math/py-CyLP/distinfo
+++ b/math/py-CyLP/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1648513280
-SHA256 (coin-or-CyLP-v0.91.5_GH0.tar.gz) = f2ce8e023dac1e4066f07cd45f933c2f8df6dabd7c5bf1be324af516d3a5574a
-SIZE (coin-or-CyLP-v0.91.5_GH0.tar.gz) = 7666906
+TIMESTAMP = 1685780281
+SHA256 (coin-or-CyLP-v0.91.6_GH0.tar.gz) = e05a4db7f86646a0103235d2b9620ec3bb1d88ca34e11319f9feb98ed11e3156
+SIZE (coin-or-CyLP-v0.91.6_GH0.tar.gz) = 7667335