mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 16:28:43 +01:00
Update to the latest stable version License-Update: Copyright year updated to include 2018 Remove the alignment patch that is included upstream (From OE-Core rev: 855020053906478cea164ed254c08bedce48479d) (From OE-Core rev: ab2dd15f72a94cce528276e6e3e38c56677e7ba4) Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> [Bug fix update only, drop patches included in update] 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=f257cc14f81685691652a3d3e1b5d754"
|
|
|
|
SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz"
|
|
|
|
SRC_URI[md5sum] = "a80ae3cc478460b922242f43a1b4094d"
|
|
SRC_URI[sha256sum] = "22d9b1ac5b26135ad2b8c2901a9413537e08749a753356ee913c84dbd2df5574"
|
|
|
|
# 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
|
|
}
|