void-packages/srcpkgs/python-xmltodict/template
Lugubris d78cb0d201 Drop maintainership of orphaned packages
some packages were dropped but their maintainer= was not updated in template.
this will help new maintainers adopt these packages.

-> https://github.com/void-linux/void-packages/pull/13930#issuecomment-524610652
2019-08-25 21:16:43 +02:00

36 lines
893 B
Bash

# Template file for 'python-xmltodict'
pkgname=python-xmltodict
version=0.12.0
revision=1
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 <orphan@voidlinux.org>"
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
}
}