* [Buildroot] [PATCH branch/next] package/python-dicttoxml2: new package
@ 2022-11-23 10:30 yegorslists--- via buildroot
2022-11-24 21:48 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: yegorslists--- via buildroot @ 2022-11-23 10:30 UTC (permalink / raw)
To: buildroot; +Cc: Thomas Petazzoni, Asaf Kahlon
From: Yegor Yefremov <yegorslists@googlemail.com>
Add a maintained fork instead of the abandoned dicttoxml.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
package/Config.in | 1 +
package/python-dicttoxml2/Config.in | 8 ++++++++
package/python-dicttoxml2/python-dicttoxml2.hash | 5 +++++
package/python-dicttoxml2/python-dicttoxml2.mk | 14 ++++++++++++++
4 files changed, 28 insertions(+)
create mode 100644 package/python-dicttoxml2/Config.in
create mode 100644 package/python-dicttoxml2/python-dicttoxml2.hash
create mode 100644 package/python-dicttoxml2/python-dicttoxml2.mk
diff --git a/package/Config.in b/package/Config.in
index cafd3b338c..7d227f8112 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1021,6 +1021,7 @@ menu "External python modules"
source "package/python-defusedxml/Config.in"
source "package/python-dialog3/Config.in"
source "package/python-dicttoxml/Config.in"
+ source "package/python-dicttoxml2/Config.in"
source "package/python-distro/Config.in"
source "package/python-django/Config.in"
source "package/python-django-enumfields/Config.in"
diff --git a/package/python-dicttoxml2/Config.in b/package/python-dicttoxml2/Config.in
new file mode 100644
index 0000000000..0bd8068dd6
--- /dev/null
+++ b/package/python-dicttoxml2/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PYTHON_DICTTOXML2
+ bool "python-dicttoxml2"
+ select BR2_PACKAGE_PYTHON3_PYEXPAT
+ help
+ Converts a Python dictionary or other native data type into
+ a valid XML string.
+
+ https://github.com/Ousret/dicttoxml
diff --git a/package/python-dicttoxml2/python-dicttoxml2.hash b/package/python-dicttoxml2/python-dicttoxml2.hash
new file mode 100644
index 0000000000..7f584cc000
--- /dev/null
+++ b/package/python-dicttoxml2/python-dicttoxml2.hash
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/dicttoxml2/json
+md5 787ea4b80cd6234a41c016e8efa7ff40 dicttoxml2-2.1.0.tar.gz
+sha256 67cb729f337dd752808c021b70c8df8a34f84b9e111a5dbaa37e000eeaf4d462 dicttoxml2-2.1.0.tar.gz
+# Locally computed
+sha256 4514114bd9da0b2fbf8c4fa264c0e6cc80fd41e6ac7f09d7a39a215662951c7c LICENCE.txt
diff --git a/package/python-dicttoxml2/python-dicttoxml2.mk b/package/python-dicttoxml2/python-dicttoxml2.mk
new file mode 100644
index 0000000000..d2abe63860
--- /dev/null
+++ b/package/python-dicttoxml2/python-dicttoxml2.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-dicttoxml2
+#
+################################################################################
+
+PYTHON_DICTTOXML2_VERSION = 2.1.0
+PYTHON_DICTTOXML2_SOURCE = dicttoxml2-$(PYTHON_DICTTOXML2_VERSION).tar.gz
+PYTHON_DICTTOXML2_SITE = https://files.pythonhosted.org/packages/0b/24/7a6d37b2770843e34685e470fd711955cb0f77c354c73d8ca64b02420bce
+PYTHON_DICTTOXML2_SETUP_TYPE = setuptools
+PYTHON_DICTTOXML2_LICENSE = GPL-2.0
+PYTHON_DICTTOXML2_LICENSE_FILES = LICENCE.txt
+
+$(eval $(python-package))
--
2.17.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH branch/next] package/python-dicttoxml2: new package
2022-11-23 10:30 [Buildroot] [PATCH branch/next] package/python-dicttoxml2: new package yegorslists--- via buildroot
@ 2022-11-24 21:48 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-11-24 21:48 UTC (permalink / raw)
To: yegorslists--- via buildroot; +Cc: Asaf Kahlon
On Wed, 23 Nov 2022 11:30:22 +0100
yegorslists--- via buildroot <buildroot@buildroot.org> wrote:
> From: Yegor Yefremov <yegorslists@googlemail.com>
>
> Add a maintained fork instead of the abandoned dicttoxml.
>
> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
> ---
> package/Config.in | 1 +
> package/python-dicttoxml2/Config.in | 8 ++++++++
> package/python-dicttoxml2/python-dicttoxml2.hash | 5 +++++
> package/python-dicttoxml2/python-dicttoxml2.mk | 14 ++++++++++++++
> 4 files changed, 28 insertions(+)
> create mode 100644 package/python-dicttoxml2/Config.in
> create mode 100644 package/python-dicttoxml2/python-dicttoxml2.hash
> create mode 100644 package/python-dicttoxml2/python-dicttoxml2.mk
Applied to next, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-11-24 21:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-23 10:30 [Buildroot] [PATCH branch/next] package/python-dicttoxml2: new package yegorslists--- via buildroot
2022-11-24 21:48 ` Thomas Petazzoni via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox