git: 5df512ef248e - main - math/py-cvxpy: Update 1.1.18 -> 1.2.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 10 May 2022 21:21:43 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5df512ef248e00d91cb7f1e9b44acecd5ecb3e69

commit 5df512ef248e00d91cb7f1e9b44acecd5ecb3e69
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-05-10 20:58:58 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-05-10 21:21:39 +0000

    math/py-cvxpy: Update 1.1.18 -> 1.2.0
---
 math/py-cvxpy/Makefile | 6 +++++-
 math/py-cvxpy/distinfo | 6 +++---
 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