diff --git a/math/py-PuLP/Makefile b/math/py-PuLP/Makefile index 6bc2538b0943..40e63c34c3f4 100644 --- a/math/py-PuLP/Makefile +++ b/math/py-PuLP/Makefile @@ -1,41 +1,43 @@ PORTNAME= PuLP -DISTVERSION= 2.9.0 +DISTVERSION= 3.0.2 CATEGORIES= math python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= ${PORTNAME:tl}-${DISTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= LP modeler written in python WWW= https://github.com/coin-or/pulp LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}amply>=0.1.2:math/py-amply@${PY_FLAVOR} \ cbc:math/cbc \ glpsol:math/glpk USES= cpe python CPE_VENDOR= ${PORTNAME:tl}project USE_PYTHON= distutils concurrent autoplist pytest TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} NO_ARCH= yes post-patch: @${CP} ${WRKSRC}/pulp/pulp.cfg.linux ${WRKSRC}/pulp/pulp.cfg.freebsd @${REINPLACE_CMD} -E 's/^(CplexPath|PulpCbcPath) = .*/#&/' ${WRKSRC}/pulp/pulp.cfg.freebsd post-install: # workaround for https://github.com/coin-or/pulp/issues/740: replace cbc binaries for other systems with the FreeBSD binary for cbc_exe in ${STAGEDIR}${PYTHON_SITELIBDIR}/pulp/solverdir/cbc/*/*/cbc ${WRKSRC}/pulp/solverdir/cbc/*/*/cbc; do \ ${RM} $${cbc_exe} && \ ${LN} -s ${LOCALBASE}/bin/cbc $${cbc_exe}; \ done -do-test: # one test is known to fail: https://github.com/coin-or/pulp/issues/494 +do-test: #@cd ${TEST_WRKSRC} && py.test @cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -c "import pulp; pulp.pulpTestAll()" +# tests as of 3.0.2: Some tests fail, see https://github.com/coin-or/pulp/issues/799 + .include diff --git a/math/py-PuLP/distinfo b/math/py-PuLP/distinfo index b60cfd9c90eb..53f49a7358eb 100644 --- a/math/py-PuLP/distinfo +++ b/math/py-PuLP/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1731876958 -SHA256 (pulp-2.9.0.tar.gz) = 2e30e6c0ef2c0edac185220e3e53faca62eb786a9bd68465208f05bc63e850f3 -SIZE (pulp-2.9.0.tar.gz) = 17610175 +TIMESTAMP = 1740119740 +SHA256 (pulp-3.0.2.tar.gz) = 7e57cd4eb145bdca80214acb07315f03583dd1c00cc8f24f91bf037649f93eb6 +SIZE (pulp-3.0.2.tar.gz) = 17619975