aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-slugify/APKBUILD
blob: 0c2644793b5283ee12529a782039b08552b55fa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# 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"