~dricottone/huttese-apk

ref: 48d4a42e9a31c22c03b912161784b859ba8ca9ab huttese-apk/sr.ht/py3-humanize/APKBUILD -rw-r--r-- 793 bytes
48d4a42e — Drew DeVault Remove unused grafana package 4 years ago
                                                                                
fab946d2 Linux User
f9216d16 Drew DeVault
bf8f0522 Drew DeVault
fab946d2 Linux User
f9216d16 Drew DeVault
fab946d2 Linux User
bf8f0522 Drew DeVault
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
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-humanize
_pyname=humanize
pkgver=2.0.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="3bc0a6a42d0a4942d6c0c3f5eb70f57f1132b05ef581099658082b1769eb3040b2484990457811c60134fbaf6267fc4d73f440fc72d84cc0dbfdb5b0be6d8192  humanize-2.0.0.tar.gz"