diff options
author | aurelien <tek@localhost.localdomain> | 2012-11-24 09:24:52 +0100 |
---|---|---|
committer | aurelien <tek@localhost.localdomain> | 2012-11-24 09:24:52 +0100 |
commit | 0a9a064dde6943f5ce78d9eb03f403326cd5b4ef (patch) | |
tree | 950bd3f3cc003ab3cb8384d1a60476035f307a29 /pcr/python-routes/PKGBUILD | |
parent | 13e7da299d6c1d313b32309f5737d887212b7d4c (diff) |
glance nova python2-amqplib python2-carrot python2-daemon python2-eventlet python2-iso8601 python2-kombu python2-netaddr python2-passlib python2-pkgtools python2-sendfile python2-suds python2-webob pyt
hon-anyjson python-paste-deploy python-paste python-repoze.lru python-routes python-wsgiref python-xattr
Diffstat (limited to 'pcr/python-routes/PKGBUILD')
-rw-r--r-- | pcr/python-routes/PKGBUILD | 29 |
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" +} + |