From 063b0875d6043aec9f977a35e13833101b862ac8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sun, 20 Sep 2020 13:20:49 +0700 Subject: [PATCH] python-xmltodict: drop package --- srcpkgs/python-xmltodict/template | 36 ------------------------------ srcpkgs/python3-xmltodict | 1 - srcpkgs/python3-xmltodict/template | 23 +++++++++++++++++++ 3 files changed, 23 insertions(+), 37 deletions(-) delete mode 100644 srcpkgs/python-xmltodict/template delete mode 120000 srcpkgs/python3-xmltodict create mode 100644 srcpkgs/python3-xmltodict/template diff --git a/srcpkgs/python-xmltodict/template b/srcpkgs/python-xmltodict/template deleted file mode 100644 index b3d7ef042e8..00000000000 --- a/srcpkgs/python-xmltodict/template +++ /dev/null @@ -1,36 +0,0 @@ -# Template file for 'python-xmltodict' -pkgname=python-xmltodict -version=0.12.0 -revision=2 -archs=noarch -wrksrc="xmltodict-${version}" -build_style=python-module -pycompile_module="xmltodict.py" -hostmakedepends="python-setuptools python3-setuptools" -depends="python" -checkdepends="python3-nose" -short_desc="Python2 module that makes working with XML feel like working JSON" -maintainer="Orphaned " -license="MIT" -homepage="https://github.com/martinblech/xmltodict" -distfiles="${PYPI_SITE}/x/xmltodict/xmltodict-${version}.tar.gz" -checksum=50d8c638ed7ecb88d90561beedbf720c9b4e851a9fa6c47ebd64e99d166d8a21 - -do_check() { - nosetests3 -} - -post_install() { - vlicense LICENSE -} - -python3-xmltodict_package() { - archs=noarch - short_desc="${short_desc/Python2/Python3}" - pycompile_module="xmltodict.py" - depends="python3" - pkg_install() { - vmove usr/lib/python3* - vlicense LICENSE - } -} diff --git a/srcpkgs/python3-xmltodict b/srcpkgs/python3-xmltodict deleted file mode 120000 index 254a7262e5f..00000000000 --- a/srcpkgs/python3-xmltodict +++ /dev/null @@ -1 +0,0 @@ -python-xmltodict \ No newline at end of file diff --git a/srcpkgs/python3-xmltodict/template b/srcpkgs/python3-xmltodict/template new file mode 100644 index 00000000000..69e7f78c775 --- /dev/null +++ b/srcpkgs/python3-xmltodict/template @@ -0,0 +1,23 @@ +# Template file for 'python3-xmltodict' +pkgname=python3-xmltodict +version=0.12.0 +revision=3 +wrksrc="xmltodict-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +checkdepends="python3-nose" +short_desc="Python3 module that makes working with XML feel like working JSON" +maintainer="Orphaned " +license="MIT" +homepage="https://github.com/martinblech/xmltodict" +distfiles="${PYPI_SITE}/x/xmltodict/xmltodict-${version}.tar.gz" +checksum=50d8c638ed7ecb88d90561beedbf720c9b4e851a9fa6c47ebd64e99d166d8a21 + +do_check() { + nosetests3 +} + +post_install() { + vlicense LICENSE +}