~dricottone/huttese-apk

ref: 95c01da6a042b2a07b1e0890374c4aa54bc0adce huttese-apk/sr.ht/py3-humanize/APKBUILD -rw-r--r-- 797 bytes
95c01da6 — Simon Ser gamja: upgrade to 1.0.0_beta1-r13 3 years ago
                                                                                
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
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-humanize
_pyname=humanize
pkgver=3.12.0
pkgrel=0
pkgdesc="Humanize is a modest package contains various common humanization utilities"
url="https://github.com/jmoiron/humanize"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="
339cd392c9fd022714dfa54920b24522eee37ec24711fea8016f6a95728a500eaf9cc4dde76e542886f6c5b570a77beeb6dbc5047a475496f99199d793ab2e44  humanize-3.12.0.tar.gz
"