Skip to contentSkip to conversation

package/python-tcolorpy: new package

PATCH In review James Hilliard 2 participants 3 messages Jan 11, 2024 – Feb 5, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/python-tcolorpy: new package

---
 package/Config.in                            |  1 +
 package/python-tcolorpy/Config.in            |  7 +++++++
 package/python-tcolorpy/python-tcolorpy.hash |  5 +++++
 package/python-tcolorpy/python-tcolorpy.mk   | 14 ++++++++++++++
 4 files changed, 27 insertions(+)
 create mode 100644 package/python-tcolorpy/Config.in
 create mode 100644 package/python-tcolorpy/python-tcolorpy.hash
 create mode 100644 package/python-tcolorpy/python-tcolorpy.mk
package/Config.in +1 -0
index 5b8b15fa54..47f2f87522 100644
@@ -1365,6 +1365,7 @@ menu "External python modules"
 	source "package/python-starlette/Config.in"
 	source "package/python-systemd/Config.in"
 	source "package/python-tabledata/Config.in"
+	source "package/python-tcolorpy/Config.in"
 	source "package/python-tempora/Config.in"
 	source "package/python-termcolor/Config.in"
 	source "package/python-terminaltables/Config.in"
package/python-tcolorpy/Config.in new file +7 -0
new file mode 100644
index 0000000000..e3e9058483
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_TCOLORPY
+	bool "python-tcolorpy"
+	help
+	  Tcolopy is a Python library to apply true color for
+	  terminal text.
+
+	  https://github.com/thombashi/tcolorpy
package/python-tcolorpy/python-tcolorpy.hash new file +5 -0
new file mode 100644
index 0000000000..cf5ca0e5f3
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/tcolorpy/json
+md5  ca571cccff812ecdc0c73968c9d24ebf  tcolorpy-0.1.4.tar.gz
+sha256  f0dceb1cb95e554cee63024b3cd2fd8d4628c568773de2d1e6b4f0478461901c  tcolorpy-0.1.4.tar.gz
+# Locally computed sha256 checksums
+sha256  f41a0456d5f2bba25fd4d7e50b51a95de304770ff1db5a79515d03397a914d8d  LICENSE
package/python-tcolorpy/python-tcolorpy.mk new file +14 -0
new file mode 100644
index 0000000000..5c42320c17
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-tcolorpy
+#
+################################################################################
+
+PYTHON_TCOLORPY_VERSION = 0.1.4
+PYTHON_TCOLORPY_SOURCE = tcolorpy-$(PYTHON_TCOLORPY_VERSION).tar.gz
+PYTHON_TCOLORPY_SITE = https://files.pythonhosted.org/packages/ba/e0/20b99847e76bb89784b68634399261d770b01054bca16cd19a06ac9c2e67
+PYTHON_TCOLORPY_SETUP_TYPE = setuptools
+PYTHON_TCOLORPY_LICENSE = MIT
+PYTHON_TCOLORPY_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))
Signature · 6 lines
2.34.1

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

PATCH 2/2 package/python-pytablewriter: bump to version 1.2.0

Drop no longer required python-msgfy runtime dependency.

Drop no longer required python-six runtime dependency.

Add new python-tcolorpy runtime dependency.

---
 package/python-pytablewriter/Config.in                | 11 ++++++-----
 .../python-pytablewriter/python-pytablewriter.hash    |  4 ++--
 package/python-pytablewriter/python-pytablewriter.mk  |  4 ++--
 3 files changed, 10 insertions(+), 9 deletions(-)
package/python-pytablewriter/Config.in +6 -5
index 041c30eb6c..e0252625cd 100644
@@ -2,14 +2,15 @@ config BR2_PACKAGE_PYTHON_PYTABLEWRITER
 	bool "python-pytablewriter"
 	select BR2_PACKAGE_PYTHON_DATAPROPERTY # runtime
 	select BR2_PACKAGE_PYTHON_MBSTRDECODER # runtime
