~dricottone/huttese-apk

ref: cdb66112c8dd72eb63e3d60c3345b749e21af5e4 huttese-apk/sr.ht/py3-humanize/APKBUILD -rw-r--r-- 797 bytes
cdb66112 — Galen Abell builds.sr.ht: Add missing initd dependencies 2 years ago
                                                                                
fab946d2 Linux User
f9216d16 Drew DeVault
60cc12d6 Drew DeVault
4eea1cda Drew DeVault
fab946d2 Linux User
f9216d16 Drew DeVault
fab946d2 Linux User
0f956785 Drew DeVault
60cc12d6 Drew DeVault
0f956785 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
29
30
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-humanize
_pyname=humanize
pkgver=3.13.1
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="
f2d510347f05f953bb6f67811a7fd062f721c76892388d43ea0f19f826e75853c6f7b6cddcd986c06414dc8a3c8b3c88bee16a61fa23baa24d951ba275114de2  humanize-3.13.1.tar.gz
"