* [Buildroot] [git commit] package/python-tomli: new package
@ 2022-01-08 23:14 Thomas Petazzoni
0 siblings, 0 replies; only message in thread
From: Thomas Petazzoni @ 2022-01-08 23:14 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=fff307fc4a4c58c8ba2faafd69614d0bb2d75a93
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
DEVELOPERS | 1 +
package/Config.in | 1 +
package/python-tomli/Config.in | 7 +++++++
package/python-tomli/python-tomli.hash | 5 +++++
package/python-tomli/python-tomli.mk | 16 ++++++++++++++++
5 files changed, 30 insertions(+)
diff --git a/DEVELOPERS b/DEVELOPERS
index bc07fdbde3..690a43f81b 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1312,6 +1312,7 @@ F: package/python-snappy/
F: package/python-sockjs/
F: package/python-terminaltables/
F: package/python-tinycss2/
+F: package/python-tomli/
F: package/python-weasyprint/
F: package/python-yarl/
F: package/python-zopfli/
diff --git a/package/Config.in b/package/Config.in
index dbfdcf6ce3..54d9f81e87 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1264,6 +1264,7 @@ menu "External python modules"
source "package/python-tinyrpc/Config.in"
source "package/python-tomako/Config.in"
source "package/python-toml/Config.in"
+ source "package/python-tomli/Config.in"
source "package/python-tornado/Config.in"
source "package/python-tqdm/Config.in"
source "package/python-traitlets/Config.in"
diff --git a/package/python-tomli/Config.in b/package/python-tomli/Config.in
new file mode 100644
index 0000000000..e1cecaaa36
--- /dev/null
+++ b/package/python-tomli/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_TOMLI
+ bool "python-tomli"
+ depends on BR2_PACKAGE_PYTHON3
+ help
+ A lil' TOML parser.
+
+ https://github.com/hukkin/tomli
diff --git a/package/python-tomli/python-tomli.hash b/package/python-tomli/python-tomli.hash
new file mode 100644
index 0000000000..1a274c8a40
--- /dev/null
+++ b/package/python-tomli/python-tomli.hash
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/tomli/json
+md5 2ecbc7a23b8c8dc2fe96f588f88463d9 tomli-1.2.0.tar.gz
+sha256 d60e681734099207a6add7a10326bc2ddd1fdc36c1b0f547d00ef73ac63739c2 tomli-1.2.0.tar.gz
+# Locally computed sha256 checksums
+sha256 b80816b0d530b8accb4c2211783790984a6e3b61922c2b5ee92f3372ab2742fe LICENSE
diff --git a/package/python-tomli/python-tomli.mk b/package/python-tomli/python-tomli.mk
new file mode 100644
index 0000000000..4e6b023ef7
--- /dev/null
+++ b/package/python-tomli/python-tomli.mk
@@ -0,0 +1,16 @@
+################################################################################
+#
+# python-tomli
+#
+################################################################################
+
+PYTHON_TOMLI_VERSION = 1.2.0
+PYTHON_TOMLI_SOURCE = tomli-$(PYTHON_TOMLI_VERSION).tar.gz
+PYTHON_TOMLI_SITE = https://files.pythonhosted.org/packages/ec/38/8eccdc662c61aed187d5f5b168c18b1d2de3827976c3691e4da8be7375aa
+PYTHON_TOMLI_SETUP_TYPE = distutils
+PYTHON_TOMLI_LICENSE = MIT
+PYTHON_TOMLI_LICENSE_FILES = LICENSE
+HOST_PYTHON_TOMLI_NEEDS_HOST_PYTHON = python3
+
+$(eval $(python-package))
+$(eval $(host-python-package))
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-08 23:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-08 23:14 [Buildroot] [git commit] package/python-tomli: new package Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).