summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/python/python.inc')
-rw-r--r--meta/recipes-devtools/python/python.inc31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python.inc b/meta/recipes-devtools/python/python.inc
new file mode 100644
index 0000000000..19942baeb0
--- /dev/null
+++ b/meta/recipes-devtools/python/python.inc
@@ -0,0 +1,31 @@
1SUMMARY = "The Python Programming Language"
2HOMEPAGE = "http://www.python.org"
3LICENSE = "PSFv2"
4SECTION = "devel/python"
5# bump this on every change in contrib/python/generate-manifest-2.7.py
6INC_PR = "r0"
7
8LIC_FILES_CHKSUM = "file://LICENSE;md5=ed3abfd1059e2d3a36a8cff3986f9bb6"
9
10SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.bz2"
11
12SRC_URI[md5sum] = "c57477edd6d18bd9eeca2f21add73919"
13SRC_URI[sha256sum] = "726457e11cb153adc3f428aaf1901fc561a374c30e5e7da6742c0742a338663c"
14
15PYTHON_MAJMIN = "2.7"
16
17inherit autotools-brokensep
18
19PYTHONLSBOPTS = "--with-wctype-functions"
20PYTHONLSBOPTS_linuxstdbase = "ac_cv_sizeof_off_t=8"
21
22EXTRA_OECONF = "\
23 --with-threads \
24 --with-pymalloc \
25 --without-cxx-main \
26 --with-signal-module \
27 --enable-shared \
28 --enable-ipv6=${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'yes', 'no', d)} \
29 ac_cv_header_bluetooth_bluetooth_h=no ac_cv_header_bluetooth_h=no \
30 ${PYTHONLSBOPTS} \
31"