Index: head/math/py-PuLP/Makefile =================================================================== --- head/math/py-PuLP/Makefile (revision 539311) +++ head/math/py-PuLP/Makefile (revision 539312) @@ -1,28 +1,28 @@ # $FreeBSD$ PORTNAME= PuLP -DISTVERSION= 1.6.10 -PORTREVISION= 1 +DISTVERSION= 2.1 CATEGORIES= math python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= LP modeler written in python LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyparsing>=2.0.1:devel/py-pyparsing@${PY_FLAVOR} \ 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 Index: head/math/py-PuLP/distinfo =================================================================== --- head/math/py-PuLP/distinfo (revision 539311) +++ head/math/py-PuLP/distinfo (revision 539312) @@ -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 Index: head/math/py-PuLP/files/patch-src_pulp_solvers.py =================================================================== --- head/math/py-PuLP/files/patch-src_pulp_solvers.py (revision 539311) +++ head/math/py-PuLP/files/patch-src_pulp_solvers.py (nonexistent) @@ -1,12 +0,0 @@ ---- src/pulp/solvers.py.orig 2017-07-16 22:25:50 UTC -+++ src/pulp/solvers.py -@@ -135,6 +135,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" Property changes on: head/math/py-PuLP/files/patch-src_pulp_solvers.py ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/math/py-PuLP/files/patch-pulp_apis_core.py =================================================================== --- head/math/py-PuLP/files/patch-pulp_apis_core.py (nonexistent) +++ head/math/py-PuLP/files/patch-pulp_apis_core.py (revision 539312) @@ -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 Property changes on: head/math/py-PuLP/files/patch-pulp_apis_core.py ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property