mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-21 05:31:25 +02:00
30 lines
797 B
Plaintext
30 lines
797 B
Plaintext
# Contributor: Michał Polański <michal@polanski.me>
|
|
# Maintainer: Michał Polański <michal@polanski.me>
|
|
pkgname=py3-slugify
|
|
pkgver=6.1.1
|
|
pkgrel=0
|
|
pkgdesc="Python module for creating slugs from unicode strings"
|
|
url="https://github.com/un33k/python-slugify"
|
|
license="MIT"
|
|
arch="noarch"
|
|
depends="python3 py3-text-unidecode"
|
|
makedepends="py3-setuptools"
|
|
source="https://github.com/un33k/python-slugify/archive/v$pkgver/py3-slugify-$pkgver.tar.gz"
|
|
builddir="$srcdir/python-slugify-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 test.py
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --root="$pkgdir" --skip-build
|
|
}
|
|
|
|
sha512sums="
|
|
2ffe8420b2f0504c57f42bf20aa0145ae521dab8d1bbefcaff1a815aa04377c7eb48eab929890915a9c9632a5c1cac4d3e7e093dcdfdda59f8ecee1ab787cbb7 py3-slugify-6.1.1.tar.gz
|
|
"
|