aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-11-11 21:00:06 +0800
committerwg <wg@FreeBSD.org>2013-11-11 21:00:06 +0800
commit18091bd54e34e7f3a77c6b9586c2b5724c624feb (patch)
tree51dee1e0d39e4abc2121692e038780de8b2823fd /lang
parentf53255ba45a852e5f8943c3f3ea6e03c2a3a19df (diff)
downloadfreebsd-ports-gnome-18091bd54e34e7f3a77c6b9586c2b5724c624feb.tar.gz
freebsd-ports-gnome-18091bd54e34e7f3a77c6b9586c2b5724c624feb.tar.zst
freebsd-ports-gnome-18091bd54e34e7f3a77c6b9586c2b5724c624feb.zip
lang/python33: add support for freebsd11
PR: ports/183597
Diffstat (limited to 'lang')
-rw-r--r--lang/python33/Makefile6
-rw-r--r--lang/python33/files/patch-setup.py2
-rw-r--r--lang/python33/pkg-plist6
3 files changed, 11 insertions, 3 deletions
diff --git a/lang/python33/Makefile b/lang/python33/Makefile
index c3e316841b23..6fcf165aeebe 100644
--- a/lang/python33/Makefile
+++ b/lang/python33/Makefile
@@ -2,7 +2,7 @@
PORTNAME= python33
PORTVERSION= 3.3.2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= lang python ipv6
MASTER_SITES= PYTHON
MASTER_SITE_SUBDIR= ${PYTHON_MASTER_SITE_SUBDIR}
@@ -40,7 +40,7 @@ DATADIR= ${PREFIX}/share/${PYTHON_VERSION}
PLATFORMS= plat-freebsd4 plat-freebsd5 plat-freebsd6 \
plat-freebsd7 plat-freebsd8 plat-freebsd9 \
- plat-freebsd10
+ plat-freebsd10 plat-freebsd11
BIN_SCRIPTS= 2to3 idle3 pydoc3
BIN_FILES= python python-shared python-config python-shared-config \
@@ -112,6 +112,8 @@ pre-patch:
${PATCH_WRKSRC}/Lib/plat-freebsd9
${CP} -r ${PATCH_WRKSRC}/Lib/plat-freebsd8 \
${PATCH_WRKSRC}/Lib/plat-freebsd10
+ ${CP} -r ${PATCH_WRKSRC}/Lib/plat-freebsd8 \
+ ${PATCH_WRKSRC}/Lib/plat-freebsd11
${MKDIR} ${WRKSRC} ${SHARED_WRKSRC}/Modules
.for script in ${BIN_SCRIPTS}
${SED} -e '1s,^.*$$,#!${PREFIX}/bin/${PYTHON_VERSION},' \
diff --git a/lang/python33/files/patch-setup.py b/lang/python33/files/patch-setup.py
index 3ad8a8b70708..55d6d3fd1fa3 100644
--- a/lang/python33/files/patch-setup.py
+++ b/lang/python33/files/patch-setup.py
@@ -57,7 +57,7 @@
libraries = []
- elif host_platform in ('freebsd4', 'freebsd5', 'freebsd6', 'freebsd7', 'freebsd8'):
-+ elif host_platform in ('freebsd7', 'freebsd8', 'freebsd9', 'freebsd10'):
++ elif host_platform in ('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()
diff --git a/lang/python33/pkg-plist b/lang/python33/pkg-plist
index 0f0726b92ce3..9a90cbd47b14 100644
--- a/lang/python33/pkg-plist
+++ b/lang/python33/pkg-plist
@@ -2160,6 +2160,10 @@ libdata/pkgconfig/python-%%PYVER%%.pc
%%PYTHON_LIBDIR%%/plat-freebsd10/__pycache__/IN.cpython-33.pyc
%%PYTHON_LIBDIR%%/plat-freebsd10/__pycache__/IN.cpython-33.pyo
%%PYTHON_LIBDIR%%/plat-freebsd10/regen
+%%PYTHON_LIBDIR%%/plat-freebsd11/IN.py
+%%PYTHON_LIBDIR%%/plat-freebsd11/__pycache__/IN.cpython-33.pyc
+%%PYTHON_LIBDIR%%/plat-freebsd11/__pycache__/IN.cpython-33.pyo
+%%PYTHON_LIBDIR%%/plat-freebsd11/regen
%%PYTHON_LIBDIR%%/platform.py
%%PYTHON_LIBDIR%%/plistlib.py
%%PYTHON_LIBDIR%%/poplib.py
@@ -4561,6 +4565,8 @@ libdata/pkgconfig/python-%%PYVER%%.pc
@dirrm %%PYTHON_LIBDIR%%/plat-freebsd9
@dirrm %%PYTHON_LIBDIR%%/plat-freebsd10/__pycache__
@dirrm %%PYTHON_LIBDIR%%/plat-freebsd10
+@dirrm %%PYTHON_LIBDIR%%/plat-freebsd11/__pycache__
+@dirrm %%PYTHON_LIBDIR%%/plat-freebsd11
@dirrm %%PYTHON_LIBDIR%%/pydoc_data/__pycache__
@dirrm %%PYTHON_LIBDIR%%/pydoc_data
@dirrm %%PYTHON_LIBDIR%%/site-packages