Date: Thu, 11 Feb 2010 23:42:07 GMT From: Garrett Cooper <gcooper@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/143826: plist cleanup for devel/py-configobj Message-ID: <201002112342.o1BNg7BC057536@www.freebsd.org> Resent-Message-ID: <201002112350.o1BNo3fb097044@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 143826 >Category: ports >Synopsis: plist cleanup for devel/py-configobj >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 11 23:50:02 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Garrett Cooper >Release: RELENG_8 >Organization: Cisco Systems, Inc >Environment: FreeBSD garrcoop-fbsd.cisco.com 8.0-STABLE FreeBSD 8.0-STABLE #2: Wed Feb 3 16:57:07 PST 2010 garrcoop@garrcoop-fbsd.cisco.com:/usr/obj/usr/src/sys/LAPPY_X86 i386 >Description: Byte-compiled and optimized python files should not be released with packages because of a) potential __file__, and other built-in variable caching issues, b) it bloats the package unnecessarily with very little benefit, c) it lengthens the plist and thus increases the required work being done by pkg_install(1). >How-To-Repeat: n/a >Fix: See attached patch. Patch attached with submission follows: ? work Index: pkg-plist =================================================================== RCS file: /usr/local/cvsroot/freebsd/ports/devel/py-configobj/pkg-plist,v retrieving revision 1.4 diff -u -r1.4 pkg-plist --- pkg-plist 28 May 2009 12:57:58 -0000 1.4 +++ pkg-plist 11 Feb 2010 23:35:45 -0000 @@ -1,10 +1,7 @@ @comment $FreeBSD$ %%PYTHON_SITELIBDIR%%/configobj.py -%%PYTHON_SITELIBDIR%%/configobj.pyc -%%PYTHON_SITELIBDIR%%/configobj.pyo %%PYTHON_SITELIBDIR%%/validate.py -%%PYTHON_SITELIBDIR%%/validate.pyc -%%PYTHON_SITELIBDIR%%/validate.pyo +@unexec find %%PREFIX%%/%%PYTHON_SITELIBDIR%% -name 'configobj.py[co]' -or -name 'validate.py[co]' | xargs rm -f %%PORTDOCS%%%%DOCSDIR%%/configobj.html %%PORTDOCS%%%%DOCSDIR%%/images/PythonPowered.png %%PORTDOCS%%%%DOCSDIR%%/images/new_python.gif >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002112342.o1BNg7BC057536>