1DESCRIPTION = "Bluetooth Python extension module" 2HOMEPAGE = "https://pybluez.github.io/" 3SECTION = "devel/python" 4 5DEPENDS = "bluez5" 6 7LICENSE = "GPL-2.0-only" 8LIC_FILES_CHKSUM = "file://COPYING;md5=8a71d0475d08eee76d8b6d0c6dbec543" 9 10SRC_URI += "file://0001-Use-Py_ssize_t-when-parsing-buffer-length-fix-426-42.patch \ 11 file://py-3.11.patch " 12SRC_URI[md5sum] = "afbe8429bb82d2c46a3d0f5f4f898f9d" 13SRC_URI[sha256sum] = "c8f04d2e78951eaa9de486b4d49381704e8943d0a6e6e58f55fcd7b8582e90de" 14 15PYPI_PACKAGE = "PyBluez" 16 17inherit pypi setuptools3 18 19do_configure:prepend() { 20 sed -i -e "/use_2to3=True,/d" ${S}/setup.py 21} 22 23RDEPENDS:${PN} += "\ 24 bluez5 \ 25 python3-fcntl \ 26" 27