~dricottone/huttese-apk

ref: 351d80cd675f6e8f65d1b03fd4cfd9fb751b3e5c huttese-apk/pkgsrc/py3-humanize/APKBUILD -rw-r--r-- 795 bytes
351d80cdDominic Ricottone todo.sr.ht version upgrade 2 years ago
                                                                                
fab946d2 Linux User
f9216d16 Drew DeVault
891e5627 Drew DeVault
6753e70a Drew DeVault
fab946d2 Linux User
f9216d16 Drew DeVault
fab946d2 Linux User
0f956785 Drew DeVault
891e5627 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=4.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="
71c528101b62c883de6474d3c31e97f7f54099c3389f7a88a328ef24b40f7a5667db879badd6154d76ce9bb1390a45404e177c50c7c26064c63b654936ba0514  humanize-4.0.0.tar.gz
"