blob: 3e8ab08c57fa2fac1b83b96323a7d682f7d94f69 (
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@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
}
|