python3: bump version to 3.9.7

Refreshed patches.
And apply hack for line-endings in pep517 (from pip).

Hack comment:
  # FIXME: [1] get rid of this asap; 'patch' doesn't like Windows endings, and this file is full of them...
  #        I actually tried this in a number of ways and the only way to fix this is to implement
  #        a poor-man's dos2unix using sed.
  #        The issue is with the pip package; it seems that it throws in some Windows line-endings
  #        and 'patch' won't handle them. So, we do a "dos2unix" and then patch.
  #        We can get rid of this once this is solved upstream and in pip:
  #            https://github.com/pypa/pep517/pull/130

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
This commit is contained in:
Alexandru Ardelean
2021-09-06 10:43:47 +03:00
committed by Rosen Penev
parent 7c2b02f682
commit 26988f905f
4 changed files with 19 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
--- a/setup.py
+++ b/setup.py
@@ -734,7 +734,8 @@ class PyBuildExt(build_ext):
@@ -737,7 +737,8 @@ class PyBuildExt(build_ext):
# only change this for cross builds for 3.3, issues on Mageia
if CROSS_COMPILING:
self.add_cross_compiling_paths()

View File

@@ -1,6 +1,6 @@
--- a/setup.py
+++ b/setup.py
@@ -711,8 +711,9 @@ class PyBuildExt(build_ext):
@@ -714,8 +714,9 @@ class PyBuildExt(build_ext):
# directly since an inconsistently reproducible issue comes up where
# the environment variable is not set even though the value were passed
# into configure and stored in the Makefile (issue found on OS X 10.3).