Date: Fri, 29 Dec 2006 20:15:18 GMT From: Li-Wen Hsu <lwhsu@lwhsu.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: gnn@FreeBSD.org, lwhsu@lwhsu.org Subject: ports/107337: [PATCH] net/py-pypcap: Use PYTHON_SITELIBDIR Message-ID: <200612292015.kBTKFIsC082701@jail0.lwhsu.csie.net> Resent-Message-ID: <200612292020.kBTKKLud065693@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 107337 >Category: ports >Synopsis: [PATCH] net/py-pypcap: Use PYTHON_SITELIBDIR >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: Fri Dec 29 20:20:20 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Li-Wen Hsu >Release: FreeBSD 6.2-PRERELEASE i386 >Organization: >Environment: System: FreeBSD jail0.lwhsu.csie.net 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Wed Dec 6 11:34:36 CST >Description: - Use PYTHON_SITELIBDIR, for the user with PYTHON_VERSION != 2.4 - Move plist into Makefile I am not sure if we should increase PORTREVISION in this case, since we are unable to build package with PYTHON_VERSION != 2.4, and the package will not change with PYTHON_VERSION == 2.4. Removed file(s): - pkg-plist Port maintainer (gnn@freebsd.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- py24-pypcap-1.1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/net/py-pypcap/Makefile /home/lwhsu/ports/net/py-pypcap/Makefile --- /usr/ports/net/py-pypcap/Makefile Thu Jul 20 12:21:37 2006 +++ /home/lwhsu/ports/net/py-pypcap/Makefile Fri Dec 29 19:59:26 2006 @@ -19,6 +19,8 @@ USE_PYTHON= yes USE_PYTHON_PREFIX= yes +PLIST_FILES= %%PYTHON_SITELIBDIR%%/pcap.so + post-patch: ${RM} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/pcap.c .include <bsd.port.mk> diff -ruN --exclude=CVS /usr/ports/net/py-pypcap/pkg-plist /home/lwhsu/ports/net/py-pypcap/pkg-plist --- /usr/ports/net/py-pypcap/pkg-plist Thu Jul 20 12:21:37 2006 +++ /home/lwhsu/ports/net/py-pypcap/pkg-plist Thu Jan 1 00:00:00 1970 @@ -1 +0,0 @@ -lib/python2.4/site-packages/pcap.so --- py24-pypcap-1.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?200612292015.kBTKFIsC082701>