cleanup
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python2-setuptools?expand=0&rev=4
This commit is contained in:
parent
a70f3204a8
commit
7663b1ae9c
@ -45,11 +45,6 @@ especially ones that have dependencies on other packages.
|
|||||||
%setup -q -n setuptools-%{version}
|
%setup -q -n setuptools-%{version}
|
||||||
%autopatch -p1
|
%autopatch -p1
|
||||||
|
|
||||||
# find . -type f -name "*.orig" -delete
|
|
||||||
|
|
||||||
# # fix rpmlint spurious-executable-perm
|
|
||||||
# chmod -x README.rst
|
|
||||||
|
|
||||||
# # strip shebangs to fix rpmlint warnings
|
# # strip shebangs to fix rpmlint warnings
|
||||||
sed -r -i '1s@^#!/.*$@@' setuptools/command/easy_install.py \
|
sed -r -i '1s@^#!/.*$@@' setuptools/command/easy_install.py \
|
||||||
pkg_resources/_vendor/appdirs.py
|
pkg_resources/_vendor/appdirs.py
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
Index: setuptools-41.4.0/setuptools/command/easy_install.py
|
--- a/setuptools/command/easy_install.py
|
||||||
===================================================================
|
+++ b/setuptools/command/easy_install.py
|
||||||
--- setuptools-41.4.0.orig/setuptools/command/easy_install.py
|
@@ -423,7 +423,7 @@ class easy_install(Command):
|
||||||
+++ setuptools-41.4.0/setuptools/command/easy_install.py
|
|
||||||
@@ -417,7 +417,7 @@ class easy_install(Command):
|
|
||||||
for spec in self.args:
|
for spec in self.args:
|
||||||
self.easy_install(spec, not self.no_deps)
|
self.easy_install(spec, not self.no_deps)
|
||||||
if self.record:
|
if self.record:
|
||||||
@ -11,10 +9,8 @@ Index: setuptools-41.4.0/setuptools/command/easy_install.py
|
|||||||
if self.root: # strip any package prefix
|
if self.root: # strip any package prefix
|
||||||
root_len = len(self.root)
|
root_len = len(self.root)
|
||||||
for counter in range(len(outputs)):
|
for counter in range(len(outputs)):
|
||||||
Index: setuptools-41.4.0/setuptools/command/egg_info.py
|
--- a/setuptools/command/egg_info.py
|
||||||
===================================================================
|
+++ b/setuptools/command/egg_info.py
|
||||||
--- setuptools-41.4.0.orig/setuptools/command/egg_info.py
|
|
||||||
+++ setuptools-41.4.0/setuptools/command/egg_info.py
|
|
||||||
@@ -638,7 +638,7 @@ def warn_depends_obsolete(cmd, basename,
|
@@ -638,7 +638,7 @@ def warn_depends_obsolete(cmd, basename,
|
||||||
def _write_requirements(stream, reqs):
|
def _write_requirements(stream, reqs):
|
||||||
lines = yield_lines(reqs or ())
|
lines = yield_lines(reqs or ())
|
||||||
@ -24,10 +20,8 @@ Index: setuptools-41.4.0/setuptools/command/egg_info.py
|
|||||||
stream.writelines(lines)
|
stream.writelines(lines)
|
||||||
|
|
||||||
|
|
||||||
Index: setuptools-41.4.0/setuptools/dist.py
|
--- a/setuptools/dist.py
|
||||||
===================================================================
|
+++ b/setuptools/dist.py
|
||||||
--- setuptools-41.4.0.orig/setuptools/dist.py
|
|
||||||
+++ setuptools-41.4.0/setuptools/dist.py
|
|
||||||
@@ -195,7 +195,7 @@ def write_pkg_file(self, file):
|
@@ -195,7 +195,7 @@ def write_pkg_file(self, file):
|
||||||
self.long_description_content_type
|
self.long_description_content_type
|
||||||
)
|
)
|
||||||
@ -37,10 +31,8 @@ Index: setuptools-41.4.0/setuptools/dist.py
|
|||||||
write_field('Provides-Extra', extra)
|
write_field('Provides-Extra', extra)
|
||||||
|
|
||||||
|
|
||||||
Index: setuptools-41.4.0/setuptools/tests/test_egg_info.py
|
--- a/setuptools/tests/test_egg_info.py
|
||||||
===================================================================
|
+++ b/setuptools/tests/test_egg_info.py
|
||||||
--- setuptools-41.4.0.orig/setuptools/tests/test_egg_info.py
|
|
||||||
+++ setuptools-41.4.0/setuptools/tests/test_egg_info.py
|
|
||||||
@@ -291,8 +291,8 @@ class TestEggInfo:
|
@@ -291,8 +291,8 @@ class TestEggInfo:
|
||||||
wheel>=0.5
|
wheel>=0.5
|
||||||
pytest
|
pytest
|
||||||
|
Loading…
Reference in New Issue
Block a user