Files
buildroot/package/python-rtslib-fb/python-rtslib-fb.mk
James Hilliard 728fcc8abb package/python-rtslib-fb: bump to version 2.2.4
Switch to hatchling with hatch-vcs and use the PyPI source distribution,
which includes the version metadata needed by hatch-vcs.

Restore the compatibility symlink omitted from the PyPI archive so the
wheel continues to provide the rtslib_fb module.

Replace the six runtime dependency with pyudev and propagate its
libudev requirement to targetcli-fb.

Update the license hash for the removal of a trailing blank line:
c44657500a

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2026-10-13 23:28:36 +02:00

24 lines
961 B
Makefile

################################################################################
#
# python-rtslib-fb
#
################################################################################
# When upgrading the version, be sure to also upgrade
# python-configshell-fb and targetcli-fb at the same time.
PYTHON_RTSLIB_FB_VERSION = 2.2.4
PYTHON_RTSLIB_FB_SOURCE = rtslib_fb-$(PYTHON_RTSLIB_FB_VERSION).tar.gz
PYTHON_RTSLIB_FB_SITE = https://files.pythonhosted.org/packages/79/32/030eaf69d4f19cac2345a6fab1f18118355f7c9c83d6d84f758b00bbd3d9
PYTHON_RTSLIB_FB_LICENSE = Apache-2.0
PYTHON_RTSLIB_FB_LICENSE_FILES = COPYING
PYTHON_RTSLIB_FB_SETUP_TYPE = hatch
PYTHON_RTSLIB_FB_DEPENDENCIES = host-python-hatch-vcs
# The PyPI archive omits the compatibility symlink included in Git.
define PYTHON_RTSLIB_FB_RESTORE_COMPAT_SYMLINK
ln -s rtslib $(@D)/rtslib_fb
endef
PYTHON_RTSLIB_FB_POST_EXTRACT_HOOKS += PYTHON_RTSLIB_FB_RESTORE_COMPAT_SYMLINK
$(eval $(python-package))