# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=py3-dicttoxml _pkgname=dicttoxml pkgver=1.7.4 pkgrel=4 pkgdesc="Converts a Python dictionary or other native data type into a valid XML string" url="https://github.com/quandyfactory/dicttoxml" arch="noarch" license="GPL-2.0-only" depends="python3" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" options="!check" # No test suite replaces=py-dicttoxml # Backwards compatibility provides=py-dicttoxml=$pkgver-r$pkgrel # Backwards compatibility build() { python3 setup.py build } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="91abcf2b9b248717618e9fc1c8694e881b9deaa16438dd4674f94a22b4aabfdab3b13f95c3d44a60577d49eca82fb268f59b33d1312cf5388bdaf949a2865cbf dicttoxml-1.7.4.tar.gz"