python,python3: build bluetooth support if bluez-libs selected 5122/head
authorAlexandru Ardelean <ardeleanalex@gmail.com>
Tue, 14 Nov 2017 08:04:32 +0000 (10:04 +0200)
committerAlexandru Ardelean <ardeleanalex@gmail.com>
Tue, 14 Nov 2017 11:50:14 +0000 (13:50 +0200)
commitc2b3496977b5b6fddc0b25d1335a3706649f6c03
treeece124b557e55f68955312d48ab1e31a78addbf1
parent68ae65f3bcf89161b2a983c3fa1f8979df6c0f76
python,python3: build bluetooth support if bluez-libs selected

This should hopefully fix the Python3 build on buildbot.

For a while I assumed it may be a build-bot issue, but
then looking through the packages repo [and finding
the bluez package] it looks like, if you try
to build all packages, Python3 detects the bluetooth
headers installed by bluez.

It looks like Python's bluetooth support was somewhat
broken ; it was not detecting the <bluetooth/bluetooth.h>
header, so a backport from Python3 to Python fixed that.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
lang/python/python/Makefile
lang/python/python/patches/005-fix-bluetooth-support.patch [new file with mode: 0644]
lang/python/python3/Makefile