1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-22 10:45:15 +03:00
aports/community/py3-slugify/APKBUILD
2021-05-26 23:45:43 +02:00

30 lines
834 B
Text

# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=py3-slugify
_pkgname=python-slugify
pkgver=5.0.2
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/$_pkgname-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 test.py
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir" --skip-build
}
sha512sums="
79cdd1d0312c9e34b07dca2e898f177a85b31d3f290403375032ae962df61f3a9c4167f4bdf10f47afd17d544731d6961810f8a081ef615d76d8758c1207e6b7 python-slugify-5.0.2.tar.gz
"