summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Jost2014-02-03 12:18:02 +0100
committerThomas Jost2015-06-11 14:56:27 +0200
commit44a1f4f3587b75ea6e4e47468b9160ef7bca2261 (patch)
tree8b85a3e60186264ec72bef14d87e55680efb8c32
downloadaur-44a1f4f3587b75ea6e4e47468b9160ef7bca2261.tar.gz
New package: python-slugify
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD20
2 files changed, 34 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..604b8f0b917
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = python-slugify
+ pkgdesc = A Python slugify application that handles unicode
+ pkgver = 0.0.7
+ pkgrel = 1
+ url = https://github.com/un33k/python-slugify
+ arch = any
+ license = BSD
+ makedepends = python-distribute
+ depends = python-unidecode>=0.04.12
+ source = http://pypi.python.org/packages/source/p/python-slugify/python-slugify-0.0.7.tar.gz
+ md5sums = dd9bc613a69a5cab7f18ae1c44848813
+
+pkgname = python-slugify
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e2c1bbb94ef
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,20 @@
+# Maintainer: Thomas Jost <schnouki@schnouki.net>
+# Contributor: Andrey Mikhaylenko <neithere at gmail dot com>
+pkgname=python-slugify
+pkgver=0.0.7
+pkgrel=1
+pkgdesc="A Python slugify application that handles unicode"
+arch=(any)
+url="https://github.com/un33k/python-slugify"
+license=('BSD')
+depends=(
+ "python-unidecode>=0.04.12"
+)
+makedepends=("python-distribute")
+source=(http://pypi.python.org/packages/source/p/$pkgname/$pkgname-$pkgver.tar.gz)
+md5sums=('dd9bc613a69a5cab7f18ae1c44848813')
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ python setup.py install --root="$pkgdir" --optimize=1
+}