summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3_3.10.18.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/python/python3_3.10.18.bb')
-rw-r--r--meta/recipes-devtools/python/python3_3.10.18.bb7
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/recipes-devtools/python/python3_3.10.18.bb b/meta/recipes-devtools/python/python3_3.10.18.bb
index 875b52cde9..89036ff3b8 100644
--- a/meta/recipes-devtools/python/python3_3.10.18.bb
+++ b/meta/recipes-devtools/python/python3_3.10.18.bb
@@ -37,6 +37,7 @@ SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \
37 file://0001-Avoid-shebang-overflow-on-python-config.py.patch \ 37 file://0001-Avoid-shebang-overflow-on-python-config.py.patch \
38 file://0001-test_storlines-skip-due-to-load-variability.patch \ 38 file://0001-test_storlines-skip-due-to-load-variability.patch \
39 file://0001-gh-107811-tarfile-treat-overflow-in-UID-GID-as-failu.patch \ 39 file://0001-gh-107811-tarfile-treat-overflow-in-UID-GID-as-failu.patch \
40 file://CVE-2025-8194.patch \
40 " 41 "
41 42
42SRC_URI:append:class-native = " \ 43SRC_URI:append:class-native = " \
@@ -170,7 +171,7 @@ do_install:append:class-native() {
170 # when they're only used for python called with -O or -OO. 171 # when they're only used for python called with -O or -OO.
171 #find ${D} -name *opt-*.pyc -delete 172 #find ${D} -name *opt-*.pyc -delete
172 # Remove all pyc files. There are a ton of them and it is probably faster to let 173 # Remove all pyc files. There are a ton of them and it is probably faster to let
173 # python create the ones it wants at runtime rather than manage in the sstate 174 # python create the ones it wants at runtime rather than manage in the sstate
174 # tarballs and sysroot creation. 175 # tarballs and sysroot creation.
175 find ${D} -name *.pyc -delete 176 find ${D} -name *.pyc -delete
176 177
@@ -206,7 +207,7 @@ do_install:append() {
206 rm -f ${D}${libdir}/python${PYTHON_MAJMIN}/test/__pycache__/test_range.cpython* 207 rm -f ${D}${libdir}/python${PYTHON_MAJMIN}/test/__pycache__/test_range.cpython*
207 rm -f ${D}${libdir}/python${PYTHON_MAJMIN}/test/__pycache__/test_xml_etree.cpython* 208 rm -f ${D}${libdir}/python${PYTHON_MAJMIN}/test/__pycache__/test_xml_etree.cpython*
208 209
209 # Similar to the above, we're getting reproducibility issues with 210 # Similar to the above, we're getting reproducibility issues with
210 # /usr/lib/python3.10/__pycache__/traceback.cpython-310.pyc 211 # /usr/lib/python3.10/__pycache__/traceback.cpython-310.pyc
211 # so remove it too 212 # so remove it too
212 rm -f ${D}${libdir}/python${PYTHON_MAJMIN}/__pycache__/traceback.cpython* 213 rm -f ${D}${libdir}/python${PYTHON_MAJMIN}/__pycache__/traceback.cpython*
@@ -266,7 +267,7 @@ py_package_preprocess () {
266 cd - 267 cd -
267 268
268 mv ${PKGD}/${bindir}/python${PYTHON_MAJMIN}-config ${PKGD}/${bindir}/python${PYTHON_MAJMIN}-config-${MULTILIB_SUFFIX} 269 mv ${PKGD}/${bindir}/python${PYTHON_MAJMIN}-config ${PKGD}/${bindir}/python${PYTHON_MAJMIN}-config-${MULTILIB_SUFFIX}
269 270
270 #Remove the unneeded copy of target sysconfig data 271 #Remove the unneeded copy of target sysconfig data
271 rm -rf ${PKGD}/${libdir}/python-sysconfigdata 272 rm -rf ${PKGD}/${libdir}/python-sysconfigdata
272} 273}