All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/3] package/python-configshell-fb: bump to version 2.0.3
@ 2026-10-13 21:20 James Hilliard
  2026-10-13 21:20 ` [Buildroot] [PATCH 2/3] package/python-rtslib-fb: bump to version 2.2.4 James Hilliard
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: James Hilliard @ 2026-10-13 21:20 UTC (permalink / raw)
  To: buildroot; +Cc: Christophe Vu-Brugier, James Hilliard

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 configshell_fb module.

Drop the obsolete six and urwid runtime dependencies. Select curses
explicitly, since it was previously pulled in by urwid.

Update the license hash for the removal of a trailing blank line:
https://github.com/open-iscsi/configshell-fb/commit/36306fd6f839b66e958d692230ead8d49883abd8

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
 package/python-configshell-fb/Config.in           |  3 +--
 .../python-configshell-fb.hash                    |  8 +++++---
 .../python-configshell-fb.mk                      | 15 +++++++++++----
 3 files changed, 17 insertions(+), 9 deletions(-)

diff --git a/package/python-configshell-fb/Config.in b/package/python-configshell-fb/Config.in
index ed7f9e0234..2c3fe52dab 100644
--- a/package/python-configshell-fb/Config.in
+++ b/package/python-configshell-fb/Config.in
@@ -1,9 +1,8 @@
 config BR2_PACKAGE_PYTHON_CONFIGSHELL_FB
 	bool "python-configshell-fb"
 	select BR2_PACKAGE_PYTHON_PYPARSING
+	select BR2_PACKAGE_PYTHON3_CURSES
 	select BR2_PACKAGE_PYTHON3_READLINE
-	select BR2_PACKAGE_PYTHON_SIX
-	select BR2_PACKAGE_PYTHON_URWID
 	help
 	  configshell-fb is a Python library that provides a framework
 	  for building simple but nice CLI-based applications.
diff --git a/package/python-configshell-fb/python-configshell-fb.hash b/package/python-configshell-fb/python-configshell-fb.hash
index e090501056..cfc7be7b38 100644
--- a/package/python-configshell-fb/python-configshell-fb.hash
+++ b/package/python-configshell-fb/python-configshell-fb.hash
@@ -1,3 +1,5 @@
-# locally computed
-sha256  44696b92bea2b44c1d0bf2828477dddeb3b4dfb312ad82ce06d7b704c0985e27  python-configshell-fb-1.1.30.tar.gz
-sha256  5df2a0d87d6c562f0ea11c688ac52532aa28d744cabc7994ff0537f64b3b3320  COPYING
+# md5, sha256 from https://pypi.org/pypi/configshell-fb/json
+md5  049b7dcbc47e4699241c520b88fc4766  configshell_fb-2.0.3.tar.gz
+sha256  dbb086c16c1603a230f9017ef85baccabfd5d87439a01e963377e50f10220f53  configshell_fb-2.0.3.tar.gz
+# Locally computed sha256 checksums
+sha256  09e8a9bcec8067104652c168685ab0931e7868f9c8284b66f5ae6edae5f1130b  COPYING
diff --git a/package/python-configshell-fb/python-configshell-fb.mk b/package/python-configshell-fb/python-configshell-fb.mk
index 3446a86e8d..e59e7f61d9 100644
--- a/package/python-configshell-fb/python-configshell-fb.mk
+++ b/package/python-configshell-fb/python-configshell-fb.mk
@@ -6,11 +6,18 @@
 
 # When upgrading the version, be sure to also upgrade python-rtslib-fb
 # and targetcli-fb at the same time.
-PYTHON_CONFIGSHELL_FB_VERSION = 1.1.30
-PYTHON_CONFIGSHELL_FB_SITE = $(call github,open-iscsi,configshell-fb,v$(PYTHON_CONFIGSHELL_FB_VERSION))
+PYTHON_CONFIGSHELL_FB_VERSION = 2.0.3
+PYTHON_CONFIGSHELL_FB_SOURCE = configshell_fb-$(PYTHON_CONFIGSHELL_FB_VERSION).tar.gz
+PYTHON_CONFIGSHELL_FB_SITE = https://files.pythonhosted.org/packages/5c/cd/3575aae7d0302c3a9d7a9999870475c289209a2f5b633a682c94f9dfc08c
 PYTHON_CONFIGSHELL_FB_LICENSE = Apache-2.0
 PYTHON_CONFIGSHELL_FB_LICENSE_FILES = COPYING
-PYTHON_CONFIGSHELL_FB_SETUP_TYPE = setuptools
-PYTHON_CONFIGSHELL_FB_DEPENDENCIES = python-pyparsing python-six python-urwid
+PYTHON_CONFIGSHELL_FB_SETUP_TYPE = hatch
+PYTHON_CONFIGSHELL_FB_DEPENDENCIES = host-python-hatch-vcs
+
+# The PyPI archive omits the compatibility symlink included in Git.
+define PYTHON_CONFIGSHELL_FB_RESTORE_COMPAT_SYMLINK
+	ln -s configshell $(@D)/configshell_fb
+endef
+PYTHON_CONFIGSHELL_FB_POST_EXTRACT_HOOKS += PYTHON_CONFIGSHELL_FB_RESTORE_COMPAT_SYMLINK
 
 $(eval $(python-package))
-- 
2.53.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 2/3] package/python-rtslib-fb: bump to version 2.2.4
  2026-10-13 21:20 [Buildroot] [PATCH 1/3] package/python-configshell-fb: bump to version 2.0.3 James Hilliard
@ 2026-10-13 21:20 ` James Hilliard
  2026-10-13 21:20 ` [Buildroot] [PATCH 3/3] package/targetcli-fb: bump to version 3.0.2 James Hilliard
  2026-10-13 21:32 ` [Buildroot] [PATCH 1/3] package/python-configshell-fb: bump to version 2.0.3 Thomas Petazzoni via buildroot
  2 siblings, 0 replies; 4+ messages in thread
