1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 12:15:32 +03:00
aports/testing/py3-slugify/APKBUILD
2020-02-20 17:43:40 -03:00

27 lines
796 B
Text

# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=py3-slugify
pkgver=4.0.0
pkgrel=0
pkgdesc="A Python slugify application that handles unicode"
url="https://github.com/un33k/python-slugify"
arch="noarch"
license="MIT"
depends="python3 py3-text-unidecode"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/un33k/python-slugify/archive/$pkgver.tar.gz"
builddir="$srcdir/python-slugify-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 test.py
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="a4b0da48ee887a24a022076c9b21fa5795ab104b1d382bae96fc7ba5ce6c09c0cc42e1f4c3b6874b44097d2246ea5b18302dc42386d8844fa41f495744e5ed90 py3-slugify-4.0.0.tar.gz"