mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
Rebased: - python/01-use-proper-tools-for-cross-build.patch - python/fix-makefile-for-ptest.patch - python/parallel-makeinst-create-bindir.patch Removed Upstreamed Patch: - python/Don-t-use-getentropy-on-Linux.patch Updated license checksum for changes in the copyright date. The license terms remain unchanged Added an extra do_compile item to create the native pgen that no longer gets compiled by default (From OE-Core rev: 9f2de4f9cf1eb6de75dc789bd0549f45c7a68c55) (From OE-Core rev: 00bdc9752e76fb66bb7eb8d6c3249aa031f14fdb) Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> [Bug fix release only] CVE-2017-9233 CVE-2016-0718 CVE-2012-0876 CVE-2016-4472 Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
41 lines
1.2 KiB
PHP
41 lines
1.2 KiB
PHP
SUMMARY = "The Python Programming Language"
|
|
HOMEPAGE = "http://www.python.org"
|
|
LICENSE = "PSFv2"
|
|
SECTION = "devel/python"
|
|
# bump this on every change in contrib/python/generate-manifest-2.7.py
|
|
INC_PR = "r1"
|
|
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=f741e51de91d4eeea5930b9c3c7fa69d"
|
|
|
|
SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz"
|
|
|
|
SRC_URI[md5sum] = "1f6db41ad91d9eb0a6f0c769b8613c5b"
|
|
SRC_URI[sha256sum] = "71ffb26e09e78650e424929b2b457b9c912ac216576e6bd9e7d204ed03296a66"
|
|
|
|
# python recipe is actually python 2.x
|
|
# also, exclude pre-releases for both python 2.x and 3.x
|
|
UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>2(\.\d+)+).tar"
|
|
|
|
CVE_PRODUCT = "python"
|
|
|
|
PYTHON_MAJMIN = "2.7"
|
|
|
|
inherit autotools pkgconfig
|
|
|
|
EXTRA_OECONF = "\
|
|
--with-threads \
|
|
--with-pymalloc \
|
|
--without-cxx-main \
|
|
--with-signal-module \
|
|
--enable-shared \
|
|
--enable-ipv6=${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'yes', 'no', d)} \
|
|
ac_cv_header_bluetooth_bluetooth_h=no ac_cv_header_bluetooth_h=no \
|
|
${PYTHONLSBOPTS} \
|
|
"
|
|
|
|
do_install_append () {
|
|
sed -i -e 's:${HOSTTOOLS_DIR}/install:install:g' \
|
|
-e 's:${HOSTTOOLS_DIR}/mkdir:mkdir:g' \
|
|
${D}/${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata.py
|
|
}
|