Files
meta-openembedded/meta-python/recipes-devtools/python/python3-systemd_235.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

22 lines
742 B
BlitzBasic

SUMMARY = "Python interface for libsystemd"
HOMEPAGE = "https://github.com/systemd/python-systemd"
LICENSE = "LGPL-2.1-or-later"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4fbd65380cdd255951079008b364516c"
PYPI_PACKAGE = "systemd-python"
PYPI_PACKAGE_SDIST = "systemd-python"
SRC_URI:append:libc-musl = " file://0001-Provide-implementation-of-strndupa-for-musl.patch"
SRC_URI[sha256sum] = "4e57f39797fd5d9e2d22b8806a252d7c0106c936039d1e71c8c6b8008e695c0a"
DEPENDS += "systemd (<=235)"
inherit pypi features_check pkgconfig setuptools3
REQUIRED_DISTRO_FEATURES = "systemd"
RDEPENDS:${PN} += "systemd python3-syslog python3-logging python3-syslog"
# v235's setup.py is not written in a way to avoid race condition
PARALLEL_MAKE = "-j 1"