diff options
Diffstat (limited to 'meta/recipes-devtools/python/python.inc')
-rw-r--r-- | meta/recipes-devtools/python/python.inc | 31 |
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 @@ | |||
1 | SUMMARY = "The Python Programming Language" | ||
2 | HOMEPAGE = "http://www.python.org" | ||
3 | LICENSE = "PSFv2" | ||
4 | SECTION = "devel/python" | ||
5 | # bump this on every change in contrib/python/generate-manifest-2.7.py | ||
6 | INC_PR = "r0" | ||
7 | |||
8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ed3abfd1059e2d3a36a8cff3986f9bb6" | ||
9 | |||
10 | SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.bz2" | ||
11 | |||
12 | SRC_URI[md5sum] = "c57477edd6d18bd9eeca2f21add73919" | ||
13 | SRC_URI[sha256sum] = "726457e11cb153adc3f428aaf1901fc561a374c30e5e7da6742c0742a338663c" | ||
14 | |||
15 | PYTHON_MAJMIN = "2.7" | ||
16 | |||
17 | inherit autotools-brokensep | ||
18 | |||
19 | PYTHONLSBOPTS = "--with-wctype-functions" | ||
20 | PYTHONLSBOPTS_linuxstdbase = "ac_cv_sizeof_off_t=8" | ||
21 | |||
22 | EXTRA_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 | " | ||