Date: Mon, 24 Mar 2014 01:56:36 +0200 (EET) From: Johannes Jost Meixner <xmj@chaot.net> To: FreeBSD-gnats-submit@freebsd.org Cc: dikshie@sfc.wide.ad.jp, xmj@chaot.net Subject: ports/187882: [PATCH] math/py-networkx: Deprecate easy_install, NOPORTEXAMPLES, License Message-ID: <17678874146142751533.enqueue@mx12.chaot.net> Resent-Message-ID: <201403240000.s2O003NQ081001@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 187882 >Category: ports >Synopsis: [PATCH] math/py-networkx: Deprecate easy_install, NOPORTEXAMPLES, License >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Mar 24 00:00:03 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 #6: Wed Mar 19 11:02:48 EET 2014 >Description: - easy_install must die. Kill with fire. - Deprecate installation via setup_egg.py over native setup.py with setuptools. - Add EXAMPLES knob - Use shebangfix. Port maintainer (dikshie@sfc.wide.ad.jp) is cc'd. Generated with FreeBSD Port Tools 1.00.2014.03.22 (mode: change, diff: SVN) >How-To-Repeat: >Fix: --- py-networkx-1.8.1.patch begins here --- Index: Makefile =================================================================== --- Makefile (revision 348905) +++ Makefile (working copy) @@ -9,23 +9,26 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= dikshie@sfc.wide.ad.jp -COMMENT= Tools for complex network +COMMENT= Tools for complex networks +LICENSE= BSD3CLAUSE + USE_PYTHON= yes -USE_PYDISTUTILS=easy_install -PYTHON_PY3K_PLIST_HACK=yes -PYSETUP= setup_egg.py +USE_PYDISTUTILS= yes +PYDISTUTILS_AUTOPLIST= yes + PLIST_SUB+= PYTHON_MAJOR_VER=${PYTHON_MAJOR_VER} -NO_STAGE= yes +OPTIONS_DEFINE= EXAMPLES +EXAMPLESDIR= ${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME} + +USES= shebangfix + +.include <bsd.port.options.mk> + post-install: -.if !defined(NOPORTEXAMPLES) - ${MKDIR} ${EXAMPLESDIR} - cd ${WRKSRC}/examples \ - && ${FIND} . -type d -exec ${MKDIR} ${EXAMPLESDIR}/\{} \; \ - && ${FIND} . -type f -exec ${INSTALL_DATA} \{} ${EXAMPLESDIR}/\{} \; -.endif - + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLEDIR} @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> --- py-networkx-1.8.1.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?17678874146142751533.enqueue>