aports/community/py3-grapheme/APKBUILD
2023-04-20 11:15:13 +02:00

28 lines
872 B
Plaintext

# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
pkgname=py3-grapheme
pkgver=0.6.0
pkgrel=2
pkgdesc="Unicode grapheme helpers"
url="https://github.com/alvinlindstam/grapheme"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/g/grapheme/grapheme-$pkgver.tar.gz"
builddir="$srcdir/grapheme-$pkgver"
options="!check" # no tests in pypi version | GH tags not consistent | disable tests for now
build() {
python3 setup.py build
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
51416f601ae255f16da551c626481e588aadf2884f82c0b189325d69fb300feb635310d2fdf2d4585e69ac28f98eb47836015be1054de3d351f29e19b52a1a27 py3-grapheme-0.6.0.tar.gz
"