1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 19:25:25 +03:00
aports/testing/py3-dict2xml/APKBUILD
2022-12-24 11:22:49 +01:00

30 lines
768 B
Text

# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-dict2xml
_pyname=dict2xml
pkgver=1.7.2
pkgrel=0
pkgdesc="Small utility to convert a python dictionary into an XML string"
url="https://github.com/delfick/python-dict2xml"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-nose-of-yeti"
source="https://files.pythonhosted.org/packages/source/d/dict2xml/dict2xml-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"
build() {
python3 setup.py build
}
check() {
pytest
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
fea3a65c5decfee8a22135fc262764c9afbc6b9f41232557f2de1b18a5b30e65c6910ef9f7d4e4b22c2d6c27d5b18eb6a83679c656564061bb7e5e8c55945c76 dict2xml-1.7.2.tar.gz
"