mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 12:26:52 +02:00
testing/py3-unicode-rbnf: new aport
This commit is contained in:
parent
ff06811ab6
commit
19014381f8
35
testing/py3-unicode-rbnf/APKBUILD
Normal file
35
testing/py3-unicode-rbnf/APKBUILD
Normal file
@ -0,0 +1,35 @@
|
||||
# Contributor: Hugo Osvaldo Barrera <hugo@whynothugo.nl>
|
||||
maintainer="Hugo Osvaldo Barrera <hugo@whynothugo.nl>"
|
||||
pkgname=py3-unicode-rbnf
|
||||
_pyname=unicode-rbnf
|
||||
pkgver=2.4.0
|
||||
pkgrel=0
|
||||
pkgdesc="Rule-based number formatting using Unicode CLDR data"
|
||||
url="https://github.com/rhasspy/unicode-rbnf"
|
||||
arch="noarch"
|
||||
license="MIT"
|
||||
makedepends="
|
||||
py3-gpep517
|
||||
py3-setuptools
|
||||
py3-wheel
|
||||
"
|
||||
checkdepends="py3-pytest"
|
||||
subpackages="$pkgname-pyc"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/rhasspy/unicode-rbnf/archive/refs/tags/v$pkgver.tar.gz"
|
||||
builddir="$srcdir/$_pyname-$pkgver"
|
||||
|
||||
build() {
|
||||
gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1
|
||||
}
|
||||
|
||||
check() {
|
||||
PYTHONPATH=. pytest
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 -m installer -d "$pkgdir" .dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
b3c2654c6c31fed1662e2675fb49adbc78d94942c35c6feea1e5869f8dd7a739b1afdd30bd59d665a0a0f076127510aeb9956814d8898f6200348559c7683bbf py3-unicode-rbnf-2.4.0.tar.gz
|
||||
"
|
||||
Loading…
x
Reference in New Issue
Block a user