From acbcc911b71f93bb7ea9400aa19713f3464c8e69 Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Tue, 13 Oct 2026 15:20:37 -0600 Subject: [PATCH] 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: https://github.com/open-iscsi/targetcli-fb/commit/f9d97a8bdecff94727ad975f263d132eec8d8ca6 Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- package/targetcli-fb/Config.in | 1 - package/targetcli-fb/targetcli-fb.hash | 8 +++++--- package/targetcli-fb/targetcli-fb.mk | 13 +++++-------- 3 files changed, 10 insertions(+), 12 deletions(-) diff --git a/package/targetcli-fb/Config.in b/package/targetcli-fb/Config.in index 4455a6ce31..00af7dd159 100644 --- a/package/targetcli-fb/Config.in +++ b/package/targetcli-fb/Config.in @@ -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 diff --git a/package/targetcli-fb/targetcli-fb.hash b/package/targetcli-fb/targetcli-fb.hash index 1732fa99e5..95b76a4194 100644 --- a/package/targetcli-fb/targetcli-fb.hash +++ b/package/targetcli-fb/targetcli-fb.hash @@ -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 diff --git a/package/targetcli-fb/targetcli-fb.mk b/package/targetcli-fb/targetcli-fb.mk index 503b9224d0..a04cfae3f6 100644 --- a/package/targetcli-fb/targetcli-fb.mk +++ b/package/targetcli-fb/targetcli-fb.mk @@ -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 \