Date: Tue, 16 Jun 2020 01:58:09 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r539312 - in head/math/py-PuLP: . files Message-ID: <202006160158.05G1w9Sb066679@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Tue Jun 16 01:58:09 2020 New Revision: 539312 URL: https://svnweb.freebsd.org/changeset/ports/539312 Log: math/py-PuLP: Update 1.6.10 -> 2.1 Added: head/math/py-PuLP/files/patch-pulp_apis_core.py (contents, props changed) Deleted: head/math/py-PuLP/files/patch-src_pulp_solvers.py Modified: head/math/py-PuLP/Makefile head/math/py-PuLP/distinfo Modified: head/math/py-PuLP/Makefile ============================================================================== --- head/math/py-PuLP/Makefile Tue Jun 16 01:52:13 2020 (r539311) +++ head/math/py-PuLP/Makefile Tue Jun 16 01:58:09 2020 (r539312) @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= PuLP -DISTVERSION= 1.6.10 -PORTREVISION= 1 +DISTVERSION= 2.1 CATEGORIES= math python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -17,12 +16,13 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyparsing>=2.0.1:d cbc:math/cbc \ glpsol:math/glpk -USES= python zip +USES= python USE_PYTHON= distutils concurrent autoplist + NO_ARCH= yes post-patch: - @${CP} ${WRKSRC}/src/pulp/pulp.cfg.linux ${WRKSRC}/src/pulp/pulp.cfg.freebsd - @${REINPLACE_CMD} -E 's/^(CplexPath|PulpCbcPath) = .*/#&/' ${WRKSRC}/src/pulp/pulp.cfg.freebsd + @${CP} ${WRKSRC}/pulp/pulp.cfg.linux ${WRKSRC}/pulp/pulp.cfg.freebsd + @${REINPLACE_CMD} -E 's/^(CplexPath|PulpCbcPath) = .*/#&/' ${WRKSRC}/pulp/pulp.cfg.freebsd .include <bsd.port.mk> Modified: head/math/py-PuLP/distinfo ============================================================================== --- head/math/py-PuLP/distinfo Tue Jun 16 01:52:13 2020 (r539311) +++ head/math/py-PuLP/distinfo Tue Jun 16 01:58:09 2020 (r539312) @@ -1,3 +1,3 @@ -TIMESTAMP = 1560469460 -SHA256 (PuLP-1.6.10.zip) = dd2ba8afbf12a811e03a0e87f248539a5b9500e27600abfc0684eb827b7d7a32 -SIZE (PuLP-1.6.10.zip) = 13622386 +TIMESTAMP = 1592272414 +SHA256 (PuLP-2.1.tar.gz) = 76f9c9f984e6e407959545a556ce10c6cc0fdb0db820d627f0073ecf4f5c5c1b +SIZE (PuLP-2.1.tar.gz) = 1390238 Added: head/math/py-PuLP/files/patch-pulp_apis_core.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-PuLP/files/patch-pulp_apis_core.py Tue Jun 16 01:58:09 2020 (r539312) @@ -0,0 +1,19 @@ +--- pulp/apis/core.py.orig 2020-06-16 01:55:06 UTC ++++ pulp/apis/core.py +@@ -149,6 +149,9 @@ elif sys.platform in ['darwin']: + operating_system = "osx" + arch = '64' + PULPCFGFILE += ".osx" ++elif sys.platform in ['freebsd']: ++ operating_system = "freebsd" ++ PULPCFGFILE += ".freebsd" + 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?202006160158.05G1w9Sb066679>