Date: Sun, 2 Feb 2014 11:23:00 +0200 (EET) From: Johannes Jost Meixner <xmj@chaot.net> To: FreeBSD-gnats-submit@freebsd.org Cc: xmj@chaot.net Subject: ports/186366: [MAINTAINER-UPDATE] science/py-pupynere: stagify, autoplist, remove easy_install Message-ID: <2137767997.enqueue@mx12.chaot.net> Resent-Message-ID: <201402020930.s129U1Bi050157@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 186366 >Category: ports >Synopsis: [MAINTAINER-UPDATE] science/py-pupynere: stagify, autoplist, remove easy_install >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Feb 02 09:30:01 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Johannes Jost Meixner >Release: FreeBSD 11.0-CURRENT amd64 >Organization: Goldener Grund OUe >Environment: System: FreeBSD mx12.chaot.net 11.0-CURRENT FreeBSD 11.0-CURRENT #0: Wed Jan 15 11:44:09 EET 2014 >Description: - Stagify. - Use PYDISTUTILS_AUTOPLIST, remove pkg-plist. - Kill easy_install with fire! - Replace files/patch-setup.py with Makefile post-patch REINPLACE_CMD. portlint: looks fine. testport: ok redports: https://redports.org/buildarchive/20140202085401-62237/ Generated with FreeBSD Port Tools 0.99_12 (mode: change, diff: ports) >How-To-Repeat: >Fix: --- py27-pupynere-1.0.15_2.patch begins here --- diff -ruN /usr/ports/science/py-pupynere/Makefile ./Makefile --- /usr/ports/science/py-pupynere/Makefile 2014-01-13 23:00:02.000000000 +0200 +++ ./Makefile 2014-02-02 10:45:31.000000000 +0200 @@ -1,9 +1,9 @@ # Created by: Johannes Meixner <xmj@chaot.net> -# $FreeBSD: science/py-pupynere/Makefile 339634 2014-01-13 21:00:02Z rene $ +# $FreeBSD: head/science/py-pupynere/Makefile 339634 2014-01-13 21:00:02Z rene $ PORTNAME= pupynere PORTVERSION= 1.0.15 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= science python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,11 +14,13 @@ LICENSE= MIT BUILD_DEPENDS= ${PYNUMPY} -RUN_DEPENDS= ${PYNUMPY} +RUN_DEPENDS:= ${BUILD_DEPENDS} USE_PYTHON= 2 -USE_PYDISTUTILS= easy_install -PYDISTUTILS_NOEGGINFO= yes +USE_PYDISTUTILS= yes +PYDISTUTILS_AUTOPLIST= yes + +post-patch: + ${REINPLACE_CMD} -e '/zip_safe/s/True/False/' ${WRKSRC}/setup.py -NO_STAGE= yes .include <bsd.port.mk> diff -ruN /usr/ports/science/py-pupynere/files/patch-setup.py ./files/patch-setup.py --- /usr/ports/science/py-pupynere/files/patch-setup.py 2013-09-02 14:27:42.000000000 +0300 +++ ./files/patch-setup.py 1970-01-01 03:00:00.000000000 +0300 @@ -1,11 +0,0 @@ ---- ./setup.py.orig 2013-06-20 10:29:51.598889219 +0300 -+++ ./setup.py 2013-06-20 10:30:03.628888237 +0300 -@@ -93,7 +93,7 @@ - license='MIT', - py_modules=['pupynere'], - include_package_data=True, -- zip_safe=True, -+ zip_safe=False, - test_suite = 'nose.collector', - install_requires=[ - 'numpy', diff -ruN /usr/ports/science/py-pupynere/pkg-plist ./pkg-plist --- /usr/ports/science/py-pupynere/pkg-plist 2013-09-02 14:27:42.000000000 +0300 +++ ./pkg-plist 1970-01-01 03:00:00.000000000 +0300 @@ -1,11 +0,0 @@ -%%PYTHON_SITELIBDIR%%/pupynere-1.0.15-py2.7.egg/EGG-INFO/PKG-INFO -%%PYTHON_SITELIBDIR%%/pupynere-1.0.15-py2.7.egg/EGG-INFO/SOURCES.txt -%%PYTHON_SITELIBDIR%%/pupynere-1.0.15-py2.7.egg/EGG-INFO/dependency_links.txt -%%PYTHON_SITELIBDIR%%/pupynere-1.0.15-py2.7.egg/EGG-INFO/not-zip-safe -%%PYTHON_SITELIBDIR%%/pupynere-1.0.15-py2.7.egg/EGG-INFO/requires.txt -%%PYTHON_SITELIBDIR%%/pupynere-1.0.15-py2.7.egg/EGG-INFO/top_level.txt -%%PYTHON_SITELIBDIR%%/pupynere-1.0.15-py2.7.egg/pupynere.py -%%PYTHON_SITELIBDIR%%/pupynere-1.0.15-py2.7.egg/pupynere.pyc -%%PYTHON_SITELIBDIR%%/pupynere-1.0.15-py2.7.egg/pupynere.pyo -@dirrmtry %%PYTHON_SITELIBDIR%%/pupynere-1.0.15-py2.7.egg/EGG-INFO -@dirrmtry %%PYTHON_SITELIBDIR%%/pupynere-1.0.15-py2.7.egg --- py27-pupynere-1.0.15_2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2137767997.enqueue>