diff options
| author | Rosen Penev <rosenp@gmail.com> | 2020-07-20 03:23:48 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-20 03:23:48 -0700 |
| commit | 38db6a2e3ea62b03ef7c26401a3d26edaf621487 (patch) | |
| tree | 9e9aec35d2de295d6a28d1d3dde087be5a84841e /lang/python/python3/patches-setuptools | |
| parent | 567c620bdc7d94039b623bd73edb3b4ab99c34f3 (diff) | |
| parent | 1a3cef77d465ea1a53e5c80f869908f359e98c5e (diff) | |
Merge pull request #12880 from jefferyto/python-3.8.4
python3: Update to 3.8.4, refresh/rework patches, backport patches
Diffstat (limited to 'lang/python/python3/patches-setuptools')
4 files changed, 7 insertions, 7 deletions
diff --git a/lang/python/python3/patches-setuptools/001-reproducible.patch b/lang/python/python3/patches-setuptools/001-reproducible.patch index 32edc568d..a4e80103f 100644 --- a/lang/python/python3/patches-setuptools/001-reproducible.patch +++ b/lang/python/python3/patches-setuptools/001-reproducible.patch @@ -5,7 +5,7 @@ Index: b/setuptools/command/easy_install.py =================================================================== --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py -@@ -436,7 +436,7 @@ consider to install to another location, +@@ -423,7 +423,7 @@ class easy_install(Command): for spec in self.args: self.easy_install(spec, not self.no_deps) if self.record: diff --git a/lang/python/python3/patches-setuptools/002-sorted-requires.patch b/lang/python/python3/patches-setuptools/002-sorted-requires.patch index 2ad4795b3..9e48f523e 100644 --- a/lang/python/python3/patches-setuptools/002-sorted-requires.patch +++ b/lang/python/python3/patches-setuptools/002-sorted-requires.patch @@ -5,10 +5,10 @@ Index: b/setuptools/command/egg_info.py =================================================================== --- a/setuptools/command/egg_info.py +++ b/setuptools/command/egg_info.py -@@ -621,7 +621,7 @@ def warn_depends_obsolete(cmd, basename, - def _write_requirements(stream, reqs): - lines = yield_lines(reqs or ()) - append_cr = lambda line: line + '\n' +@@ -641,7 +641,7 @@ def _write_requirements(stream, reqs): + + def append_cr(line): + return line + '\n' - lines = map(append_cr, lines) + lines = map(append_cr, sorted(lines)) stream.writelines(lines) diff --git a/lang/python/python3/patches-setuptools/003-PKG-INFO-output-reproducible.patch b/lang/python/python3/patches-setuptools/003-PKG-INFO-output-reproducible.patch index 15f34dcdb..f1b6ca169 100644 --- a/lang/python/python3/patches-setuptools/003-PKG-INFO-output-reproducible.patch +++ b/lang/python/python3/patches-setuptools/003-PKG-INFO-output-reproducible.patch @@ -3,7 +3,7 @@ https://sources.debian.org/patches/python-setuptools/40.8.0-1/PKG-INFO-output-re --- a/setuptools/dist.py +++ b/setuptools/dist.py -@@ -191,7 +191,7 @@ def write_pkg_file(self, file): +@@ -193,7 +193,7 @@ def write_pkg_file(self, file): self.long_description_content_type ) if self.provides_extras: diff --git a/lang/python/python3/patches-setuptools/004-site-patch.patch b/lang/python/python3/patches-setuptools/004-site-patch.patch index 39b8c9026..279c35284 100644 --- a/lang/python/python3/patches-setuptools/004-site-patch.patch +++ b/lang/python/python3/patches-setuptools/004-site-patch.patch @@ -1,6 +1,6 @@ --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py -@@ -1315,7 +1315,10 @@ class easy_install(Command): +@@ -1324,7 +1324,10 @@ class easy_install(Command): return # already did it, or don't need to sitepy = os.path.join(self.install_dir, "site.py") |
