git: 9a73e7f7c0f9 - main - math/py-mip: update 1.14.0 → 1.15.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 24 Jun 2024 07:49:25 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=9a73e7f7c0f9c3d2f1a74edce9c453e4f1d4bea7 commit 9a73e7f7c0f9c3d2f1a74edce9c453e4f1d4bea7 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2024-06-24 07:45:35 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-06-24 07:49:08 +0000 math/py-mip: update 1.14.0 → 1.15.0 --- math/py-mip/Makefile | 23 +++++++++++++++++++---- math/py-mip/distinfo | 6 +++--- 2 files changed, 22 insertions(+), 7 deletions(-) diff --git a/math/py-mip/Makefile b/math/py-mip/Makefile index c15c485a156d..21631c28dd82 100644 --- a/math/py-mip/Makefile +++ b/math/py-mip/Makefile @@ -1,5 +1,5 @@ PORTNAME= mip -DISTVERSION= 1.14.0 +DISTVERSION= 1.15.0 CATEGORIES= math MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -10,13 +10,28 @@ WWW= https://python-mip.com/ LICENSE= EPL -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>0:devel/py-cffi@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}cffi>0:devel/py-cffi@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>0:devel/py-cffi@${PY_FLAVOR} USES= python -USE_PYTHON= distutils autoplist +USE_PYTHON= pep517 autoplist pytest NO_ARCH= yes +POST_PLIST= fix-plist + +fix-plist: # remove platform-specific libraries + @${REINPLACE_CMD} ' \ + /\/mip\/libraries/d ; \ + ' ${TMPPLIST} + +post-install: + # remove platform-specific libraries + @${RM} -r ${STAGEDIR}${PYTHON_SITELIBDIR}/mip/libraries + # update the PREFIX + @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${STAGEDIR}${PYTHON_SITELIBDIR}/mip/cbc.py + .include <bsd.port.mk> diff --git a/math/py-mip/distinfo b/math/py-mip/distinfo index 40fbf76f0ca7..70dbdcd890ce 100644 --- a/math/py-mip/distinfo +++ b/math/py-mip/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1655596169 -SHA256 (mip-1.14.0.tar.gz) = dd25f9c462a23ea158231111dfa44b5069f63bb0b254e44cf56e0fb434223111 -SIZE (mip-1.14.0.tar.gz) = 24559666 +TIMESTAMP = 1719201242 +SHA256 (mip-1.15.0.tar.gz) = 7f6f0381cfe2c52c1b8640203da2cb56974b26e23950ddfb1a76b37d916f197e +SIZE (mip-1.15.0.tar.gz) = 24569566