aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-05-10 20:58:58 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-05-10 21:21:39 +0000
commit5df512ef248e00d91cb7f1e9b44acecd5ecb3e69 (patch)
treefdc43cde519080582f06933305e0a6fa5cc79f69
parentbc6d5725ed6c7b6538da70328d89afe901736a90 (diff)
downloadports-5df512ef248e00d91cb7f1e9b44acecd5ecb3e69.tar.gz
ports-5df512ef248e00d91cb7f1e9b44acecd5ecb3e69.zip
math/py-cvxpy: Update 1.1.18 -> 1.2.0
-rw-r--r--math/py-cvxpy/Makefile6
-rw-r--r--math/py-cvxpy/distinfo6
2 files changed, 8 insertions, 4 deletions
diff --git a/math/py-cvxpy/Makefile b/math/py-cvxpy/Makefile
index 72857b571e8c..aa751440f9c1 100644
--- a/math/py-cvxpy/Makefile
+++ b/math/py-cvxpy/Makefile
@@ -1,5 +1,5 @@
PORTNAME= cvxpy
-DISTVERSION= 1.1.18
+DISTVERSION= 1.2.0
CATEGORIES= math python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -16,6 +16,7 @@ RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}osqp>=0.4.1:math/py-osqp@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}scipy>=1.1.0:science/py-scipy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}scs>=1.1.6:math/py-scs@${PY_FLAVOR}
+TEST_DEPENDS= pytest:devel/py-pytest@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= distutils autoplist
@@ -23,4 +24,7 @@ USE_PYTHON= distutils autoplist
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_cvxcore*.so
+do-test: install
+ @cd ${WRKSRC} && pytest
+
.include <bsd.port.mk>
diff --git a/math/py-cvxpy/distinfo b/math/py-cvxpy/distinfo
index e99cc2485f1d..eb084b8f3da4 100644
--- a/math/py-cvxpy/distinfo
+++ b/math/py-cvxpy/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1641248036
-SHA256 (cvxpy-1.1.18.tar.gz) = 5baefe1f2ed6937749b293586c6ce4f42ed30e7890223f7661ccb2bb7df70bef
-SIZE (cvxpy-1.1.18.tar.gz) = 1264962
+TIMESTAMP = 1652215569
+SHA256 (cvxpy-1.2.0.tar.gz) = 414466fde849a2faabfd9444ec82ca2e7bf142c01d7237524cf9730adeb4201c
+SIZE (cvxpy-1.2.0.tar.gz) = 1285916