1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 19:55:26 +03:00
aports/testing/py3-language-data/APKBUILD
2023-06-22 14:08:28 +00:00

37 lines
909 B
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-language-data
pkgver=1.1
pkgrel=0
pkgdesc="Supplementary data about languages used by the langcodes module"
url="https://github.com/rspeer/language_data"
arch="noarch"
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="
4c9fcbf98a06bc5eb9eb3b004e6254d56cba6eaf3c8ae45f7b30d6d9ac13480344bd03ff234edc2086fea36267644d59aaa4b0db4920c04c83f831db9fc05cf3 language_data-1.1.tar.gz
"