mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
29 lines
945 B
Text
29 lines
945 B
Text
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=py3-dicttoxml
|
|
_pkgname=dicttoxml
|
|
pkgver=1.7.16
|
|
pkgrel=0
|
|
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 --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
ac9d5b0f8acd0a18f918309cacba131843feebd6ad7c94935062d6e1ed7b529c5b91d6a9b65787647f73616e974d0599e8515bb07d69b036483d3a733e4dec6a dicttoxml-1.7.16.tar.gz
|
|
"
|