From: James Hilliard @ 2026-10-13 21:20 UTC (permalink / raw)
  To: buildroot; +Cc: Christophe Vu-Brugier, James Hilliard

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:
https://github.com/open-iscsi/rtslib-fb/commit/c44657500a66a5f95b3a43d1c5b8dd114674c5c6

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
 package/python-rtslib-fb/Config.in             |  6 +++++-
 package/python-rtslib-fb/python-rtslib-fb.hash |  8 +++++---
 package/python-rtslib-fb/python-rtslib-fb.mk   | 16 +++++++++++-----
 package/targetcli-fb/Config.in                 |  4 ++++
 4 files changed, 25 insertions(+), 9 deletions(-)

diff --git a/package/python-rtslib-fb/Config.in b/package/python-rtslib-fb/Config.in
index f4083340e6..ef7bb170ed 100644
--- a/package/python-rtslib-fb/Config.in
+++ b/package/python-rtslib-fb/Config.in
@@ -1,9 +1,13 @@
 config BR2_PACKAGE_PYTHON_RTSLIB_FB
 	bool "python-rtslib-fb"
-	select BR2_PACKAGE_PYTHON_SIX
+	depends on BR2_PACKAGE_HAS_LIBUDEV # python-pyudev
+	select BR2_PACKAGE_PYTHON_PYUDEV # runtime
 	help
 	  rtslib-fb is an object-based Python library for configuring
 	  the LIO generic SCSI target, present in 3.x Linux kernel
 	  versions.
 
 	  https://github.com/open-iscsi/rtslib-fb
+
+comment "python-rtslib-fb needs libudev"
+	depends on !BR2_PACKAGE_HAS_LIBUDEV
diff --git a/package/python-rtslib-fb/python-rtslib-fb.hash b/package/python-rtslib-fb/python-rtslib-fb.hash
index 39c390edb2..1cfbb3fc36 100644
--- a/package/python-rtslib-fb/python-rtslib-fb.hash
+++ b/package/python-rtslib-fb/python-rtslib-fb.hash
@@ -1,3 +1,5 @@
-# locally computed
-sha256  ac15c113d09209c7b0d14d94a12ed88205a7c2feadd1096f573049fd737f7e74  python-rtslib-fb-2.1.76.tar.gz
-sha256  5df2a0d87d6c562f0ea11c688ac52532aa28d744cabc7994ff0537f64b3b3320  COPYING
+# md5, sha256 from https://pypi.org/pypi/rtslib-fb/json
+md5  1ff112fb9df8ededcf5655f6e1174652  rtslib_fb-2.2.4.tar.gz
+sha256  0084daa651a72b1cacd0eaaf162725df69b991f501cffe87e0f67e99224a7267  rtslib_fb-2.2.4.tar.gz
+# Locally computed sha256 checksums
+sha256  09e8a9bcec8067104652c168685ab0931e7868f9c8284b66f5ae6edae5f1130b  COPYING
diff --git a/package/python-rtslib-fb/python-rtslib-fb.mk b/package/python-rtslib-fb/python-rtslib-fb.mk
index 6396d26a3f..707c091cef 100644
--- a/package/python-rtslib-fb/python-rtslib-fb.mk
+++ b/package/python-rtslib-fb/python-rtslib-fb.mk
@@ -6,12 +6,18 @@
 
 # When upgrading the version, be sure to also upgrade
 # python-configshell-fb and targetcli-fb at the same time.
