aboutsummaryrefslogblamecommitdiffstats
path: root/testing/py3-xmltodict/APKBUILD
blob: 6e46efa2da3c92df15786bcb3ee21ddb056e2414 (plain) (tree)
1
2
3
4
5
6
7
8
9





                                             


                                             
             
                 






                                                                                                   

         


                              

                 

 

                                                               

 
                                                                                                                                                                          
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=py3-xmltodict
_realname=xmltodict
pkgver=0.12.0
pkgrel=0
pkgdesc="an xmltodict implementation"
url="https://pypi.python.org/pypi/xmltodict/"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-nose py3-coverage"
source="$pkgname-$pkgver.tar.gz::https://github.com/martinblech/$_realname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$_realname-$pkgver"

replaces="py-xmltodict" # Backward compat
provides="py-xmltodict=$pkgver-r$pkgrel" # Backward compat

build() {
	python3 setup.py build
}

check() {
	nosetests
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="baab65299134f3daec05e6c1d9cbb80343cc89f7d1fee2fd3be2bba0bc5c7dd78dcc72abd8cb721edd0c9504eab2d9e4135618237b54a85809dc0cf42b6f7616  py3-xmltodict-0.12.0.tar.gz"