summaryrefslogtreecommitdiff
path: root/pcr/python-routes/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-11-26 03:03:39 -0200
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-11-26 03:03:39 -0200
commit9dc45be37a94602eaf8fc8a37b75d27562b95c76 (patch)
treec14c41bce7ea506fb8e823966b88ea69eaa13036 /pcr/python-routes/PKGBUILD
parent5c508409510096b2a656cf0534ef6388c3b120fb (diff)
parent76f02e67987546467ddcdb2d006533c9d8e791b5 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/python-routes/PKGBUILD')
-rw-r--r--pcr/python-routes/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/pcr/python-routes/PKGBUILD b/pcr/python-routes/PKGBUILD
new file mode 100644
index 000000000..511934ef2
--- /dev/null
+++ b/pcr/python-routes/PKGBUILD
@@ -0,0 +1,29 @@
+# Contributor: SpepS <dreamspepser at yahoo dot it>
+# Contributor: David Moore <davidm@sjsoft.com>
+# Contributor: Nathan Jones <nathanj@insightbb.com>
+# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO>
+
+pkgname=python-routes
+pkgver=1.13
+pkgrel=2
+pkgdesc="A routing package for Python that matches URL's to dicts and vice versa"
+arch=('any')
+url="http://pypi.python.org/pypi/Routes"
+license=('custom:BSD')
+depends=('python-repoze.lru')
+makedepends=('python-distribute')
+source=("http://pypi.python.org/packages/source/R/Routes/Routes-$pkgver.tar.gz")
+
+build() {
+ cd "$srcdir/Routes-$pkgver"
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir/Routes-$pkgver"
+
+ python setup.py install --root="$pkgdir/"
+ install -Dm644 LICENSE \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+