Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Aug 2021 07:06:38 GMT
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: be5434a41a63 - main - math/py-PuLP: Update 2.4 -> 2.5.0
Message-ID:  <202108160706.17G76cNm009178@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

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

commit be5434a41a6341493300224226f952efd75daa36
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-08-16 07:06:05 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-08-16 07:06:31 +0000

    math/py-PuLP: Update 2.4 -> 2.5.0
---
 math/py-PuLP/Makefile                      | 6 +++++-
 math/py-PuLP/distinfo                      | 6 +++---
 math/py-PuLP/files/patch-pulp_apis_core.py | 7 -------
 3 files changed, 8 insertions(+), 11 deletions(-)

diff --git a/math/py-PuLP/Makefile b/math/py-PuLP/Makefile
index ae2cde85bb2c..2048adc6be87 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 <bsd.port.mk>
diff --git a/math/py-PuLP/distinfo b/math/py-PuLP/distinfo
index daf041f9aa0a..46117392accd 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 e176f80d8e29..267541f62fab 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108160706.17G76cNm009178>