Package: python-setuptools / 33.1.1-1

no-SOURCES.txt-in-egg-ingo.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Index: b/setuptools/command/install_egg_info.py
===================================================================
--- a/setuptools/command/install_egg_info.py
+++ b/setuptools/command/install_egg_info.py
@@ -72,6 +72,9 @@ class install_egg_info(namespaces.Instal
             for skip in '.svn/', 'CVS/':
                 if src.startswith(skip) or '/' + skip in src:
                     return None
+            if self.install_layout and self.install_layout in ['deb'] and src.startswith('SOURCES.txt'):
+                log.info("Skipping SOURCES.txt")
+                return None
             self.outputs.append(dst)
             log.debug("Copying %s to %s", src, dst)
             return dst