From 0a9a064dde6943f5ce78d9eb03f403326cd5b4ef Mon Sep 17 00:00:00 2001 From: aurelien Date: Sat, 24 Nov 2012 09:24:52 +0100 Subject: 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 --- pcr/python-routes/PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 pcr/python-routes/PKGBUILD (limited to 'pcr/python-routes/PKGBUILD') 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 +# Contributor: David Moore +# Contributor: Nathan Jones +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres + +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" +} + -- cgit v1.2.3-54-g00ecf