From owner-svn-ports-all@freebsd.org Tue Jun 16 01:58:10 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2A77B34A3D9; Tue, 16 Jun 2020 01:58:10 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49mBDf0P6Jz47C7; Tue, 16 Jun 2020 01:58:10 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0490627499; Tue, 16 Jun 2020 01:58:10 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 05G1w9ZB066682; Tue, 16 Jun 2020 01:58:09 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 05G1w9Sb066679; Tue, 16 Jun 2020 01:58:09 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <202006160158.05G1w9Sb066679@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Tue, 16 Jun 2020 01:58:09 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/math/py-PuLP: . files X-SVN-Commit-Revision: 539312 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2020 01:58:10 -0000 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 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