Skip to contentSkip to conversation

package/python-dicttoxml2: new package

PATCH Applied yegorslists--- via buildroot 1 participant 2 messages Nov 23, 2022 – Nov 24, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python-dicttoxml2: new package

From: Yegor Yefremov <[email protected]>

Add a maintained fork instead of the abandoned dicttoxml.

---
 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
package/Config.in +1 -0
index cafd3b338c..7d227f8112 100644
@@ -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"
package/python-dicttoxml2/Config.in new file +8 -0
new file mode 100644
index 0000000000..0bd8068dd6
@@ -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
package/python-dicttoxml2/python-dicttoxml2.hash new file +5 -0
new file mode 100644
index 0000000000..7f584cc000
@@ -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
package/python-dicttoxml2/python-dicttoxml2.mk new file +14 -0
new file mode 100644
index 0000000000..d2abe63860
@@ -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))
Signature · 6 lines
2.17.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 5 lines · On Wed, 23 Nov 2022 11:30:22 +0100 yegorslists--- via buildroot…

From: Yegor Yefremov <[email protected]>

Add a maintained fork instead of the abandoned dicttoxml.

Quoted 9 lines
---
 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

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