From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Mar 24 00:00:04 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 25736F03 for ; Mon, 24 Mar 2014 00:00:04 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 02734646 for ; Mon, 24 Mar 2014 00:00:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2O003g8081002 for ; Mon, 24 Mar 2014 00:00:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2O003NQ081001; Mon, 24 Mar 2014 00:00:03 GMT (envelope-from gnats) Resent-Date: Mon, 24 Mar 2014 00:00:03 GMT Resent-Message-Id: <201403240000.s2O003NQ081001@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Johannes Jost Meixner Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5FB84E4F for ; Sun, 23 Mar 2014 23:56:39 +0000 (UTC) Received: from dd16522.kasserver.com (dd16522.kasserver.com [85.13.137.124]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 235A1623 for ; Sun, 23 Mar 2014 23:56:38 +0000 (UTC) Received: from mx12.chaot.net (82.131.59.205.cable.starman.ee [82.131.59.205]) by dd16522.kasserver.com (Postfix) with ESMTPSA id 4BA298D4014; Mon, 24 Mar 2014 00:56:37 +0100 (CET) Received: from localhost (1003@localhost [local]); by localhost (OpenSMTPD) with ESMTPA id 12812c1f; Mon, 24 Mar 2014 01:56:36 +0200 (EET) Message-Id: <17678874146142751533.enqueue@mx12.chaot.net> Date: Mon, 24 Mar 2014 01:56:36 +0200 (EET) From: Johannes Jost Meixner To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/187882: [PATCH] math/py-networkx: Deprecate easy_install, NOPORTEXAMPLES, License Cc: dikshie@sfc.wide.ad.jp, xmj@chaot.net X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Mar 2014 00:00:04 -0000 >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 + 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 --- py-networkx-1.8.1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: