blob: e18ab8e99a6f9493cc06db4c866e0d2078affa87 [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
8LIC_FILES_CHKSUM = "file://LICENSE;md5=dff3d00f049545862992d2d097831a13"
9
10SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz"
11
12SRC_URI[md5sum] = "38d530f7efc373d64a8fb1637e3baaa7"
13SRC_URI[sha256sum] = "90d27e14ea7e03570026850e2e50ba71ad20b7eb31035aada1cf3def8f8d4916"
14
15PYTHON_MAJMIN = "2.7"
16
17inherit autotools
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"