git: 0fe39c65d215 - main - math/py-cyipopt: Update 1.1.0 → 1.2.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 28 Mar 2023 08:09:59 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0fe39c65d215741e46d5b4746f3eabc7cd34b6a1

commit 0fe39c65d215741e46d5b4746f3eabc7cd34b6a1
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-03-28 08:00:23 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-03-28 08:09:53 +0000

    math/py-cyipopt: Update 1.1.0 → 1.2.0
    
    Reported by:    portscout
---
 math/py-cyipopt/Makefile | 11 ++++++++---
 math/py-cyipopt/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/math/py-cyipopt/Makefile b/math/py-cyipopt/Makefile
index 54001f3b4c5b..5d33659f1954 100644
--- a/math/py-cyipopt/Makefile
+++ b/math/py-cyipopt/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	cyipopt
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.1.0
-PORTREVISION=	2
+DISTVERSION=	1.2.0
 CATEGORIES=	math python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -22,8 +21,14 @@ RUN_DEPENDS=	${PYNUMPY} \
 		${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
 
 USES=		fortran python:3.6+ pkgconfig # fortran because ipopt's pkg-config returns gcc libs
+USE_PYTHON=	distutils cython autoplist pytest
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	matthias-k
-USE_PYTHON=	distutils cython autoplist
+
+TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/ipopt_wrapper${PYTHON_EXT_SUFFIX}.so
 
 .include <bsd.port.mk>
diff --git a/math/py-cyipopt/distinfo b/math/py-cyipopt/distinfo
index e2f238ec143f..946f2da998d0 100644
--- a/math/py-cyipopt/distinfo
+++ b/math/py-cyipopt/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1631213269
-SHA256 (matthias-k-cyipopt-v1.1.0_GH0.tar.gz) = 6c45ad26cbb1e14d71455959aff07b9068918c43b2565bc7216e91e43c8164ee
-SIZE (matthias-k-cyipopt-v1.1.0_GH0.tar.gz) = 47049
+TIMESTAMP = 1679990194
+SHA256 (matthias-k-cyipopt-v1.2.0_GH0.tar.gz) = 5ead8340b5499624fd042d3da8e7ff58dfdc3294b4c07fa6fa31334fbb296855
+SIZE (matthias-k-cyipopt-v1.2.0_GH0.tar.gz) = 48309