~dricottone/huttese-apk

ref: be40601ca1d67b214839f6d791d25263ceb0e7df huttese-apk/sr.ht/py3-humanize/APKBUILD -rw-r--r-- 795 bytes
be40601c — Drew DeVault py3-humanize: upgrade to 3.6.0 3 years ago
                                                                                
fab946d2 Linux User
f9216d16 Drew DeVault
be40601c Drew DeVault
58e82cf1 Drew DeVault
fab946d2 Linux User
f9216d16 Drew DeVault
fab946d2 Linux User
0f956785 Drew DeVault
be40601c 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.6.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="
502ad941d9ff97677f9a6da7194ff2cddff6c4e852b84339a17eb13d71d34701b4c39c05607314a0d06c6634b5e5e12444bc97f0ae35d715611f8dac3eafe623  humanize-3.6.0.tar.gz
"