From: yegorslists at googlemail.com Date: Tue, 12 Sep 2017 11:50:55 +0200 Subject: [Buildroot] [PATCH 2/3] python-xmltodict: new package In-Reply-To: <20170912095056.13692-1-yegorslists@googlemail.com> References: <20170912095056.13692-1-yegorslists@googlemail.com> Message-ID: <20170912095056.13692-2-yegorslists@googlemail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net From: Yegor Yefremov Signed-off-by: Yegor Yefremov --- package/Config.in | 1 + package/python-xmltodict/Config.in | 8 ++++++++ package/python-xmltodict/python-xmltodict.hash | 4 ++++ package/python-xmltodict/python-xmltodict.mk | 14 ++++++++++++++ 4 files changed, 27 insertions(+) create mode 100644 package/python-xmltodict/Config.in create mode 100644 package/python-xmltodict/python-xmltodict.hash create mode 100644 package/python-xmltodict/python-xmltodict.mk diff --git a/package/Config.in b/package/Config.in index 457896fa07..2a47775269 100644 --- a/package/Config.in +++ b/package/Config.in @@ -908,6 +908,7 @@ menu "External python modules" source "package/python-xlsxwriter/Config.in" source "package/python-xlutils/Config.in" source "package/python-xlwt/Config.in" + source "package/python-xmltodict/Config.in" source "package/python-zope-interface/Config.in" endmenu endif diff --git a/package/python-xmltodict/Config.in b/package/python-xmltodict/Config.in new file mode 100644 index 0000000000..cb12392c93 --- /dev/null +++ b/package/python-xmltodict/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_XMLTODICT + bool "python-xmltodict" + select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON # runtime + select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 # runtime + help + Makes working with XML feel like you are working with JSON. + + https://github.com/martinblech/xmltodict diff --git a/package/python-xmltodict/python-xmltodict.hash b/package/python-xmltodict/python-xmltodict.hash new file mode 100644 index 0000000000..4cb265e9b7 --- /dev/null +++ b/package/python-xmltodict/python-xmltodict.hash @@ -0,0 +1,4 @@ +# md5 from https://pypi.python.org/pypi/xmltodict/json, sha256 locally computed +md5 9f955947db085485873ac68154e88069 xmltodict-0.11.0.tar.gz +sha256 8f8d7d40aa28d83f4109a7e8aa86e67a4df202d9538be40c0cb1d70da527b0df xmltodict-0.11.0.tar.gz +sha256 d66d5eb8f83a0ba21d3dd04318b8817588e8764daabea852d1035e3f07ffda55 LICENSE diff --git a/package/python-xmltodict/python-xmltodict.mk b/package/python-xmltodict/python-xmltodict.mk new file mode 100644 index 0000000000..66007dfb84 --- /dev/null +++ b/package/python-xmltodict/python-xmltodict.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-xmltodict +# +################################################################################ + +PYTHON_XMLTODICT_VERSION = 0.11.0 +PYTHON_XMLTODICT_SOURCE = xmltodict-$(PYTHON_XMLTODICT_VERSION).tar.gz +PYTHON_XMLTODICT_SITE = https://pypi.python.org/packages/57/17/a6acddc5f5993ea6eaf792b2e6c3be55e3e11f3b85206c818572585f61e1 +PYTHON_XMLTODICT_SETUP_TYPE = setuptools +PYTHON_XMLTODICT_LICENSE = MIT +PYTHON_XMLTODICT_LICENSE_FILES = LICENSE + +$(eval $(python-package)) -- 2.11.0