aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-dicttoxml/APKBUILD
blob: 66a0ab5f666433f2906e407bbfd39634953f4924 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py-dicttoxml
_pkgname=dicttoxml
pkgver=1.6.6
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="GPL2"
depends=""
depends_dev=""
makedepends="$depends_dev python-dev"
install=""
subpackages=""
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

builddir="$srcdir/$_pkgname-$pkgver"
build() {
	cd "$builddir"
	python setup.py build || return 1
}

package() {
	cd "$builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="5318bc0dbd1fe0a265ec23bd680c5ead  dicttoxml-1.6.6.tar.gz"
sha256sums="8229dcbadbe8a417b5e221b0bd56dff8a8ffd250951e6e95d51d5c5e2a77cc68  dicttoxml-1.6.6.tar.gz"
sha512sums="d2bf83f107b5d81a4fd04e9a5beb162db65808f7bb97d15de5d34beb8a4a2f68fce9e4c46f9c0c56d56c4fcce48181b3175a821834e4fb18d1ee4bc1ac952c8b  dicttoxml-1.6.6.tar.gz"