aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-dicttoxml/APKBUILD
blob: 0fa43d598e25a274cf9d13a443c536cd82f51dd0 (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
pkgver=1.6.6
_id="29393b4913b53ac9b4fa5cfc84d426e85289ed4f59e21f5d990d453defbc"
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://pypi.python.org/packages/92/14/$_id/${pkgname/py-/}-$pkgver.tar.gz"

builddir="$srcdir"/${pkgname/py-/}-$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"