diff options
Diffstat (limited to 'poky/meta/recipes-devtools/python')
-rw-r--r-- | poky/meta/recipes-devtools/python/python-cython.inc | 2 | ||||
-rw-r--r-- | poky/meta/recipes-devtools/python/python3-cython_0.29.21.bb (renamed from poky/meta/recipes-devtools/python/python3-cython_0.29.20.bb) | 0 | ||||
-rw-r--r-- | poky/meta/recipes-devtools/python/python3-git_3.1.7.bb (renamed from poky/meta/recipes-devtools/python/python3-git_3.1.3.bb) | 2 | ||||
-rw-r--r-- | poky/meta/recipes-devtools/python/python3-pycryptodome_3.9.7.bb | 5 | ||||
-rw-r--r-- | poky/meta/recipes-devtools/python/python3-pycryptodome_3.9.8.bb | 5 | ||||
-rw-r--r-- | poky/meta/recipes-devtools/python/python3-pycryptodomex_3.9.8.bb (renamed from poky/meta/recipes-devtools/python/python3-pycryptodomex_3.9.7.bb) | 2 | ||||
-rw-r--r-- | poky/meta/recipes-devtools/python/python3/0001-configure.ac-define-a-path-for-profile-data.patch | 42 | ||||
-rw-r--r-- | poky/meta/recipes-devtools/python/python3_3.8.3.bb | 1 |
8 files changed, 51 insertions, 8 deletions
diff --git a/poky/meta/recipes-devtools/python/python-cython.inc b/poky/meta/recipes-devtools/python/python-cython.inc index a0cd2a5fb..b1e71f3cc 100644 --- a/poky/meta/recipes-devtools/python/python-cython.inc +++ b/poky/meta/recipes-devtools/python/python-cython.inc @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e23fadd6ceef8c618fc1c65191d846fa" PYPI_PACKAGE = "Cython" BBCLASSEXTEND = "native nativesdk" -SRC_URI[sha256sum] = "22d91af5fc2253f717a1b80b8bb45acb655f643611983fd6f782b9423f8171c7" +SRC_URI[sha256sum] = "e57acb89bd55943c8d8bf813763d20b9099cc7165c0f16b707631a7654be9cad" UPSTREAM_CHECK_REGEX = "Cython-(?P<pver>.*)\.tar" inherit pypi diff --git a/poky/meta/recipes-devtools/python/python3-cython_0.29.20.bb b/poky/meta/recipes-devtools/python/python3-cython_0.29.21.bb index 2ce6bdbd6..2ce6bdbd6 100644 --- a/poky/meta/recipes-devtools/python/python3-cython_0.29.20.bb +++ b/poky/meta/recipes-devtools/python/python3-cython_0.29.21.bb diff --git a/poky/meta/recipes-devtools/python/python3-git_3.1.3.bb b/poky/meta/recipes-devtools/python/python3-git_3.1.7.bb index 064868d85..6d1fc4b65 100644 --- a/poky/meta/recipes-devtools/python/python3-git_3.1.3.bb +++ b/poky/meta/recipes-devtools/python/python3-git_3.1.7.bb @@ -12,7 +12,7 @@ PYPI_PACKAGE = "GitPython" inherit pypi setuptools3 -SRC_URI[sha256sum] = "e107af4d873daed64648b4f4beb89f89f0cfbe3ef558fc7821ed2331c2f8da1a" +SRC_URI[sha256sum] = "2db287d71a284e22e5c2846042d0602465c7434d910406990d5b74df4afb0858" DEPENDS += " ${PYTHON_PN}-gitdb" diff --git a/poky/meta/recipes-devtools/python/python3-pycryptodome_3.9.7.bb b/poky/meta/recipes-devtools/python/python3-pycryptodome_3.9.7.bb deleted file mode 100644 index 8f19984be..000000000 --- a/poky/meta/recipes-devtools/python/python3-pycryptodome_3.9.7.bb +++ /dev/null @@ -1,5 +0,0 @@ -require python-pycryptodome.inc -inherit setuptools3 - -SRC_URI[sha256sum] = "f1add21b6d179179b3c177c33d18a2186a09cc0d3af41ff5ed3f377360b869f2" - diff --git a/poky/meta/recipes-devtools/python/python3-pycryptodome_3.9.8.bb b/poky/meta/recipes-devtools/python/python3-pycryptodome_3.9.8.bb new file mode 100644 index 000000000..46e122072 --- /dev/null +++ b/poky/meta/recipes-devtools/python/python3-pycryptodome_3.9.8.bb @@ -0,0 +1,5 @@ +require python-pycryptodome.inc +inherit setuptools3 + +SRC_URI[sha256sum] = "0e24171cf01021bc5dc17d6a9d4f33a048f09d62cc3f62541e95ef104588bda4" + diff --git a/poky/meta/recipes-devtools/python/python3-pycryptodomex_3.9.7.bb b/poky/meta/recipes-devtools/python/python3-pycryptodomex_3.9.8.bb index abb03b990..035c7fa63 100644 --- a/poky/meta/recipes-devtools/python/python3-pycryptodomex_3.9.7.bb +++ b/poky/meta/recipes-devtools/python/python3-pycryptodomex_3.9.8.bb @@ -1,7 +1,7 @@ require python-pycryptodome.inc inherit setuptools3 -SRC_URI[sha256sum] = "50163324834edd0c9ce3e4512ded3e221c969086e10fdd5d3fdcaadac5e24a78" +SRC_URI[sha256sum] = "48cc2cfc251f04a6142badeb666d1ff49ca6fdfc303fd72579f62b768aaa52b9" FILES_${PN}-tests = " \ ${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/ \ diff --git a/poky/meta/recipes-devtools/python/python3/0001-configure.ac-define-a-path-for-profile-data.patch b/poky/meta/recipes-devtools/python/python3/0001-configure.ac-define-a-path-for-profile-data.patch new file mode 100644 index 000000000..ee3d64552 --- /dev/null +++ b/poky/meta/recipes-devtools/python/python3/0001-configure.ac-define-a-path-for-profile-data.patch @@ -0,0 +1,42 @@ +From 5e94e315119117898ce1a2798641848f61d796b1 Mon Sep 17 00:00:00 2001 +From: Mingli Yu <mingli.yu@windriver.com> +Date: Thu, 9 Jul 2020 07:58:44 +0000 +Subject: [PATCH] configure.ac: define a path for profile data + +There comes below error when use ccache 3.7.10 to compile python3 +and check [1] for more details. + | Python-3.8.3/Modules/_contextvarsmodule.c:43:1: error: source locations for function 'PyInit__contextvars' have changed, the profile data may be out of date [-Werror=coverage-mismatch] + +That's because the logic for profile directory changes a little in +[2] after ccache upgrades to 3.7.10. + +So define a profile directory path accordingly to fix the above error. + +[1] https://github.com/ccache/ccache/issues/615 +[2] https://github.com/ccache/ccache/commit/91a2954eb47b4a106e2be6cf611917b895108e35 + +Upstream-Status: Submitted [https://github.com/python/cpython/pull/21408] + +Signed-off-by: Mingli Yu <mingli.yu@windriver.com> +--- + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 08fe397..bb15bda 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1332,8 +1332,8 @@ case $cc_basename in + fi + ;; + *) +- PGO_PROF_GEN_FLAG="-fprofile-generate" +- PGO_PROF_USE_FLAG="-fprofile-use -fprofile-correction" ++ PGO_PROF_GEN_FLAG="-fprofile-generate=$(pwd)" ++ PGO_PROF_USE_FLAG="-fprofile-use=$(pwd) -fprofile-correction" + LLVM_PROF_MERGER="true" + LLVM_PROF_FILE="" + ;; +-- +2.26.2 + diff --git a/poky/meta/recipes-devtools/python/python3_3.8.3.bb b/poky/meta/recipes-devtools/python/python3_3.8.3.bb index a7cfbad5c..7e0f35ce4 100644 --- a/poky/meta/recipes-devtools/python/python3_3.8.3.bb +++ b/poky/meta/recipes-devtools/python/python3_3.8.3.bb @@ -32,6 +32,7 @@ SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \ file://0001-configure.ac-fix-LIBPL.patch \ file://0001-python3-Do-not-hardcode-lib-for-distutils.patch \ file://0020-configure.ac-setup.py-do-not-add-a-curses-include-pa.patch \ + file://0001-configure.ac-define-a-path-for-profile-data.patch \ " SRC_URI_append_class-native = " \ |