aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-precis-i18n/APKBUILD
blob: 24faada971e2253199259a683c211e74fbe55641 (plain)
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
# Contributor: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname=py3-precis-i18n
_pkgname=precis-i18n
pkgver=1.0.1
pkgrel=1
pkgdesc="Internationalized Usernames and Passwords"
url="https://github.com/byllyfish/precis_i18n"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
source="$_pkgname-$pkgver.tar.gz::https://github.com/byllyfish/precis_i18n/archive/v${pkgver}.tar.gz
	Support-Unicode-12.1-for-Python-3.8.patch
	"
builddir="$srcdir"/${_pkgname/-/_}-$pkgver

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

check() {
	python3 setup.py test
}
sha512sums="a62e76588ae1ccba6de51488ceae0e2a454e77bdc946e7c4cea1cb41017253b6e239aab120bdbf1a57b51b827ec7554fb7d6fc10a3a4203f09f6f91f1b4192f4  precis-i18n-1.0.1.tar.gz
81bcc4d2af10cef756830f504ec74aee1a88f56b29ede1b631142b624aca8ac8aa217a7802a731a2d8ffce90c7de6d80c597b7f8ae91a9ae665b5a6fe11e3b60  Support-Unicode-12.1-for-Python-3.8.patch"