~dricottone/huttese-apk

ref: b3cd905a5a7377dca3d1e59b3789963a71f51b00 huttese-apk/sr.ht/py3-humanize/APKBUILD -rw-r--r-- 793 bytes
b3cd905a — Eyal Sawady meta.sr.ht: upgrade to 0.53.16 3 years ago
                                                                                
fab946d2 Linux User
f9216d16 Drew DeVault
58e82cf1 Drew DeVault
fab946d2 Linux User
f9216d16 Drew DeVault
fab946d2 Linux User
58e82cf1 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.3.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="a25bbaaa8cdd8fc0a7375637c19f91f892b33b8576e4c88b9adc431e976cb4f8937f1f98d71f442547626276c75cb6be445cac9b11b6504b6a444740df486faf  humanize-3.3.0.tar.gz"