diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-05-24 08:16:49 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-05-24 08:16:53 +0000 |
commit | 9c6f83066a4455ab91d8eadac2d6bf1a9ee3e37b (patch) | |
tree | 113a1470ab69a7d680b21502353d919c73168df7 /testing | |
parent | 4e0565732b21673119d82f5801626d2235235d83 (diff) | |
download | aports-9c6f83066a4455ab91d8eadac2d6bf1a9ee3e37b.tar.bz2 aports-9c6f83066a4455ab91d8eadac2d6bf1a9ee3e37b.tar.xz |
testing/py-dicttoxml: new aport
Diffstat (limited to 'testing')
-rw-r--r-- | testing/py-dicttoxml/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/py-dicttoxml/APKBUILD b/testing/py-dicttoxml/APKBUILD new file mode 100644 index 0000000000..0fa43d598e --- /dev/null +++ b/testing/py-dicttoxml/APKBUILD @@ -0,0 +1,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" |