[Midnightbsd-cvs] mports: lang/python23: Update to 2.3.7.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri Apr 18 17:33:22 EDT 2008


Log Message:
-----------
Update to 2.3.7.  Remove freebsd cruft

Modified Files:
--------------
    mports/lang/python23:
        Makefile (r1.3 -> r1.4)
        distinfo (r1.1 -> r1.2)
        pkg-plist (r1.1 -> r1.2)

Removed Files:
-------------
    mports/lang/python23/files:
        patch-Lib::distutils::spawn.py
        patch-Lib::email::Charset.py

-------------- next part --------------
Index: pkg-plist
===================================================================
RCS file: /home/cvs/mports/lang/python23/pkg-plist,v
retrieving revision 1.1
retrieving revision 1.2
diff -L lang/python23/pkg-plist -L lang/python23/pkg-plist -u -r1.1 -r1.2
--- lang/python23/pkg-plist
+++ lang/python23/pkg-plist
@@ -1376,22 +1376,10 @@
 lib/%%PYTHON_VERSION%%/pkgutil.py
 lib/%%PYTHON_VERSION%%/pkgutil.pyc
 lib/%%PYTHON_VERSION%%/pkgutil.pyo
-lib/%%PYTHON_VERSION%%/plat-freebsd4/IN.py
-lib/%%PYTHON_VERSION%%/plat-freebsd4/IN.pyc
-lib/%%PYTHON_VERSION%%/plat-freebsd4/IN.pyo
-lib/%%PYTHON_VERSION%%/plat-freebsd4/regen
-lib/%%PYTHON_VERSION%%/plat-freebsd5/IN.py
-lib/%%PYTHON_VERSION%%/plat-freebsd5/IN.pyc
-lib/%%PYTHON_VERSION%%/plat-freebsd5/IN.pyo
-lib/%%PYTHON_VERSION%%/plat-freebsd5/regen
 lib/%%PYTHON_VERSION%%/plat-midnightbsd0/IN.py
 lib/%%PYTHON_VERSION%%/plat-midnightbsd0/IN.pyc
 lib/%%PYTHON_VERSION%%/plat-midnightbsd0/IN.pyo
 lib/%%PYTHON_VERSION%%/plat-midnightbsd0/regen
-lib/%%PYTHON_VERSION%%/plat-freebsd7/IN.py
-lib/%%PYTHON_VERSION%%/plat-freebsd7/IN.pyc
-lib/%%PYTHON_VERSION%%/plat-freebsd7/IN.pyo
-lib/%%PYTHON_VERSION%%/plat-freebsd7/regen
 lib/%%PYTHON_VERSION%%/platform.py
 lib/%%PYTHON_VERSION%%/platform.pyc
 lib/%%PYTHON_VERSION%%/platform.pyo
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/lang/python23/Makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -L lang/python23/Makefile -L lang/python23/Makefile -u -r1.3 -r1.4
--- lang/python23/Makefile
+++ lang/python23/Makefile
@@ -7,8 +7,7 @@
 #
 
 PORTNAME=	python
-PORTVERSION=	2.3.5
-PORTREVISION=	1
+PORTVERSION=	2.3.7
 CATEGORIES=	lang python ipv6
 MASTER_SITES=	${PYTHON_MASTER_SITES}
 MASTER_SITE_SUBDIR=	${PYTHON_MASTER_SITE_SUBDIR}
@@ -92,8 +91,6 @@
 CONFIGURE_ARGS+= --disable-ipv6
 .endif
 
-PLATFORMS=plat-freebsd4 plat-freebsd5 plat-freebsd7
-
 post-extract:
 	${SED} -e '1s,^.*$$,#!${PREFIX}/bin/${PYTHON_VERSION},' \
 		${WRKSRC}/Tools/scripts/pydoc > ${WRKDIR}/pydoc2.3
@@ -137,15 +134,6 @@
 	${LN} -f lib${PYTHON_VERSION}.so lib${PYTHON_VERSION}.so.1; \
 	${LN} -f python ${PYTHON_VERSION:S/thon/thon-shared/}
 
