blob: 219642849d86ce9b6e9652e2fcd2bac813fef6da [file] [log] [blame]
Andrew Geisslerd221e032020-07-10 16:13:21 -05001DESCRIPTION = "Bluetooth Python extension module"
2HOMEPAGE = "https://pybluez.github.io/"
3SECTION = "devel/python"
4
5DEPENDS = "bluez5"
6
Andrew Geissler9aee5002022-03-30 16:27:02 +00007LICENSE = "GPL-2.0-only"
Andrew Geisslerd221e032020-07-10 16:13:21 -05008LIC_FILES_CHKSUM = "file://COPYING;md5=8a71d0475d08eee76d8b6d0c6dbec543"
9
Patrick Williams2194f502022-10-16 14:26:09 -050010SRC_URI += "file://0001-Use-Py_ssize_t-when-parsing-buffer-length-fix-426-42.patch \
11 file://py-3.11.patch "
Andrew Geisslerd221e032020-07-10 16:13:21 -050012SRC_URI[md5sum] = "afbe8429bb82d2c46a3d0f5f4f898f9d"
13SRC_URI[sha256sum] = "c8f04d2e78951eaa9de486b4d49381704e8943d0a6e6e58f55fcd7b8582e90de"
14
15PYPI_PACKAGE = "PyBluez"
Andrew Geisslereff27472021-10-29 15:35:00 -050016
Andrew Geisslerd221e032020-07-10 16:13:21 -050017inherit pypi setuptools3
18
Andrew Geisslereff27472021-10-29 15:35:00 -050019do_configure:prepend() {
20 sed -i -e "/use_2to3=True,/d" ${S}/setup.py
21}
22
Patrick Williams213cb262021-08-07 19:21:33 -050023RDEPENDS:${PN} += "\
Andrew Geisslerd221e032020-07-10 16:13:21 -050024 bluez5 \
25 ${PYTHON_PN}-fcntl \
26"