diff --git a/math/py-PuLP/Makefile b/math/py-PuLP/Makefile index ae2cde85bb2c3..2048adc6be878 100644 --- a/math/py-PuLP/Makefile +++ b/math/py-PuLP/Makefile @@ -1,5 +1,5 @@ PORTNAME= PuLP -DISTVERSION= 2.4 +DISTVERSION= 2.5.0 CATEGORIES= math python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -23,4 +23,8 @@ post-patch: @${CP} ${WRKSRC}/pulp/pulp.cfg.linux ${WRKSRC}/pulp/pulp.cfg.freebsd @${REINPLACE_CMD} -E 's/^(CplexPath|PulpCbcPath) = .*/#&/' ${WRKSRC}/pulp/pulp.cfg.freebsd +do-test: install # one test is known to fail: https://github.com/coin-or/pulp/issues/472 + @cd ${TEST_WRKSRC} && py.test + + .include diff --git a/math/py-PuLP/distinfo b/math/py-PuLP/distinfo index daf041f9aa0af..46117392accdf 100644 --- a/math/py-PuLP/distinfo +++ b/math/py-PuLP/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1608514274 -SHA256 (PuLP-2.4.tar.gz) = b2aff10989b3692e3a59301a0cb0acddeb25dcea378f8804c86007075eae55b5 -SIZE (PuLP-2.4.tar.gz) = 1395471 +TIMESTAMP = 1629096882 +SHA256 (PuLP-2.5.0.tar.gz) = 5dc7d76bfb1da06ac048066ced75603340d0d7ba8a7dbfce4040d6f126eda0d5 +SIZE (PuLP-2.5.0.tar.gz) = 1391143 diff --git a/math/py-PuLP/files/patch-pulp_apis_core.py b/math/py-PuLP/files/patch-pulp_apis_core.py index e176f80d8e29e..267541f62fab0 100644 --- a/math/py-PuLP/files/patch-pulp_apis_core.py +++ b/math/py-PuLP/files/patch-pulp_apis_core.py @@ -10,10 +10,3 @@ else: operating_system = "linux" PULPCFGFILE += ".linux" -@@ -375,4 +378,4 @@ try: - return cList - except(ImportError): - def ctypesArrayFill(myList, type = None): -- return None -\ No newline at end of file -+ return None