Date: Sat, 2 Nov 2013 18:07:59 GMT From: Alberto Villa <avilla@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/183597: [patch] lang/python27 (and others): fix plist on 11.0-CURRENT Message-ID: <201311021807.rA2I7xUB081947@oldred.freebsd.org> Resent-Message-ID: <201311021810.rA2IA2Qv057518@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 183597 >Category: ports >Synopsis: [patch] lang/python27 (and others): fix plist on 11.0-CURRENT >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: Sat Nov 02 18:10:02 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Alberto Villa >Release: FreeBSD 11.0-CURRENT amd64 (jailed) >Organization: >Environment: FreeBSD black.smith 10.0-ALPHA5 FreeBSD 10.0-ALPHA5 #0: Thu Oct 10 11:04:43 CEST 2013 root@indiana.smith:/usr/obj/usr/src/sys/HPDV6 amd64 >Description: Python ports don't support FreeBSD 11 in setup.py yet. >How-To-Repeat: Test port with poudriere in an 11 jail. >Fix: The attached patch probably must be replicated for the other Python ports. Patch attached with submission follows: Index: /usr/ports/lang/python27/Makefile =================================================================== --- /usr/ports/lang/python27/Makefile (revision 332438) +++ /usr/ports/lang/python27/Makefile (working copy) @@ -3,7 +3,7 @@ PORTNAME= python27 PORTVERSION= 2.7.5 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= lang python ipv6 MASTER_SITES= PYTHON MASTER_SITE_SUBDIR= ${PYTHON_MASTER_SITE_SUBDIR} Index: /usr/ports/lang/python27/files/patch-setup.py =================================================================== --- /usr/ports/lang/python27/files/patch-setup.py (revision 332438) +++ /usr/ports/lang/python27/files/patch-setup.py (working copy) @@ -73,7 +73,7 @@ libraries = [] - elif host_platform in ('freebsd4', 'freebsd5', 'freebsd6', 'freebsd7', 'freebsd8'): -+ elif host_platform in ('freebsd4', 'freebsd5', 'freebsd6', 'freebsd7', 'freebsd8', 'freebsd9', 'freebsd10'): ++ elif host_platform in ('freebsd4', 'freebsd5', 'freebsd6', 'freebsd7', 'freebsd8', 'freebsd9', 'freebsd10', 'freebsd11'): # FreeBSD's P1003.1b semaphore support is very experimental # and has many known problems. (as of June 2008) macros = dict() @@ -82,7 +82,7 @@ if (host_platform in ('linux2', 'freebsd4', 'freebsd5', 'freebsd6', - 'freebsd7', 'freebsd8') -+ 'freebsd7', 'freebsd8', 'freebsd9', 'freebsd10') ++ 'freebsd7', 'freebsd8', 'freebsd9', 'freebsd10', 'freebsd11') or host_platform.startswith("gnukfreebsd")): exts.append( Extension('ossaudiodev', ['ossaudiodev.c']) ) else: Index: /usr/ports/lang/python27/pkg-plist =================================================================== --- /usr/ports/lang/python27/pkg-plist (revision 332438) +++ /usr/ports/lang/python27/pkg-plist (working copy) @@ -985,6 +985,8 @@ %%PYTHON_LIBDIR%%/plat-freebsd9/regen %%PYTHON_LIBDIR%%/plat-freebsd10/IN.py %%PYTHON_LIBDIR%%/plat-freebsd10/regen +%%PYTHON_LIBDIR%%/plat-freebsd11/IN.py +%%PYTHON_LIBDIR%%/plat-freebsd11/regen %%PYTHON_LIBDIR%%/platform.py %%PYTHON_LIBDIR%%/plistlib.py %%PYTHON_LIBDIR%%/popen2.py @@ -2376,6 +2378,7 @@ @dirrm %%PYTHON_LIBDIR%%/sqlite3 @dirrm %%PYTHON_LIBDIR%%/site-packages @dirrm %%PYTHON_LIBDIR%%/pydoc_data +@dirrm %%PYTHON_LIBDIR%%/plat-freebsd11 @dirrm %%PYTHON_LIBDIR%%/plat-freebsd10 @dirrm %%PYTHON_LIBDIR%%/plat-freebsd9 @dirrm %%PYTHON_LIBDIR%%/plat-freebsd8 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311021807.rA2I7xUB081947>