Andrew Geissler | d221e03 | 2020-07-10 16:13:21 -0500 | [diff] [blame] | 1 | DESCRIPTION = "Bluetooth Python extension module" |
| 2 | HOMEPAGE = "https://pybluez.github.io/" |
| 3 | SECTION = "devel/python" |
| 4 | |
| 5 | DEPENDS = "bluez5" |
| 6 | |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 7 | LICENSE = "GPL-2.0-only" |
Andrew Geissler | d221e03 | 2020-07-10 16:13:21 -0500 | [diff] [blame] | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=8a71d0475d08eee76d8b6d0c6dbec543" |
| 9 | |
Patrick Williams | 2194f50 | 2022-10-16 14:26:09 -0500 | [diff] [blame] | 10 | SRC_URI += "file://0001-Use-Py_ssize_t-when-parsing-buffer-length-fix-426-42.patch \ |
| 11 | file://py-3.11.patch " |
Andrew Geissler | d221e03 | 2020-07-10 16:13:21 -0500 | [diff] [blame] | 12 | SRC_URI[md5sum] = "afbe8429bb82d2c46a3d0f5f4f898f9d" |
| 13 | SRC_URI[sha256sum] = "c8f04d2e78951eaa9de486b4d49381704e8943d0a6e6e58f55fcd7b8582e90de" |
| 14 | |
| 15 | PYPI_PACKAGE = "PyBluez" |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 16 | |
Andrew Geissler | d221e03 | 2020-07-10 16:13:21 -0500 | [diff] [blame] | 17 | inherit pypi setuptools3 |
| 18 | |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 19 | do_configure:prepend() { |
| 20 | sed -i -e "/use_2to3=True,/d" ${S}/setup.py |
| 21 | } |
| 22 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 23 | RDEPENDS:${PN} += "\ |
Andrew Geissler | d221e03 | 2020-07-10 16:13:21 -0500 | [diff] [blame] | 24 | bluez5 \ |
| 25 | ${PYTHON_PN}-fcntl \ |
| 26 | " |