Skip to contentSkip to conversation

package/python-shellingham: new package

PATCH In review James Hilliard 2 participants 5 messages Oct 3 – Oct 19

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 package/python-shellingham: new package

---
 package/Config.in                                  |  1 +
 package/python-shellingham/Config.in               |  6 ++++++
 package/python-shellingham/python-shellingham.hash |  5 +++++
 package/python-shellingham/python-shellingham.mk   | 14 ++++++++++++++
 4 files changed, 26 insertions(+)
 create mode 100644 package/python-shellingham/Config.in
 create mode 100644 package/python-shellingham/python-shellingham.hash
 create mode 100644 package/python-shellingham/python-shellingham.mk
package/Config.in +1 -0
index dc829675ff..59d5b893da 100644
@@ -1425,6 +1425,7 @@ menu "External python modules"
 	source "package/python-setproctitle/Config.in"
 	source "package/python-setuptools/Config.in"
 	source "package/python-sh/Config.in"
+	source "package/python-shellingham/Config.in"
 	source "package/python-shutilwhich/Config.in"
 	source "package/python-simple-pid/Config.in"
 	source "package/python-simple-websocket/Config.in"
package/python-shellingham/Config.in new file +6 -0
new file mode 100644
index 0000000000..3d3ec047b5
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_SHELLINGHAM
+	bool "python-shellingham"
+	help
+	  Tool to detect the shell you are using.
+
+	  https://github.com/sarugaku/shellingham
package/python-shellingham/python-shellingham.hash new file +5 -0
new file mode 100644
index 0000000000..d83c2fa88e
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/shellingham/1.5.4/json
+md5  883d381da8fe788fb24428591e61eb20  shellingham-1.5.4.tar.gz
+sha256  8dbca0739d487e5bd35ab3ca4b36e11c4078f3a234bfce294b0a0291363404de  shellingham-1.5.4.tar.gz
+# Locally computed sha256 checksums
+sha256  f388fd38cad13112c1dc0f669bbe80e7f84541edbafb72f3030d2ca7642c3c9d  LICENSE
package/python-shellingham/python-shellingham.mk new file +14 -0
new file mode 100644
index 0000000000..7e07606714
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-shellingham
+#
+################################################################################
+
+PYTHON_SHELLINGHAM_VERSION = 1.5.4
+PYTHON_SHELLINGHAM_SOURCE = shellingham-$(PYTHON_SHELLINGHAM_VERSION).tar.gz
+PYTHON_SHELLINGHAM_SITE = https://files.pythonhosted.org/packages/58/15/8b3609fd3830ef7b27b655beb4b4e9c62313a4e8da8c676e142cc210d58e
+PYTHON_SHELLINGHAM_SETUP_TYPE = setuptools
+PYTHON_SHELLINGHAM_LICENSE = ISC
+PYTHON_SHELLINGHAM_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))
Signature · 6 lines
2.53.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH 2/4 package/python-typer: new package

---
 package/Config.in                      |  1 +
 package/python-typer/Config.in         |  9 +++++++++
 package/python-typer/python-typer.hash |  6 ++++++
 package/python-typer/python-typer.mk   | 15 +++++++++++++++
 4 files changed, 31 insertions(+)
 create mode 100644 package/python-typer/Config.in
 create mode 100644 package/python-typer/python-typer.hash
 create mode 100644 package/python-typer/python-typer.mk
package/Config.in +1 -0
index 59d5b893da..0b6b7c3188 100644
@@ -1491,6 +1491,7 @@ menu "External python modules"
 	source "package/python-txtorcon/Config.in"
 	source "package/python-typeguard/Config.in"
 	source "package/python-typepy/Config.in"
+	source "package/python-typer/Config.in"
 	source "package/python-types-python-dateutil/Config.in"
 	source "package/python-typing-extensions/Config.in"
 	source "package/python-typing-inspect/Config.in"
