Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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 = "r1" |
| 7 | |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=6b60258130e4ed10d3101517eb5b9385" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 9 | |
| 10 | SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz" |
| 11 | |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 12 | SRC_URI[md5sum] = "57dffcee9cee8bb2ab5f82af1d8e9a69" |
| 13 | SRC_URI[sha256sum] = "d7837121dd5652a05fef807c361909d255d173280c4e1a4ded94d73d80a1f978" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 14 | |
| 15 | # python recipe is actually python 2.x |
| 16 | # also, exclude pre-releases for both python 2.x and 3.x |
| 17 | UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>2(\.\d+)+).tar" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 18 | |
| 19 | PYTHON_MAJMIN = "2.7" |
| 20 | |
| 21 | inherit autotools |
| 22 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 23 | EXTRA_OECONF = "\ |
| 24 | --with-threads \ |
| 25 | --with-pymalloc \ |
| 26 | --without-cxx-main \ |
| 27 | --with-signal-module \ |
| 28 | --enable-shared \ |
| 29 | --enable-ipv6=${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'yes', 'no', d)} \ |
| 30 | ac_cv_header_bluetooth_bluetooth_h=no ac_cv_header_bluetooth_h=no \ |
| 31 | ${PYTHONLSBOPTS} \ |
| 32 | " |