Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Aug 2026 20:10:44 +0000
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c5c6c411456e - main - math/py-cyipopt: update 1=?utf-8?Q?=2E5.0 =E2=86=92?= 1.7.0
Message-ID:  <6a724744.3d981.746d6c62@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by yuri:

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

commit c5c6c411456e1e74747a3f51dd12e512fd5288a3
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-08-04 07:30:34 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-08-04 20:10:24 +0000

    math/py-cyipopt: update 1.5.0 → 1.7.0
---
 math/py-cyipopt/Makefile             | 23 +++++++++++++++--------
 math/py-cyipopt/distinfo             |  6 +++---
 math/py-cyipopt/files/patch-setup.py | 12 ++++++++++++
 3 files changed, 30 insertions(+), 11 deletions(-)

diff --git a/math/py-cyipopt/Makefile b/math/py-cyipopt/Makefile
index ad7a1eb66335..0f5f26e5795c 100644
--- a/math/py-cyipopt/Makefile
+++ b/math/py-cyipopt/Makefile
@@ -1,32 +1,39 @@
 PORTNAME=	cyipopt
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.5.0
-PORTREVISION=	4
+DISTVERSION=	1.7.0
 CATEGORIES=	math python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	Cython interface for the interior point optimizer IPOPT
-WWW=		https://github.com/matthias-k/cyipopt
+WWW=		https://github.com/mechmotum/cyipopt
 
 LICENSE=	EPL
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.16:math/py-numpy@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.26.4:math/py-numpy@${PY_FLAVOR}
 LIB_DEPENDS=	libblas.so:math/blas \
 		libipopt.so:math/ipopt \
 		liblapack.so:math/lapack
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.16:math/py-numpy@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.26.4:math/py-numpy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR}
 
 USES=		fortran python pkgconfig # fortran because ipopt's pkg-config returns gcc libs
 USE_PYTHON=	distutils cython autoplist pytest
 
 USE_GITHUB=	yes
-GH_ACCOUNT=	matthias-k
+GH_ACCOUNT=	mechmotum
 
-TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+TEST_ENV=	${MAKE_ENV} \
+		PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} \
+		PYTEST_ADDOPTS="-p no:black -p no:ruff -p no:mypy -p no:flake8 -p no:cov -p no:benchmark -p no:inline-snapshot -p no:xdist -p no:randomly"
 
 post-install:
-	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/ipopt_wrapper${PYTHON_TAG}.so
+	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/cyipopt/ipopt_wrapper${PYTHON_TAG}.so
+
+do-test:
+	@cd ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/cyipopt/tests && \
+		${SETENV} ${TEST_ENV} pytest .
+
+# tests as of 1.7.0: 104 passed, 3 skipped, 1 xpassed in 3.71s
 
 .include <bsd.port.mk>
diff --git a/math/py-cyipopt/distinfo b/math/py-cyipopt/distinfo
index da8e64bd7146..f3741997f6ec 100644
--- a/math/py-cyipopt/distinfo
+++ b/math/py-cyipopt/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1725863628
-SHA256 (matthias-k-cyipopt-v1.5.0_GH0.tar.gz) = 88f280be6540607bac082be95385f473d922bfa4e811a5ec00f97fbdeca925fa
-SIZE (matthias-k-cyipopt-v1.5.0_GH0.tar.gz) = 83984
+TIMESTAMP = 1785732574
+SHA256 (mechmotum-cyipopt-v1.7.0_GH0.tar.gz) = 9979821d5e204c4cb76cf35b1f199f82e9d928827abf8542c87f5892a758f67d
+SIZE (mechmotum-cyipopt-v1.7.0_GH0.tar.gz) = 86192
diff --git a/math/py-cyipopt/files/patch-setup.py b/math/py-cyipopt/files/patch-setup.py
new file mode 100644
index 000000000000..ea36e2480272
--- /dev/null
+++ b/math/py-cyipopt/files/patch-setup.py
@@ -0,0 +1,12 @@
+-- Remove setup_requires so the port builds in Poudriere jails that do not have
+-- pip available; all build dependencies are already declared in BUILD_DEPENDS.
+--- setup.py.orig	2026-08-04 00:27:26 UTC
++++ setup.py
+@@ -202,7 +202,6 @@ if __name__ == "__main__":
+               'cyipopt.tests.integration',
+               'cyipopt.tests.unit',
+           ],
+-          setup_requires=SETUP_REQUIRES,
+           install_requires=INSTALL_REQUIRES,
+           extras_require=EXTRAS_REQUIRES,
+           include_package_data=include_package_data,


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a724744.3d981.746d6c62>