blob: 6a1df273a25b636e2a8213a10542a9d489df261e [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
Andrew Geissler615f2f12022-07-15 14:00:58 -050010SRC_URI += "file://0001-Use-Py_ssize_t-when-parsing-buffer-length-fix-426-42.patch"
Andrew Geisslerd221e032020-07-10 16:13:21 -050011SRC_URI[md5sum] = "afbe8429bb82d2c46a3d0f5f4f898f9d"
12SRC_URI[sha256sum] = "c8f04d2e78951eaa9de486b4d49381704e8943d0a6e6e58f55fcd7b8582e90de"
13
14PYPI_PACKAGE = "PyBluez"
Andrew Geisslereff27472021-10-29 15:35:00 -050015
Andrew Geisslerd221e032020-07-10 16:13:21 -050016inherit pypi setuptools3
17
Andrew Geisslereff27472021-10-29 15:35:00 -050018do_configure:prepend() {
19 sed -i -e "/use_2to3=True,/d" ${S}/setup.py
20}
21
Patrick Williams213cb262021-08-07 19:21:33 -050022RDEPENDS:${PN} += "\
Andrew Geisslerd221e032020-07-10 16:13:21 -050023 bluez5 \
24 ${PYTHON_PN}-fcntl \
25"