summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/setuptools/files')
-rw-r--r--dev-python/setuptools/files/setuptools-0.6_rc8-svn-1.5.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-python/setuptools/files/setuptools-0.6_rc8-svn-1.5.patch b/dev-python/setuptools/files/setuptools-0.6_rc8-svn-1.5.patch
new file mode 100644
index 000000000000..05aaa158d38b
--- /dev/null
+++ b/dev-python/setuptools/files/setuptools-0.6_rc8-svn-1.5.patch
@@ -0,0 +1,30 @@
+Index: setuptools/command/egg_info.py
+===================================================================
+--- setuptools/command/egg_info.py (revision 61076)
++++ setuptools/command/egg_info.py (working copy)
+@@ -217,9 +217,9 @@
+ data = f.read()
+ f.close()
+
+- if data.startswith('8'):
++ if data.startswith('8') or data.startswith('9'):
+ data = map(str.splitlines,data.split('\n\x0c\n'))
+- del data[0][0] # get rid of the '8'
++ del data[0][0] # get rid of the '8' or '9'
+ dirurl = data[0][3]
+ localrev = max([int(d[9]) for d in data if len(d)>9 and d[9]]+[0])
+ elif data.startswith('<?xml'):
+Index: setuptools/command/sdist.py
+===================================================================
+--- setuptools/command/sdist.py (revision 61076)
++++ setuptools/command/sdist.py (working copy)
+@@ -86,7 +86,7 @@
+ f = open(filename,'rU')
+ data = f.read()
+ f.close()
+- if data.startswith('8'): # subversion 1.4
++ if data.startswith('8') or data.startswith('9'): # subversion 1.4 or 1.5
+ 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
+