New package: python-xmltodict-0.11.0.

Closes: #11472 [via git-merge-pr]
This commit is contained in:
maxice8 2018-02-13 16:53:55 -02:00 committed by Michael Aldridge
parent 1bde087d38
commit 66a817960d
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,36 @@
# Template file for 'python-xmltodict'
pkgname=python-xmltodict
version=0.11.0
revision=1
wrksrc="xmltodict-${version}"
build_style=python-module
pycompile_module="xmltodict.py"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
checkdepends="python3-nose2"
short_desc="Python2 module that makes working with XML feel like working JSON"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="MIT"
homepage="https://github.com/martinblech/xmltodict"
distfiles="${PYPI_SITE}/x/xmltodict/xmltodict-${version}.tar.gz"
checksum=8f8d7d40aa28d83f4109a7e8aa86e67a4df202d9538be40c0cb1d70da527b0df
noarch=yes
do_check() {
nosetest
}
post_install() {
vlicense LICENSE
}
python3-xmltodict_package() {
noarch=yes
short_desc="${short_desc/Python2/Python3}"
pycompile_module="xmltodict.py"
depends="python3"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}

1
srcpkgs/python3-xmltodict Symbolic link
View file

@ -0,0 +1 @@
python-xmltodict