-PYTHON_RTSLIB_FB_VERSION = 2.1.76
-# Do not switch site to PyPI: it does not contain the latest version.
-PYTHON_RTSLIB_FB_SITE = $(call github,open-iscsi,rtslib-fb,v$(PYTHON_RTSLIB_FB_VERSION))
+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 = setuptools
-PYTHON_RTSLIB_FB_DEPENDENCIES = python-six
+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))
diff --git a/package/targetcli-fb/Config.in b/package/targetcli-fb/Config.in
index eb7528fbea..4455a6ce31 100644
--- a/package/targetcli-fb/Config.in
+++ b/package/targetcli-fb/Config.in
@@ -14,6 +14,7 @@ config BR2_PACKAGE_TARGETCLI_FB
 	depends on BR2_HOST_GCC_AT_LEAST_8 # python-gobject -> gobject-introspection
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # python-gobject -> gobject-introspection
 	depends on BR2_TOOLCHAIN_USES_GLIBC # python-gobject -> gobject-introspection
+	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
@@ -24,3 +25,6 @@ config BR2_PACKAGE_TARGETCLI_FB
 	  versions.
 
 	  https://github.com/open-iscsi/targetcli-fb
+
+comment "targetcli-fb needs libudev"
+	depends on !BR2_PACKAGE_HAS_LIBUDEV
-- 
2.53.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 3/3] package/targetcli-fb: bump to version 3.0.2
  2026-10-13 21:20 [Buildroot] [PATCH 1/3] package/python-configshell-fb: bump to version 2.0.3 James Hilliard
  2026-10-13 21:20 ` [Buildroot] [PATCH 2/3] package/python-rtslib-fb: bump to version 2.2.4 James Hilliard
@ 2026-10-13 21:20 ` James Hilliard
  2026-10-13 21:32 ` [Buildroot] [PATCH 1/3] package/python-configshell-fb: bump to version 2.0.3 Thomas Petazzoni via buildroot
  2 siblings, 0 replies; 4+ messages in thread
From: James Hilliard @ 2026-10-13 21:20 UTC (permalink / raw)
  To: buildroot; +Cc: Christophe Vu-Brugier, James Hilliard

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 <james.hilliard1@gmail.com>
---
 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 \
-- 
2.53.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [Buildroot] [PATCH 1/3] package/python-configshell-fb: bump to version 2.0.3
  2026-10-13 21:20 [Buildroot] [PATCH 1/3] package/python-configshell-fb: bump to version 2.0.3 James Hilliard
  2026-10-13 21:20 ` [Buildroot] [PATCH 2/3] package/python-rtslib-fb: bump to version 2.2.4 James Hilliard
  2026-10-13 21:20 ` [Buildroot] [PATCH 3/3] package/targetcli-fb: bump to version 3.0.2 James Hilliard
@ 2026-10-13 21:32 ` Thomas Petazzoni via buildroot
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-10-13 21:32 UTC (permalink / raw)
  To: James Hilliard; +Cc: buildroot, Christophe Vu-Brugier

On Tue, Oct 13, 2026 at 03:20:35PM -0600, James Hilliard wrote:
> 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 configshell_fb module.
> 
> Drop the obsolete six and urwid runtime dependencies. Select curses
> explicitly, since it was previously pulled in by urwid.
> 
> Update the license hash for the removal of a trailing blank line:
> https://github.com/open-iscsi/configshell-fb/commit/36306fd6f839b66e958d692230ead8d49883abd8
> 
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>

Could you report to upstream the issue of the missing symlink in the
Pypi archives?

Otherwise: series applied, thanks!

Best regards,

Thomas Petazzoni
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-10-13 21:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-13 21:20 [Buildroot] [PATCH 1/3] package/python-configshell-fb: bump to version 2.0.3 James Hilliard
2026-10-13 21:20 ` [Buildroot] [PATCH 2/3] package/python-rtslib-fb: bump to version 2.2.4 James Hilliard
2026-10-13 21:20 ` [Buildroot] [PATCH 3/3] package/targetcli-fb: bump to version 3.0.2 James Hilliard
2026-10-13 21:32 ` [Buildroot] [PATCH 1/3] package/python-configshell-fb: bump to version 2.0.3 Thomas Petazzoni via buildroot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.