| SUMMARY = "The Python Programming Language" |
| HOMEPAGE = "http://www.python.org" |
| # bump this on every change in contrib/python/generate-manifest-2.7.py |
| LIC_FILES_CHKSUM = "file://LICENSE;md5=e466242989bd33c1bd2b6a526a742498" |
| SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \ |
| SRC_URI[md5sum] = "b3b6d2c92f42a60667814358ab9f0cfd" |
| SRC_URI[sha256sum] = "4d43f033cdbd0aa7b7023c81b0e986fd11e653b5248dac9144d508f11812ba41" |
| # python recipe is actually python 2.x |
| # also, exclude pre-releases for both python 2.x and 3.x |
| UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>2(\.\d+)+).tar" |
| inherit autotools pkgconfig |
| --enable-ipv6=${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'yes', 'no', d)} \ |
| ac_cv_header_bluetooth_bluetooth_h=no ac_cv_header_bluetooth_h=no \ |
| libdirleaf="$(echo ${libdir} | sed -e 's:${prefix}/::')" |
| sed -i -e "s:SEDMELIBLEAF:${libdirleaf}:g" \ |
| sed -i -e 's:${HOSTTOOLS_DIR}/install:install:g' \ |
| -e 's:${HOSTTOOLS_DIR}/mkdir:mkdir:g' \ |
| ${D}/${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata.py |