Files
meta-openembedded/meta-python/recipes-devtools/python/python3-pybluez_0.23.bb
T
Ross Burton 0a583b3502 recipes: update for PYPI_PACKAGE change
The pypi class has slightly changed the semantics of the PYPI_PACKAGE
variable[1], now PYPI_PACKAGE is the normalised package name and the new
variable PYPI_PACKAGE_SDIST is used when the source tarball doesn't match.

Update recipes as appropriate: this is mostly deleting now-redundant
assignments but some assignments are still needed where packages are not
uploaded using the modern standards.

[1] oe-core 98049bf86b6 ("classes/pypi: change PYPI_PACKAGE to be normalised")

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-10-08 22:27:01 -07:00

26 lines
633 B
BlitzBasic

DESCRIPTION = "Bluetooth Python extension module"
HOMEPAGE = "https://pybluez.github.io/"
SECTION = "devel/python"
DEPENDS = "bluez5"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=8a71d0475d08eee76d8b6d0c6dbec543"
SRC_URI += "file://0001-Use-Py_ssize_t-when-parsing-buffer-length-fix-426-42.patch \
file://py-3.11.patch "
SRC_URI[sha256sum] = "c8f04d2e78951eaa9de486b4d49381704e8943d0a6e6e58f55fcd7b8582e90de"
PYPI_PACKAGE_SDIST = "PyBluez"
inherit pypi setuptools3
do_configure:prepend() {
sed -i -e "/use_2to3=True,/d" ${S}/setup.py
}
RDEPENDS:${PN} += "\
bluez5 \
python3-fcntl \
"