~dricottone/huttese-apk

ref: 06d2b04f4ef43b81a9a05644aeb960fa3a69c7b8 huttese-apk/sr.ht/py3-humanize/APKBUILD -rw-r--r-- 793 bytes
06d2b04f — Drew DeVault py3-humanize: upgrade to 3.4.1 3 years ago
                                                                                
fab946d2 Linux User
f9216d16 Drew DeVault
06d2b04f Drew DeVault
58e82cf1 Drew DeVault
fab946d2 Linux User
f9216d16 Drew DeVault
fab946d2 Linux User
06d2b04f 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=3.4.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="d7e201717ee6b1065920faed3fa70f48c7b6acaf246a707126246d84f516fe7a14713bf4c488b18815907a0926b6cf505f106e15f17051f69756a50f50cea51b  humanize-3.4.1.tar.gz"