aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-slugify/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/py3-slugify/APKBUILD')
-rw-r--r--community/py3-slugify/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/py3-slugify/APKBUILD b/community/py3-slugify/APKBUILD
new file mode 100644
index 0000000000..4ba3609fc5
--- /dev/null
+++ b/community/py3-slugify/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Michał Polański <michal@polanski.me>
+# Maintainer: Michał Polański <michal@polanski.me>
+pkgname=py3-slugify
+_pkgname=python-slugify
+pkgver=4.0.1
+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="c1d99a9dc891c4cfa927e4d2bc5701f47b23b7882cce22350283a53c6ded18e1290196c3bb9838883c29c9cb3582e5e684edffd50dfbb4e9da9c2b821ea54bb5 python-slugify-4.0.1.tar.gz"