aports/testing/py3-language-data/APKBUILD

37 lines
866 B
Text
Raw Normal View History

maintainer="Bart Ribbers <bribbers@disroot.org>"
2022-10-06 13:44:41 +02:00
pkgname=py3-language-data
pkgver=1.3.0
pkgrel=0
2022-10-06 13:44:41 +02:00
pkgdesc="Supplementary data about languages used by the langcodes module"
2024-09-19 23:31:36 +02:00
url="https://github.com/georgkrause/language_data"
arch="noarch"
2022-10-06 13:44:41 +02:00
license="MIT"
depends="
py3-marisa-trie
py3-setuptools
"
makedepends="
py3-gpep517
py3-poetry-core
py3-wheel
"
subpackages="$pkgname-pyc"
source="https://pypi.python.org/packages/source/l/language_data/language_data-$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/language_data-$pkgver"
build() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
package() {
python3 -m installer -d "$pkgdir" \
.dist/*.whl
}
sha512sums="
ab72259e09680f893e57fd6dfc95e89e05c596244a594047cfdf3464e19409e9ec50876035a7853f7cbfddb12965233bd622ddf08e85b9b69a50dc6a5af438a0 language_data-1.3.0.tar.gz
2022-10-06 13:44:41 +02:00
"