~dricottone/huttese-apk

ref: cfed243dfcee8380b93bf8ce906be6d04399ca4b huttese-apk/sr.ht/py3-humanize/APKBUILD -rw-r--r-- 793 bytes
cfed243d — Drew DeVault paste.sr.ht: update to 0.4.1 5 years ago
                                                                                
fab946d2 Linux User
f9216d16 Drew DeVault
fab946d2 Linux User
04866bce Drew DeVault
fab946d2 Linux User
f9216d16 Drew DeVault
fab946d2 Linux User
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=0.5.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="2727268d9fc7b393228f7eb9e71a5c881988ec56e265ddf83613fe57116da3aaad70d2417db4cef8a8c40cb73753eb2c2bd775d3cd25c2de751cb61373f0a551  humanize-0.5.1.tar.gz"