2013-12-19 15:13:01 +00:00
|
|
|
SUMMARY = "The Python Programming Language"
|
2009-12-03 12:08:52 +00:00
|
|
|
HOMEPAGE = "http://www.python.org"
|
2011-10-14 07:06:13 +00:00
|
|
|
LICENSE = "PSFv2"
|
2009-12-03 12:08:52 +00:00
|
|
|
SECTION = "devel/python"
|
2011-10-14 07:06:13 +00:00
|
|
|
# bump this on every change in contrib/python/generate-manifest-2.7.py
|
2012-05-01 17:23:29 +00:00
|
|
|
INC_PR = "r0"
|
2009-12-03 12:08:52 +00:00
|
|
|
|
2012-05-01 17:23:29 +00:00
|
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=ed3abfd1059e2d3a36a8cff3986f9bb6"
|
2009-12-03 12:08:52 +00:00
|
|
|
|
2011-10-14 07:06:13 +00:00
|
|
|
SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.bz2"
|
|
|
|
|
2012-05-01 17:23:29 +00:00
|
|
|
SRC_URI[md5sum] = "c57477edd6d18bd9eeca2f21add73919"
|
|
|
|
SRC_URI[sha256sum] = "726457e11cb153adc3f428aaf1901fc561a374c30e5e7da6742c0742a338663c"
|
2011-10-14 07:06:13 +00:00
|
|
|
|
|
|
|
PYTHON_MAJMIN = "2.7"
|
2009-12-03 12:08:52 +00:00
|
|
|
|
|
|
|
inherit autotools
|
|
|
|
|
2012-11-03 17:19:01 +00:00
|
|
|
PYTHONLSBOPTS = "--with-wctype-functions"
|
|
|
|
PYTHONLSBOPTS_linuxstdbase = "ac_cv_sizeof_off_t=8"
|
|
|
|
|
2009-12-03 12:08:52 +00:00
|
|
|
EXTRA_OECONF = "\
|
|
|
|
--with-threads \
|
|
|
|
--with-pymalloc \
|
2013-12-20 18:30:39 +00:00
|
|
|
--without-cxx-main \
|
2009-12-03 12:08:52 +00:00
|
|
|
--with-signal-module \
|
|
|
|
--enable-shared \
|
2013-06-03 23:12:27 +00:00
|
|
|
--enable-ipv6=${@base_contains('DISTRO_FEATURES', 'ipv6', 'yes', 'no', d)} \
|
2014-01-04 17:20:20 +00:00
|
|
|
ac_cv_header_bluetooth_bluetooth_h=no ac_cv_header_bluetooth_h=no \
|
2012-11-03 17:19:01 +00:00
|
|
|
${PYTHONLSBOPTS} \
|
2011-01-19 09:04:43 +00:00
|
|
|
"
|