M7350/oe-core/meta/recipes-devtools/python/python.inc

32 lines
934 B
PHP
Raw Normal View History

2024-09-09 08:57:42 +00:00
SUMMARY = "The Python Programming Language"
2024-09-09 08:52:07 +00:00
HOMEPAGE = "http://www.python.org"
LICENSE = "PSFv2"
SECTION = "devel/python"
# bump this on every change in contrib/python/generate-manifest-2.7.py
2024-09-09 08:57:42 +00:00
INC_PR = "r1"
2024-09-09 08:52:07 +00:00
2024-09-09 08:57:42 +00:00
LIC_FILES_CHKSUM = "file://LICENSE;md5=dff3d00f049545862992d2d097831a13"
2024-09-09 08:52:07 +00:00
2024-09-09 08:57:42 +00:00
SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz"
SRC_URI[md5sum] = "38d530f7efc373d64a8fb1637e3baaa7"
SRC_URI[sha256sum] = "90d27e14ea7e03570026850e2e50ba71ad20b7eb31035aada1cf3def8f8d4916"
2024-09-09 08:52:07 +00:00
PYTHON_MAJMIN = "2.7"
inherit autotools
2024-09-09 08:57:42 +00:00
PYTHONLSBOPTS = "--with-wctype-functions"
PYTHONLSBOPTS_linuxstdbase = "ac_cv_sizeof_off_t=8"
2024-09-09 08:52:07 +00:00
2024-09-09 08:57:42 +00:00
EXTRA_OECONF = "\
2024-09-09 08:52:07 +00:00
--with-threads \
--with-pymalloc \
2024-09-09 08:57:42 +00:00
--without-cxx-main \
2024-09-09 08:52:07 +00:00
--with-signal-module \
--enable-shared \
2024-09-09 08:57:42 +00:00
--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} \
2024-09-09 08:52:07 +00:00
"