[58886] trunk/dports/python/py26-setuptools
blb at macports.org
blb at macports.org
Tue Oct 6 15:11:46 PDT 2009
Revision: 58886
http://trac.macports.org/changeset/58886
Author: blb at macports.org
Date: 2009-10-06 15:11:38 -0700 (Tue, 06 Oct 2009)
Log Message:
-----------
python/py26-setuptools - deal with distutils changes in python 2.6.3 which breaks setuptools with C extensions; probably multiple tickets
Modified Paths:
--------------
trunk/dports/python/py26-setuptools/Portfile
Added Paths:
-----------
trunk/dports/python/py26-setuptools/files/
trunk/dports/python/py26-setuptools/files/patch-setuptools_command_build_ext.py.diff
Modified: trunk/dports/python/py26-setuptools/Portfile
===================================================================
--- trunk/dports/python/py26-setuptools/Portfile 2009-10-06 21:58:38 UTC (rev 58885)
+++ trunk/dports/python/py26-setuptools/Portfile 2009-10-06 22:11:38 UTC (rev 58886)
@@ -6,6 +6,7 @@
name py26-setuptools
version 0.6c9
+revision 1
categories-append devel
maintainers mcalhoun openmaintainer
description distutils enhancement for build and distribution
@@ -22,6 +23,10 @@
conflicts py26-distribute
+# Patch distutils changes from python 2.6.3, from
+# http://bitbucket.org/tarek/distribute/issue/41/
+patchfiles patch-setuptools_command_build_ext.py.diff
+
checksums md5 3864c01d9c719c8924c455714492295e \
sha1 79086433b341f0c1df45e10d586a7d3cc25089f1 \
rmd160 bc0ee3821e76b57fd13425b16c4419dbccf95ed9
Added: trunk/dports/python/py26-setuptools/files/patch-setuptools_command_build_ext.py.diff
===================================================================
--- trunk/dports/python/py26-setuptools/files/patch-setuptools_command_build_ext.py.diff (rev 0)
+++ trunk/dports/python/py26-setuptools/files/patch-setuptools_command_build_ext.py.diff 2009-10-06 22:11:38 UTC (rev 58886)
@@ -0,0 +1,11 @@
+--- setuptools/command/build_ext.py.orig 2008-09-24 11:10:28.000000000 -0600
++++ setuptools/command/build_ext.py 2009-10-06 16:03:03.000000000 -0600
+@@ -82,6 +82,8 @@
+
+ def get_ext_filename(self, fullname):
+ filename = _build_ext.get_ext_filename(self,fullname)
++ if fullname not in self.ext_map:
++ return filename
+ ext = self.ext_map[fullname]
+ if isinstance(ext,Library):
+ fn, ext = os.path.splitext(filename)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091006/e1b9c5da/attachment.html>
More information about the macports-changes
mailing list