aboutsummaryrefslogblamecommitdiffstats
path: root/testing/py3-humanize/APKBUILD
blob: b3df50b79d3065d5ae9a4c1eede873b386f9c536 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12




                                                   
        





                                           

                                                                                             








                                                               



                             



                                                               
                                                                                                                                                                    
# Contributor: Thomas Boerger <thomas@webhippie.de>
# Maintainer: Thomas Boerger <thomas@webhippie.de>
pkgname=py3-humanize
_pkgname=humanize
pkgver=0.5.1
pkgrel=5
pkgdesc="Python humanize functions"
url="https://pypi.python.org/pypi/humanize"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-mock"
source="$_pkgname-$pkgver.tar.gz::https://github.com/jmoiron/humanize/archive/$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

replaces=py-humanize # Backwards compatibility
provides=py-humanize=$pkgver-r$pkgrel # Backwards compatibility

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="dd7ad7f3c564cc6abcb6b128e50dbea7f19f7f418bfd936aae2472961c53ec71202133c5c2b5b930ef41ef807b51d6ba1210565627ed32c0b41acc0abd32a2d5  humanize-0.5.1.tar.gz"