blob: 511934ef2028b67a1b520bf4aae48a044f824c45 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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"
}
|