~dricottone/huttese-apk

ref: 5ea54c6910caa633bc9b905ceb52cc2923f29bc9 huttese-apk/sr.ht/py3-humanize/APKBUILD -rw-r--r-- 793 bytes
5ea54c69 — Drew DeVault py3-httpretty: upgrade to 1.0.2 4 years ago
                                                                                
fab946d2 Linux User
f9216d16 Drew DeVault
df7bd9d0 Drew DeVault
bf8f0522 Drew DeVault
fab946d2 Linux User
f9216d16 Drew DeVault
fab946d2 Linux User
df7bd9d0 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=2.2.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="d36a92c7552193eb0fa0aa827041811a77239c067d8070895ed5fbfd05b6f9b4124ac53658d316bf9068256be1b9d7ee61b206209ebc17b6eb24cd70b8ae2461  humanize-2.2.0.tar.gz"