summaryrefslogtreecommitdiff
path: root/pcr/python2-routes/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/python2-routes/PKGBUILD')
-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
+}