diff options
author | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2012-11-27 15:20:54 -0300 |
---|---|---|
committer | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2012-11-27 15:20:54 -0300 |
commit | af7f4508c0d81eff392ed525f79f163dd37e96c2 (patch) | |
tree | 59ba5eec5c8b7482110f6eae0e9405b567bbec2d /pcr/python-routes/PKGBUILD | |
parent | 47ad4c8c4b6754ad871b204c48f590be09f623dc (diff) | |
parent | ba6fabfc73ead8f4f2c344e1f61e99b9a616457f (diff) |
Merge branch 'master' of ssh://gparabola/srv/git/abslibre
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" +} + |