Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dirkmueller:acdc:sp5-rebuild
python3-setuptools.28684
sort-for-reproducibility.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sort-for-reproducibility.patch of Package python3-setuptools.28684
--- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -423,7 +423,7 @@ class easy_install(Command): for spec in self.args: self.easy_install(spec, not self.no_deps) if self.record: - outputs = self.outputs + outputs = list(sorted(self.outputs)) if self.root: # strip any package prefix root_len = len(self.root) for counter in range(len(outputs)): --- a/setuptools/command/egg_info.py +++ b/setuptools/command/egg_info.py @@ -638,7 +638,7 @@ def warn_depends_obsolete(cmd, basename, def _write_requirements(stream, reqs): lines = yield_lines(reqs or ()) append_cr = lambda line: line + '\n' - lines = map(append_cr, lines) + lines = map(append_cr, sorted(lines)) stream.writelines(lines) --- a/setuptools/dist.py +++ b/setuptools/dist.py @@ -195,7 +195,7 @@ def write_pkg_file(self, file): self.long_description_content_type ) if self.provides_extras: - for extra in self.provides_extras: + for extra in sorted(self.provides_extras): write_field('Provides-Extra', extra) --- a/setuptools/tests/test_egg_info.py +++ b/setuptools/tests/test_egg_info.py @@ -291,8 +291,8 @@ class TestEggInfo: wheel>=0.5 pytest - wheel>=0.5 pytest + wheel>=0.5 ''', '''
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor