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

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.