package/python-typer/Config.in new file +9 -0
new file mode 100644
index 0000000000..e78557d95d
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_PYTHON_TYPER
+	bool "python-typer"
+	select BR2_PACKAGE_PYTHON_ANNOTATED_DOC # runtime
+	select BR2_PACKAGE_PYTHON_RICH # runtime
+	select BR2_PACKAGE_PYTHON_SHELLINGHAM # runtime
+	help
+	  Build command-line interfaces using Python type hints.
+
+	  https://github.com/fastapi/typer
package/python-typer/python-typer.hash new file +6 -0
new file mode 100644
index 0000000000..aac74ce2bb
@@ -0,0 +1,6 @@
+# md5, sha256 from https://pypi.org/pypi/typer/0.27.2/json
+md5  2d81e72fd4c60a94c9d1b6ade7142f65  typer-0.27.2.tar.gz
+sha256  269b7eb9d3c202ca84b4bc9618cb04ebb43d3d4d1e567e4c768607232c05f945  typer-0.27.2.tar.gz
+# Locally computed sha256 checksums
+sha256  58992cebcf8dfb6e40c4e2112ed12126c243666dca3912a3d78b7ecac4859d49  LICENSE
+sha256  9a8ad106a394e853bfe21f42f4e72d592819a22805d991b5f3275029292b658d  typer/_click/LICENSE.txt
package/python-typer/python-typer.mk new file +15 -0
new file mode 100644
index 0000000000..ca0d1c6ee7
@@ -0,0 +1,15 @@
+################################################################################
+#
+# python-typer
+#
+################################################################################
+
+PYTHON_TYPER_VERSION = 0.27.2
+PYTHON_TYPER_SOURCE = typer-$(PYTHON_TYPER_VERSION).tar.gz
+PYTHON_TYPER_SITE = https://files.pythonhosted.org/packages/16/f7/57713ba479fd405eb76de31404b2c744c289e336b2d999511ebf51e496f7
+PYTHON_TYPER_SETUP_TYPE = pep517
+PYTHON_TYPER_LICENSE = MIT, BSD-3-Clause (vendored click)
+PYTHON_TYPER_LICENSE_FILES = LICENSE typer/_click/LICENSE.txt
+PYTHON_TYPER_DEPENDENCIES = host-python-pdm-backend
+
+$(eval $(python-package))
Signature · 6 lines
2.53.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

PATCH 3/4 package/python-typer-slim: new package

In reply to James Hilliard
---
 package/Config.in                                |  1 +
 package/python-typer-slim/Config.in              |  7 +++++++
 package/python-typer-slim/python-typer-slim.hash |  5 +++++
 package/python-typer-slim/python-typer-slim.mk   | 15 +++++++++++++++
 4 files changed, 28 insertions(+)
 create mode 100644 package/python-typer-slim/Config.in
 create mode 100644 package/python-typer-slim/python-typer-slim.hash
 create mode 100644 package/python-typer-slim/python-typer-slim.mk
package/Config.in +1 -0
index 0b6b7c3188..b2154373a1 100644
@@ -1492,6 +1492,7 @@ menu "External python modules"
 	source "package/python-typeguard/Config.in"
 	source "package/python-typepy/Config.in"
 	source "package/python-typer/Config.in"
+	source "package/python-typer-slim/Config.in"
 	source "package/python-types-python-dateutil/Config.in"
 	source "package/python-typing-extensions/Config.in"
 	source "package/python-typing-inspect/Config.in"
package/python-typer-slim/Config.in new file +7 -0
new file mode 100644
index 0000000000..b7ebd275ff
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_TYPER_SLIM
+	bool "python-typer-slim"
+	select BR2_PACKAGE_PYTHON_TYPER # runtime
+	help
+	  Compatibility package that depends on Typer.
+
+	  https://github.com/fastapi/typer
package/python-typer-slim/python-typer-slim.hash new file +5 -0
new file mode 100644
index 0000000000..a28241beac
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/typer_slim/0.24.0/json
+md5  14f8007acf188b8e8c3d41f9f4e00be9  typer_slim-0.24.0.tar.gz
+sha256  f0ed36127183f52ae6ced2ecb2521789995992c521a46083bfcdbb652d22ad34  typer_slim-0.24.0.tar.gz
+# Locally computed sha256 checksums
+sha256  58992cebcf8dfb6e40c4e2112ed12126c243666dca3912a3d78b7ecac4859d49  LICENSE
package/python-typer-slim/python-typer-slim.mk new file +15 -0
new file mode 100644
index 0000000000..0be49b20e8
@@ -0,0 +1,15 @@
+################################################################################
+#
+# python-typer-slim
+#
+################################################################################
+
+PYTHON_TYPER_SLIM_VERSION = 0.24.0
+PYTHON_TYPER_SLIM_SOURCE = typer_slim-$(PYTHON_TYPER_SLIM_VERSION).tar.gz
+PYTHON_TYPER_SLIM_SITE = https://files.pythonhosted.org/packages/a7/a7/e6aecc4b4eb59598829a3b5076a93aff291b4fdaa2ded25efc4e1f4d219c
+PYTHON_TYPER_SLIM_SETUP_TYPE = pep517
+PYTHON_TYPER_SLIM_LICENSE = MIT
+PYTHON_TYPER_SLIM_LICENSE_FILES = LICENSE
+PYTHON_TYPER_SLIM_DEPENDENCIES = host-python-pdm-backend
+
+$(eval $(python-package))
Signature · 6 lines
2.53.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw

