blob: 69bcb14c95d95d1417419829193190a37aaf04f9 (
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
32
33
|
# Contributor: Thomas Boerger <thomas@webhippie.de>
# Maintainer: Thomas Boerger <thomas@webhippie.de>
pkgname=py3-humanize
_pkgname=humanize
pkgver=2.4.0
pkgrel=0
pkgdesc="Python humanize functions"
url="https://pypi.python.org/pypi/humanize"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools py3-setuptools_scm"
checkdepends="py3-mock py3-freezegun py3-pytest"
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() {
git init
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="e606fde4157b47c010545207d4c915104e9233f675aacdc5ecaecdf443eb30525799279004c6e398c5506d3eeca2b816ffee95a5255ee894215cf462bdf488b3 humanize-2.4.0.tar.gz"
|