summaryrefslogtreecommitdiff
path: root/pcr/python2-routes
diff options
context:
space:
mode:
authoraurelien <aurelien@xload.io>2014-05-31 23:24:05 +0200
committeraurelien <aurelien@xload.io>2014-05-31 23:24:05 +0200
commitb70c4c7099f7826a3f60d397b4db2cf5f5d5262e (patch)
tree20775da1e16eca0fd8d9b91a28ac9bc8ee468039 /pcr/python2-routes
parentf92acfcf6c0ea99d8fd04ad7297bf5511187377d (diff)
python2-routes
Diffstat (limited to 'pcr/python2-routes')
-rw-r--r--pcr/python2-routes/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/pcr/python2-routes/PKGBUILD b/pcr/python2-routes/PKGBUILD
new file mode 100644
index 000000000..3e8ab08c5
--- /dev/null
+++ b/pcr/python2-routes/PKGBUILD
@@ -0,0 +1,29 @@
+# Contributor: SpepS <dreamspepser@yahoo.it>
+# Contributor: James Bulmer <nekinie@gmail.com>
+# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@hackers.camp>
+
+pkgname="python2-routes"
+pkgver=2.0
+pkgrel=2
+pkgdesc="Routing recognition and generation tools"
+arch=("any")
+url="https://pypi.python.org/pypi/Routes"
+license=("custom:BSD")
+
+depends=(
+ "python2"
+ "python2-repoze.lru"
+)
+
+makedepends=("python2-setuptools")
+source=("https://pypi.python.org/packages/source/R/Routes/Routes-${pkgver}.tar.gz")
+
+build() {
+ cd "${srcdir}/Routes-${pkgver}/"
+ python2 setup.py build
+}
+
+package() {
+ cd "${srcdir}/Routes-${pkgver}/"
+ python2 setup.py install --root="${pkgdir}/" --optimize=1
+}