-	select BR2_PACKAGE_PYTHON_MSGFY # runtime
 	select BR2_PACKAGE_PYTHON_PATHVALIDATE # runtime
-	select BR2_PACKAGE_PYTHON_SIX # runtime
 	select BR2_PACKAGE_PYTHON_TABLEDATA # runtime
+	select BR2_PACKAGE_PYTHON_TCOLORPY # runtime
 	select BR2_PACKAGE_PYTHON_TYPEPY # runtime
 	help
-	  pytablewriter is a python library to write a table in various
-	  formats: CSV, HTML, JavaScript, JSON, Markdown, Excel, Pandas,
-	  Python, reStructuredText.
+	  pytablewriter is a Python library to write a table in
+	  various formats: AsciiDoc / CSV / Elasticsearch / HTML /
+	  JavaScript / JSON / LaTeX / LDJSON / LTSV / Markdown /
+	  MediaWiki / NumPy / Excel / Pandas / Python /
+	  reStructuredText / SQLite / TOML / TSV / YAML.
 
 	  https://github.com/thombashi/pytablewriter
package/python-pytablewriter/python-pytablewriter.hash +2 -2
index f082542dfb..d4432ee121 100644
@@ -1,5 +1,5 @@
 # md5, sha256 from https://pypi.org/pypi/pytablewriter/json
-md5  0eaa4a2429d22389b5e4b8c5f5135bbb  pytablewriter-0.64.2.tar.gz
-sha256  99409d401d6ef5f06d1bc40f265a8e3053afe4cbfbaf709f71124076afb40dbb  pytablewriter-0.64.2.tar.gz
+md5  4e3d421d026f30fadec4ac1670e524ee  pytablewriter-1.2.0.tar.gz
+sha256  0204a4bb684a22140d640f2599f09e137bcdc18b3dd49426f4a555016e246b46  pytablewriter-1.2.0.tar.gz
 # Locally computed sha256 checksums
 sha256  a93d75bcb0774e2990106380cadad6dcb2de193c55d435ffc56ba345a08b1dc2  LICENSE
package/python-pytablewriter/python-pytablewriter.mk +2 -2
index d865a89330..d8bc3615dd 100644
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-PYTHON_PYTABLEWRITER_VERSION = 0.64.2
+PYTHON_PYTABLEWRITER_VERSION = 1.2.0
 PYTHON_PYTABLEWRITER_SOURCE = pytablewriter-$(PYTHON_PYTABLEWRITER_VERSION).tar.gz
-PYTHON_PYTABLEWRITER_SITE = https://files.pythonhosted.org/packages/a6/e1/50c1cd9734a9edc1386913b178f9e4757c1bc37665c1855a6596c25957d6
+PYTHON_PYTABLEWRITER_SITE = https://files.pythonhosted.org/packages/cc/a9/76aa4430d32ae10b23e4347006dc4c67a3e2a00621e4bb38a60c1a77f15e
 PYTHON_PYTABLEWRITER_SETUP_TYPE = setuptools
 PYTHON_PYTABLEWRITER_LICENSE = MIT
 PYTHON_PYTABLEWRITER_LICENSE_FILES = LICENSE
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
In reply to James Hilliard
Quoted 10 lines · On Wed, 10 Jan 2024 20:00:21 -0700 James Hilliard <[email protected]>…
---
 package/Config.in                            |  1 +
 package/python-tcolorpy/Config.in            |  7 +++++++
 package/python-tcolorpy/python-tcolorpy.hash |  5 +++++
 package/python-tcolorpy/python-tcolorpy.mk   | 14 ++++++++++++++
 4 files changed, 27 insertions(+)
 create mode 100644 package/python-tcolorpy/Config.in
 create mode 100644 package/python-tcolorpy/python-tcolorpy.hash
 create mode 100644 package/python-tcolorpy/python-tcolorpy.mk

Both applied, thanks!

Thomas

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