summaryrefslogtreecommitdiffstats
path: root/lang/python27
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2006-09-13 16:26:49 +0000
committerperky <perky@FreeBSD.org>2006-09-13 16:26:49 +0000
commitc7363cb05e10da956e2376ff932fee94aac656d3 (patch)
tree67a3b626f80c46e465babdab6fa6878527fff769 /lang/python27
parent642b5c1160fcc26999a34b777c3cde9d69dc3129 (diff)
downloadFreeBSD-ports-c7363cb05e10da956e2376ff932fee94aac656d3.zip
FreeBSD-ports-c7363cb05e10da956e2376ff932fee94aac656d3.tar.gz
- Update lang/python-devel to Python 2.5c2
- Sync some recent workarounds from lang/python.
Diffstat (limited to 'lang/python27')
-rw-r--r--lang/python27/Makefile23
-rw-r--r--lang/python27/distinfo6
-rw-r--r--lang/python27/pkg-plist3
3 files changed, 22 insertions, 10 deletions
diff --git a/lang/python27/Makefile b/lang/python27/Makefile
index 5fe7a87..01f4de5 100644
--- a/lang/python27/Makefile
+++ b/lang/python27/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= python
-PORTVERSION= 2.5.b3
+PORTVERSION= 2.5.c2
CATEGORIES= lang python ipv6
MASTER_SITES= ${PYTHON_MASTER_SITES}
MASTER_SITE_SUBDIR= ${PYTHON_MASTER_SITE_SUBDIR}
@@ -32,13 +32,18 @@ PYTHON_NO_DEPENDS= yes
LATEST_LINK= ${PYTHON_VERSION:S/.//}
SHARED_WRKSRC= ${PYTHON_WRKSRC}/portbld.shared
+PLIST= ${WRKDIR}/PLIST
+PLIST_TEMPLATE= ${PKGDIR}/pkg-plist
PLIST_SUB= PYVER=${PYTHON_VERSION:S/python//} \
- PYVER_WITHPAT=${PORTVERSION:S/.b/b/}
+ PYVER_WITHPAT=${PORTVERSION:S/.c/c/}
DEMODIR= ${PREFIX}/share/examples/${PYTHON_VERSION}
TOOLSDIR= ${PREFIX}/share/${PYTHON_VERSION}
-PLIST= ${WRKDIR}/PLIST
-PLIST_TEMPLATE= ${PKGDIR}/pkg-plist
+.if !exists(/usr/bin/ypcat) # the world with NO_NIS
+PLIST_EXCLUDE= 'nis.so$$'
+.else
+PLIST_EXCLUDE= '^$$' # nothing
+.endif
OPTIONS= THREADS "Enable thread support" on \
HUGE_STACK_SIZE "Use a larger thread stack" off \
@@ -143,6 +148,10 @@ pre-patch:
${SED} -e 's|^#!.*|#!${PREFIX}/bin/${PYTHON_VERSION:S/thon/thon-shared/}|' \
${PATCH_WRKSRC}/Misc/python-config.in > ${WRKDIR}/${PYTHON_VERSION:S/thon/thon-shared/}-config
+.if defined(WITH_FPECTL) && ${ARCH} == i386
+ ${ECHO} "fpectl fpectlmodule.c" >> ${WRKSRC}/Modules/Setup.dist
+.endif
+
post-configure:
${TAR} -C ${WRKSRC} -cf - . | ${TAR} -C ${SHARED_WRKSRC} -xf -
${LN} -sf ${PYTHON_WRKSRC}/Lib ${WRKSRC}/Lib
@@ -170,9 +179,9 @@ pre-su-install:
.endfor
pre-install:
- ${AWK} '{ print $$0; } \
- /LIBDIR.*\.py$$/ && !/\/bad/ { print $$0 "o"; print $$0 "c"; }' \
- ${PLIST_TEMPLATE} > ${PLIST}
+ ${EGREP} -v ${PLIST_EXCLUDE} ${PLIST_TEMPLATE} | \
+ ${AWK} '{ print $$0; } \
+ /LIBDIR.*\.py$$/ && !/\/bad/ { print $$0 "o"; print $$0 "c"; }' > ${PLIST}
@# if openssl 0.9.8 is detected, _sha{256,512} module won't be installed
([ -f ${WRKSRC}/.without_own_sha ] && \
diff --git a/lang/python27/distinfo b/lang/python27/distinfo
index c416d7e..2beba3f 100644
--- a/lang/python27/distinfo
+++ b/lang/python27/distinfo
@@ -1,3 +1,3 @@
-MD5 (python/Python-2.5b3.tgz) = fb00a933b84cbc938802278d59e858f6
-SHA256 (python/Python-2.5b3.tgz) = 04879950d9f0a82f702b75ac37f2f2ed7828235eeebc297564297cd36c6ac811
-SIZE (python/Python-2.5b3.tgz) = 10998345
+MD5 (python/Python-2.5c2.tgz) = 32b56940c90844eba605d5d2dad683d2
+SHA256 (python/Python-2.5c2.tgz) = d11d9fbab8db33f3f0862de51bbd1ff36b67f9cf29874c6481be26a33c36a503
+SIZE (python/Python-2.5c2.tgz) = 11021626
diff --git a/lang/python27/pkg-plist b/lang/python27/pkg-plist
index 09d311a..6526f34 100644
--- a/lang/python27/pkg-plist
+++ b/lang/python27/pkg-plist
@@ -202,6 +202,7 @@ lib/lib%%PYTHON_VERSION%%.so.1
%%PYTHON_LIBDIR%%/ctypes/test/test_anon.py
%%PYTHON_LIBDIR%%/ctypes/test/test_array_in_pointer.py
%%PYTHON_LIBDIR%%/ctypes/test/test_arrays.py
+%%PYTHON_LIBDIR%%/ctypes/test/test_as_parameter.py
%%PYTHON_LIBDIR%%/ctypes/test/test_bitfields.py
%%PYTHON_LIBDIR%%/ctypes/test/test_buffers.py
%%PYTHON_LIBDIR%%/ctypes/test/test_byteswap.py
@@ -914,6 +915,7 @@ lib/lib%%PYTHON_VERSION%%.so.1
%%PYTHON_LIBDIR%%/test/reperf.py
%%PYTHON_LIBDIR%%/test/sample_doctest.py
%%PYTHON_LIBDIR%%/test/seq_tests.py
+%%PYTHON_LIBDIR%%/test/sgml_input.html
%%PYTHON_LIBDIR%%/test/sortperf.py
%%PYTHON_LIBDIR%%/test/string_tests.py
%%PYTHON_LIBDIR%%/test/test.xml
@@ -935,6 +937,7 @@ lib/lib%%PYTHON_VERSION%%.so.1
%%PYTHON_LIBDIR%%/test/test_augassign.py
%%PYTHON_LIBDIR%%/test/test_base64.py
%%PYTHON_LIBDIR%%/test/test_bastion.py
+%%PYTHON_LIBDIR%%/test/test_bigaddrspace.py
%%PYTHON_LIBDIR%%/test/test_bigmem.py
%%PYTHON_LIBDIR%%/test/test_binascii.py
%%PYTHON_LIBDIR%%/test/test_binhex.py
OpenPOWER on IntegriCloud