[39886] trunk/dports/python/py25-setuptools
ryandesign at macports.org
ryandesign at macports.org
Wed Sep 10 12:17:04 PDT 2008
Revision: 39886
http://trac.macports.org/changeset/39886
Author: ryandesign at macports.org
Date: 2008-09-10 12:17:04 -0700 (Wed, 10 Sep 2008)
Log Message:
-----------
py25-setuptools: allow it to work with Subversion 1.5 and up; see #16017 (maintainer timeout)
Modified Paths:
--------------
trunk/dports/python/py25-setuptools/Portfile
Added Paths:
-----------
trunk/dports/python/py25-setuptools/files/
trunk/dports/python/py25-setuptools/files/patch-sdist.py.diff
Modified: trunk/dports/python/py25-setuptools/Portfile
===================================================================
--- trunk/dports/python/py25-setuptools/Portfile 2008-09-10 19:00:09 UTC (rev 39885)
+++ trunk/dports/python/py25-setuptools/Portfile 2008-09-10 19:17:04 UTC (rev 39886)
@@ -5,6 +5,7 @@
name py25-setuptools
version 0.6c8
+revision 1
categories-append devel
maintainers stechert at macports.org
description distutils enhancement for build and distribution
@@ -27,6 +28,8 @@
sha1 dbc7a4955672964c1c656ae4ca736cf661409d06 \
rmd160 081f49dccefae08d59f905d074ad15d348d51527
+patchfiles patch-sdist.py.diff
+
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} EasyInstall.txt api_tests.txt \
Added: trunk/dports/python/py25-setuptools/files/patch-sdist.py.diff
===================================================================
--- trunk/dports/python/py25-setuptools/files/patch-sdist.py.diff (rev 0)
+++ trunk/dports/python/py25-setuptools/files/patch-sdist.py.diff 2008-09-10 19:17:04 UTC (rev 39886)
@@ -0,0 +1,11 @@
+--- setuptools/command/sdist.py 2006-10-31 11:20:42.000000000 -0600
++++ setuptools/command/sdist.py 2008-09-10 14:08:14.000000000 -0500
+@@ -86,7 +87,7 @@
+ f = open(filename,'rU')
+ data = f.read()
+ f.close()
+- if data.startswith('8'): # subversion 1.4
++ if data.startswith('9') or data.startswith('8'): # subversion 1.5/1.4
+ for record in map(str.splitlines, data.split('\n\x0c\n')[1:]):
+ if not record or len(record)>=6 and record[5]=="delete":
+ continue # skip deleted
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080910/a9fb5b1e/attachment.html
More information about the macports-changes
mailing list