blob: f4818c6a87770824d3239d8039b9727a500dee33 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "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 = "r1"
7
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05008LIC_FILES_CHKSUM = "file://LICENSE;md5=dd98d01d471fac8d8dbdd975229dba03"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05009
10SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz"
11
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050012SRC_URI[md5sum] = "1dbcc848b4cd8399a8199d000f9f823c"
13SRC_URI[sha256sum] = "962b4c45af50124ea61f11a30deb4342fc0bc21126790fa1d7f6c79809413f46"
14
15# python recipe is actually python 2.x
16# also, exclude pre-releases for both python 2.x and 3.x
17UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>2(\.\d+)+).tar"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050018
19PYTHON_MAJMIN = "2.7"
20
21inherit autotools
22
Patrick Williamsc124f4f2015-09-15 14:41:29 -050023EXTRA_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"