package/targetcli-fb: bump to version 3.0.2

Switch to hatchling with hatch-vcs and use the PyPI source distribution,
which includes the version metadata needed by hatch-vcs.

Drop the obsolete six dependency and keep the remaining Python
dependencies as runtime selections.

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

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
James Hilliard
2026-10-13 15:20:37 -06:00
committed by Thomas Petazzoni
parent 728fcc8abb
commit acbcc911b7
3 changed files with 10 additions and 12 deletions

View File

@@ -17,7 +17,6 @@ config BR2_PACKAGE_TARGETCLI_FB
depends on BR2_PACKAGE_HAS_LIBUDEV # python-rtslib-fb -> python-pyudev
select BR2_PACKAGE_PYTHON_CONFIGSHELL_FB
select BR2_PACKAGE_PYTHON_RTSLIB_FB
select BR2_PACKAGE_PYTHON_SIX
select BR2_PACKAGE_PYTHON_GOBJECT
help
targetcli-fb is a command-line interface for configuring the

View File

@@ -1,3 +1,5 @@
# locally computed
sha256 605f4e4e4e7189d6a03f11a4f55e7ddb4671002d542c2f684f87dd68391dcdc2 targetcli-fb-2.1.58.tar.gz
sha256 5df2a0d87d6c562f0ea11c688ac52532aa28d744cabc7994ff0537f64b3b3320 COPYING
# md5, sha256 from https://pypi.org/pypi/targetcli/json
md5 e7f681218a3895008ebaf503d46806cb targetcli-3.0.2.tar.gz
sha256 00422cce70f1d4a4d804cb1f3f633169ff4ad13b017b7e52d8f49262afe43b9e targetcli-3.0.2.tar.gz
# Locally computed sha256 checksums
sha256 09e8a9bcec8067104652c168685ab0931e7868f9c8284b66f5ae6edae5f1130b COPYING

View File

@@ -6,17 +6,14 @@
# When upgrading the version, be sure to also upgrade python-rtslib-fb
# and python-configshell-fb at the same time.
TARGETCLI_FB_VERSION = 2.1.58
TARGETCLI_FB_SITE = $(call github,open-iscsi,targetcli-fb,v$(TARGETCLI_FB_VERSION))
TARGETCLI_FB_VERSION = 3.0.2
TARGETCLI_FB_SOURCE = targetcli-$(TARGETCLI_FB_VERSION).tar.gz
TARGETCLI_FB_SITE = https://files.pythonhosted.org/packages/01/3d/d6c306d24bdc31657599d2487879c3a1435e3c6c2268a7a1a984ef6f6b7b
TARGETCLI_FB_LICENSE = Apache-2.0
TARGETCLI_FB_LICENSE_FILES = COPYING
TARGETCLI_FB_CPE_ID_VALID = YES
TARGETCLI_FB_SETUP_TYPE = setuptools
TARGETCLI_FB_DEPENDENCIES = \
python-configshell-fb \
python-gobject \
python-rtslib-fb \
python-six
TARGETCLI_FB_SETUP_TYPE = hatch
TARGETCLI_FB_DEPENDENCIES = host-python-hatch-vcs
define TARGETCLI_FB_INSTALL_INIT_SYSV
$(INSTALL) -m 0755 -D package/targetcli-fb/S50target \