-pre-su-install:
-.for platform in ${PLATFORMS}
-	${MKDIR} ${PYTHONPREFIX_LIBDIR}/${platform}
-.for file in IN.py regen
-	${INSTALL_DATA} ${WRKSRC}/Lib/${platform}/${file} \
-		${PYTHONPREFIX_LIBDIR}/${platform}/
-.endfor
-.endfor
-
 post-install:
 	@# shared version of executable and library
 	${INSTALL_PROGRAM} ${SHARED_WRKSRC}/lib${PYTHON_VERSION}.so.1 \
Index: distinfo
===================================================================
RCS file: /home/cvs/mports/lang/python23/distinfo,v
retrieving revision 1.1
retrieving revision 1.2
diff -L lang/python23/distinfo -L lang/python23/distinfo -u -r1.1 -r1.2
--- lang/python23/distinfo
+++ lang/python23/distinfo
@@ -1,3 +1,3 @@
-MD5 (python/Python-2.3.5.tgz) = 7a1ecc1196c5c0e9d4eef90ba684c4e9
-SHA256 (python/Python-2.3.5.tgz) = 7c122deff7700f04fb9daa5b5b3a885b19a73da05c2a264403666817c7631977
-SIZE (python/Python-2.3.5.tgz) = 8535749
+MD5 (python/Python-2.3.7.tgz) = 0b4861edfaa6d8451458d5d7ed735e4a
+SHA256 (python/Python-2.3.7.tgz) = 969a9891dce9f50b13e54f9890acaf2be66715a5895bf9b11111f320c205b90e
+SIZE (python/Python-2.3.7.tgz) = 8694077
--- lang/python23/files/patch-Lib::distutils::spawn.py
+++ /dev/null
@@ -1,17 +0,0 @@
---- Lib/distutils/spawn.py.orig	Tue Feb 24 16:55:44 2004
-+++ Lib/distutils/spawn.py	Tue Feb 24 16:56:01 2004
-@@ -144,7 +144,13 @@
-         # Loop until the child either exits or is terminated by a signal
-         # (ie. keep waiting if it's merely stopped)
-         while 1:
--            (pid, status) = os.waitpid(pid, 0)
-+            try:
-+                (pid, status) = os.waitpid(pid, 0)
-+            except OSError, exc:
-+                import errno
-+                if exc.errno == errno.EINTR:
-+                    continue
-+                raise exc
-             if os.WIFSIGNALED(status):
-                 raise DistutilsExecError, \
-                       "command '%s' terminated by signal %d" % \
--- lang/python23/files/patch-Lib::email::Charset.py
+++ /dev/null
@@ -1,23 +0,0 @@
---- Lib/email/Charset.py.orig	Sat Dec 20 15:16:29 2003
-+++ Lib/email/Charset.py	Sat Dec 20 15:16:54 2003
-@@ -99,13 +99,13 @@
- # of stability and useability.
- 
- CODEC_MAP = {
--    'euc-jp':      'japanese.euc-jp',
--    'iso-2022-jp': 'japanese.iso-2022-jp',
--    'shift_jis':   'japanese.shift_jis',
--    'euc-kr':      'korean.euc-kr',
--    'ks_c_5601-1987': 'korean.cp949',
--    'iso-2022-kr': 'korean.iso-2022-kr',
--    'johab':       'korean.johab',
-+    'euc-jp':      'euc-jp',
-+    'iso-2022-jp': 'iso-2022-jp',
-+    'shift_jis':   'shift_jis',
-+    'euc-kr':      'euc-kr',
-+    'ks_c_5601-1987': 'cp949',
-+    'iso-2022-kr': 'iso-2022-kr',
-+    'johab':       'johab',
-     'gb2132':      'eucgb2312_cn',
-     'big5':        'big5_tw',
-     'utf-8':       'utf-8',


More information about the Midnightbsd-cvs mailing list