PATCH 4/4 package/python-jaraco-text: bump to version 4.3.0

In reply to James Hilliard

Add the host-python-coherent-licensed build dependency.

Update license hash due to generated license text:
https://github.com/jaraco/jaraco.text/commit/9a81db3c77bc106017dcd4b0853a5a94f43ae33c

Add the python-typer-slim runtime dependency.

Drop the no longer required python-autocommand dependency.

---
 package/python-jaraco-text/Config.in               | 2 +-
 package/python-jaraco-text/python-jaraco-text.hash | 6 +++---
 package/python-jaraco-text/python-jaraco-text.mk   | 6 +++---
 3 files changed, 7 insertions(+), 7 deletions(-)
package/python-jaraco-text/Config.in +1 -1
index 44000ccb18..9d987063df 100644
@@ -1,9 +1,9 @@
 config BR2_PACKAGE_PYTHON_JARACO_TEXT
 	bool "python-jaraco-text"
-	select BR2_PACKAGE_PYTHON_AUTOCOMMAND # runtime
 	select BR2_PACKAGE_PYTHON_JARACO_CONTEXT # runtime
 	select BR2_PACKAGE_PYTHON_JARACO_FUNCTOOLS # runtime
 	select BR2_PACKAGE_PYTHON_MORE_ITERTOOLS # runtime
+	select BR2_PACKAGE_PYTHON_TYPER_SLIM # runtime
 	help
 	  Module for text manipulation.
 
package/python-jaraco-text/python-jaraco-text.hash +3 -3
index 8de574393e..e4c69141ae 100644
@@ -1,5 +1,5 @@
 # md5, sha256 from https://pypi.org/pypi/jaraco-text/json
-md5  3c519c7a49d6448e6dc2073d466afd39  jaraco_text-4.0.0.tar.gz
-sha256  5b71fecea69ab6f939d4c906c04fee1eda76500d1641117df6ec45b865f10db0  jaraco_text-4.0.0.tar.gz
+md5  23d91c6899e89f3bb1bb6f9148302b92  jaraco_text-4.3.0.tar.gz
+sha256  ddd5eb6259d0701e08cb642c8d6b63bcc73947d03df9239ea67bbef911b3e4e1  jaraco_text-4.3.0.tar.gz
 # Locally computed sha256 checksums
-sha256  86da0f01aeae46348a3c3d465195dc1ceccde79f79e87769a64b8da04b2a4741  LICENSE
+sha256  9755a18519666e5f0f4cae3daad3d7012bcae48a600b31237d75e9fe134e6683  LICENSE
package/python-jaraco-text/python-jaraco-text.mk +3 -3
index 2d612196a6..e0868bc575 100644
@@ -4,12 +4,12 @@
 #
 ################################################################################
 
-PYTHON_JARACO_TEXT_VERSION = 4.0.0
+PYTHON_JARACO_TEXT_VERSION = 4.3.0
 PYTHON_JARACO_TEXT_SOURCE = jaraco_text-$(PYTHON_JARACO_TEXT_VERSION).tar.gz
-PYTHON_JARACO_TEXT_SITE = https://files.pythonhosted.org/packages/4f/00/1b4dbbc5c6dcb87a4278cc229b2b560484bf231bba7922686c5139e5f934
+PYTHON_JARACO_TEXT_SITE = https://files.pythonhosted.org/packages/be/8c/c74f1107719400477289d99cd2c0b5b7809a45f60acecfb5ef961c3533c8
 PYTHON_JARACO_TEXT_SETUP_TYPE = setuptools
 PYTHON_JARACO_TEXT_LICENSE = MIT
 PYTHON_JARACO_TEXT_LICENSE_FILES = LICENSE
-PYTHON_JARACO_TEXT_DEPENDENCIES = host-python-setuptools-scm
+PYTHON_JARACO_TEXT_DEPENDENCIES = host-python-coherent-licensed host-python-setuptools-scm
 
 $(eval $(python-package))
Signature · 6 lines
2.53.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#4 lore raw
In reply to James Hilliard
Quoted 1 line · James Hilliard

Series applied to master, thanks!

Best regards,

Thomas Petazzoni

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot