1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Update to Python 2.4.3.

This commit is contained in:
Hye-Shik Chang 2006-03-30 09:40:13 +00:00
parent ff72fdd8a1
commit 5c0873479e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=158415
9 changed files with 2458 additions and 5878 deletions

View File

@ -305,9 +305,9 @@ PYTHON_SUFFIX= 25
# Python-2.4
.elif ${PYTHON_VERSION} == "python2.4"
PYTHON_PORTVERSION?=2.4.2
PYTHON_PORTVERSION?=2.4.3
PYTHON_PORTSDIR= ${PORTSDIR}/lang/python
PYTHON_REL= 242
PYTHON_REL= 243
PYTHON_SUFFIX= 24
# Python-2.3

View File

@ -6,7 +6,7 @@
#
PORTNAME= python
PORTVERSION= 2.4.2
PORTVERSION= 2.4.3
CATEGORIES= lang python ipv6
MASTER_SITES= ${PYTHON_MASTER_SITES}
MASTER_SITE_SUBDIR= ${PYTHON_MASTER_SITE_SUBDIR}
@ -37,6 +37,12 @@ PLIST_SUB= PYVER=${PYTHON_VERSION:S/python//}
DEMODIR= ${PREFIX}/share/examples/${PYTHON_VERSION}
TOOLSDIR= ${PREFIX}/share/${PYTHON_VERSION}
.if !exists(/usr/bin/ypcat) # the world with NO_NIS
PLISTCAT= ${GREP} -v 'nis.so$$' ${PKGDIR}/pkg-plist
.else
PLISTCAT= ${CAT} ${PKGDIR}/pkg-plist
.endif
OPTIONS= THREADS "Enable thread support" on \
HUGE_STACK_SIZE "Use a larger thread stack" off \
UCS4 "Use UCS4 for unicode support" on \
@ -151,11 +157,6 @@ post-build:
${SETENV} ${MAKE_ENV} ${MAKE} lib${PYTHON_VERSION}.so python; \
${LN} -f lib${PYTHON_VERSION}.so lib${PYTHON_VERSION}.so.1; \
${LN} -f python ${PYTHON_VERSION:S/thon/thon-shared/}
.if !exists(/usr/bin/rpcgen) # the world with NO_NIS
${GREP} -v 'nis.so$$' ${PKGDIR}/pkg-plist > ${PLIST}
.else
${CP} ${PKGDIR}/pkg-plist ${PLIST}
.endif
pre-su-install:
.for platform in ${PLATFORMS}
@ -166,6 +167,11 @@ pre-su-install:
.endfor
.endfor
pre-install:
${PLISTCAT} | ${AWK} '{ print $$0; } \
/LIBDIR.*\.py$$/ && !/\/bad/ { print $$0 "o"; print $$0 "c"; }' \
> ${PLIST}
post-install:
@# shared version of executable and library
${INSTALL_PROGRAM} ${SHARED_WRKSRC}/lib${PYTHON_VERSION}.so.1 \

View File

@ -14,6 +14,7 @@ MD5 (python/Python-2.3.5.tgz) = 7a1ecc1196c5c0e9d4eef90ba684c4e9
MD5 (python/Python-2.3.tgz) = 595620a4769073a812e353597585c4e8
MD5 (python/Python-2.4.1.tgz) = 7bb2416a4f421c3452d306694d3efbba
MD5 (python/Python-2.4.2.tgz) = 07cfc759546f6723bb367be5b1ce9875
MD5 (python/Python-2.4.3.tgz) = edf994473a8c1a963aaa71e442b285b7
MD5 (python/Python-2.4.tgz) = 149ad508f936eccf669d52682cf8e606
MD5 (python/Python-2.5.a0.20050129.tgz) = bdf571f3e28c4793bedbd180611c28e6
MD5 (python/Python-2.5.a0.20050728.tgz) = 423c9ac2dbe3a754195e26652495aac3
@ -34,6 +35,7 @@ SHA256 (python/Python-2.3.5.tgz) = 7c122deff7700f04fb9daa5b5b3a885b19a73da05c2a2
SHA256 (python/Python-2.3.tgz) = 20ea7faad43e1993f5c9292c5864671cf9de68eda1a0579e6be7dc5428b3ff1e
SHA256 (python/Python-2.4.1.tgz) = f449c3b167389324c525ad99d02376c518ac11e163dbbbc13bc88a5c7101fd00
SHA256 (python/Python-2.4.2.tgz) = 2653e1846e87fd9b3ee287fefc965c80c54646548b4913a22265b0dd54493adf
SHA256 (python/Python-2.4.3.tgz) = 985a413932f5e31e6280b37da6b285a3a0b2748c6786643989ed9b23de97e2d5
SHA256 (python/Python-2.4.tgz) = ff746de0fae8691c082414b42a2bb172da8797e6e8ff66c9a39d2e452f7034e9
SHA256 (python/Python-2.5.a0.20050129.tgz) = 5cb5b2968146ff8d646cc59b88fcc530a2f51517f970ceca9c33accf33b683d9
SHA256 (python/Python-2.5.a0.20050728.tgz) = 176d76f6933879cac8ead7f50b847e53c894501ad491fab3ff1fcc3ca18e0056
@ -54,6 +56,7 @@ SIZE (python/Python-2.3.5.tgz) = 8535749
SIZE (python/Python-2.3.tgz) = 8436880
SIZE (python/Python-2.4.1.tgz) = 9219882
SIZE (python/Python-2.4.2.tgz) = 9239975
SIZE (python/Python-2.4.3.tgz) = 9348239
SIZE (python/Python-2.4.tgz) = 9198035
SIZE (python/Python-2.5.a0.20050129.tgz) = 9227299
SIZE (python/Python-2.5.a0.20050728.tgz) = 9280478

View File

@ -1,27 +0,0 @@
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/pystate.c,v
retrieving revision 2.38.2.3
retrieving revision 2.38.2.4
diff -u -r2.38.2.3 -r2.38.2.4
--- Python/pystate.c 2005/09/23 08:14:40 2.38.2.3
+++ Python/pystate.c 2005/09/30 08:17:40 2.38.2.4
@@ -53,7 +53,9 @@
PyThreadState *_PyThreadState_Current = NULL;
PyThreadFrameGetter _PyThreadState_GetFrame = NULL;
+#ifdef WITH_THREAD
static void _PyGILState_NoteThreadState(PyThreadState* tstate);
+#endif
PyInterpreterState *
@@ -188,7 +190,9 @@
tstate->c_profileobj = NULL;
tstate->c_traceobj = NULL;
+#ifdef WITH_THREAD
_PyGILState_NoteThreadState(tstate);
+#endif
HEAD_LOCK();
tstate->next = interp->tstate_head;

File diff suppressed because it is too large Load Diff

View File

@ -6,7 +6,7 @@
#
PORTNAME= python
PORTVERSION= 2.4.2
PORTVERSION= 2.4.3
CATEGORIES= lang python ipv6
MASTER_SITES= ${PYTHON_MASTER_SITES}
MASTER_SITE_SUBDIR= ${PYTHON_MASTER_SITE_SUBDIR}
@ -37,6 +37,12 @@ PLIST_SUB= PYVER=${PYTHON_VERSION:S/python//}
DEMODIR= ${PREFIX}/share/examples/${PYTHON_VERSION}
TOOLSDIR= ${PREFIX}/share/${PYTHON_VERSION}
.if !exists(/usr/bin/ypcat) # the world with NO_NIS
PLISTCAT= ${GREP} -v 'nis.so$$' ${PKGDIR}/pkg-plist
.else
PLISTCAT= ${CAT} ${PKGDIR}/pkg-plist
.endif
OPTIONS= THREADS "Enable thread support" on \
HUGE_STACK_SIZE "Use a larger thread stack" off \
UCS4 "Use UCS4 for unicode support" on \
@ -151,11 +157,6 @@ post-build:
${SETENV} ${MAKE_ENV} ${MAKE} lib${PYTHON_VERSION}.so python; \
${LN} -f lib${PYTHON_VERSION}.so lib${PYTHON_VERSION}.so.1; \
${LN} -f python ${PYTHON_VERSION:S/thon/thon-shared/}
.if !exists(/usr/bin/rpcgen) # the world with NO_NIS
${GREP} -v 'nis.so$$' ${PKGDIR}/pkg-plist > ${PLIST}
.else
${CP} ${PKGDIR}/pkg-plist ${PLIST}
.endif
pre-su-install:
.for platform in ${PLATFORMS}
@ -166,6 +167,11 @@ pre-su-install:
.endfor
.endfor
pre-install:
${PLISTCAT} | ${AWK} '{ print $$0; } \
/LIBDIR.*\.py$$/ && !/\/bad/ { print $$0 "o"; print $$0 "c"; }' \
> ${PLIST}
post-install:
@# shared version of executable and library
${INSTALL_PROGRAM} ${SHARED_WRKSRC}/lib${PYTHON_VERSION}.so.1 \

View File

@ -14,6 +14,7 @@ MD5 (python/Python-2.3.5.tgz) = 7a1ecc1196c5c0e9d4eef90ba684c4e9
MD5 (python/Python-2.3.tgz) = 595620a4769073a812e353597585c4e8
MD5 (python/Python-2.4.1.tgz) = 7bb2416a4f421c3452d306694d3efbba
MD5 (python/Python-2.4.2.tgz) = 07cfc759546f6723bb367be5b1ce9875
MD5 (python/Python-2.4.3.tgz) = edf994473a8c1a963aaa71e442b285b7
MD5 (python/Python-2.4.tgz) = 149ad508f936eccf669d52682cf8e606
MD5 (python/Python-2.5.a0.20050129.tgz) = bdf571f3e28c4793bedbd180611c28e6
MD5 (python/Python-2.5.a0.20050728.tgz) = 423c9ac2dbe3a754195e26652495aac3
@ -34,6 +35,7 @@ SHA256 (python/Python-2.3.5.tgz) = 7c122deff7700f04fb9daa5b5b3a885b19a73da05c2a2
SHA256 (python/Python-2.3.tgz) = 20ea7faad43e1993f5c9292c5864671cf9de68eda1a0579e6be7dc5428b3ff1e
SHA256 (python/Python-2.4.1.tgz) = f449c3b167389324c525ad99d02376c518ac11e163dbbbc13bc88a5c7101fd00
SHA256 (python/Python-2.4.2.tgz) = 2653e1846e87fd9b3ee287fefc965c80c54646548b4913a22265b0dd54493adf
SHA256 (python/Python-2.4.3.tgz) = 985a413932f5e31e6280b37da6b285a3a0b2748c6786643989ed9b23de97e2d5
SHA256 (python/Python-2.4.tgz) = ff746de0fae8691c082414b42a2bb172da8797e6e8ff66c9a39d2e452f7034e9
SHA256 (python/Python-2.5.a0.20050129.tgz) = 5cb5b2968146ff8d646cc59b88fcc530a2f51517f970ceca9c33accf33b683d9
SHA256 (python/Python-2.5.a0.20050728.tgz) = 176d76f6933879cac8ead7f50b847e53c894501ad491fab3ff1fcc3ca18e0056
@ -54,6 +56,7 @@ SIZE (python/Python-2.3.5.tgz) = 8535749
SIZE (python/Python-2.3.tgz) = 8436880
SIZE (python/Python-2.4.1.tgz) = 9219882
SIZE (python/Python-2.4.2.tgz) = 9239975
SIZE (python/Python-2.4.3.tgz) = 9348239
SIZE (python/Python-2.4.tgz) = 9198035
SIZE (python/Python-2.5.a0.20050129.tgz) = 9227299
SIZE (python/Python-2.5.a0.20050728.tgz) = 9280478

View File

@ -1,27 +0,0 @@
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/pystate.c,v
retrieving revision 2.38.2.3
retrieving revision 2.38.2.4
diff -u -r2.38.2.3 -r2.38.2.4
--- Python/pystate.c 2005/09/23 08:14:40 2.38.2.3
+++ Python/pystate.c 2005/09/30 08:17:40 2.38.2.4
@@ -53,7 +53,9 @@
PyThreadState *_PyThreadState_Current = NULL;
PyThreadFrameGetter _PyThreadState_GetFrame = NULL;
+#ifdef WITH_THREAD
static void _PyGILState_NoteThreadState(PyThreadState* tstate);
+#endif
PyInterpreterState *
@@ -188,7 +190,9 @@
tstate->c_profileobj = NULL;
tstate->c_traceobj = NULL;
+#ifdef WITH_THREAD
_PyGILState_NoteThreadState(tstate);
+#endif
HEAD_LOCK();
tstate->next = interp->tstate_head;

File diff suppressed because it is too large Load Diff