generic-poky/meta/recipes-devtools/python/python.inc
Martin Jansa e7fcf1bce8 python: explicitly disable bluetooth.h check
* bluetooth.h is autodetected from sysroot and influences 2 python files:
  /usr/include/python2.7/pyconfig-32.h
  /usr/lib/python2.7/lib-dynload/_socket.so
* it doesn't link with bluez, so it wasn't detected by
  test-dependencies.sh, but still causes undeterministic builds and
  should be fixed
* we can use PACKAGECONFIG, but I don't expect many people to use bt
  support in python-socket

(From OE-Core rev: 46fc4d6b7c17e19088917ec46234bafc76f5655f)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-06 22:17:30 +00:00

32 lines
932 B
PHP

SUMMARY = "The Python Programming Language"
HOMEPAGE = "http://www.python.org"
LICENSE = "PSFv2"
SECTION = "devel/python"
# bump this on every change in contrib/python/generate-manifest-2.7.py
INC_PR = "r0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=ed3abfd1059e2d3a36a8cff3986f9bb6"
SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.bz2"
SRC_URI[md5sum] = "c57477edd6d18bd9eeca2f21add73919"
SRC_URI[sha256sum] = "726457e11cb153adc3f428aaf1901fc561a374c30e5e7da6742c0742a338663c"
PYTHON_MAJMIN = "2.7"
inherit autotools
PYTHONLSBOPTS = "--with-wctype-functions"
PYTHONLSBOPTS_linuxstdbase = "ac_cv_sizeof_off_t=8"
EXTRA_OECONF = "\
--with-threads \
--with-pymalloc \
--without-cxx-main \
--with-signal-module \
--enable-shared \
--enable-ipv6=${@base_contains('DISTRO_FEATURES', 'ipv6', 'yes', 'no', d)} \
ac_cv_header_bluetooth_bluetooth_h=no ac_cv_header_bluetooth_h=no \
${PYTHONLSBOPTS} \
"