Date: Monday, July 21, 2014 @ 12:30:57 Author: fyan Revision: 116059 addpkg: python2-routes 2.0-3
Added: python-routes/ python-routes/repos/ python-routes/trunk/ python-routes/trunk/PKGBUILD ----------+ PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) Added: python-routes/trunk/PKGBUILD =================================================================== --- python-routes/trunk/PKGBUILD (rev 0) +++ python-routes/trunk/PKGBUILD 2014-07-21 10:30:57 UTC (rev 116059) @@ -0,0 +1,36 @@ +# $Id$ +# Maintainer: Felix Yan <[email protected]> +# Contributor: SpepS <[email protected]> +# Contributor: James Bulmer <[email protected]> + +pkgbase=python-routes +pkgname=python2-routes +pkgver=2.0 +pkgrel=3 +pkgdesc="Routing recognition and generation tools" +arch=("any") +url="https://pypi.python.org/pypi/Routes" +license=("custom:BSD") +makedepends=('python2-setuptools' 'python2-repoze.lru') +checkdepends=('python2-nose') +source=("https://pypi.python.org/packages/source/R/Routes/Routes-${pkgver}.tar.gz") +md5sums=("b97b1b8016d663d1000a0e0b50656c54") + +build() { + cd "${srcdir}/Routes-${pkgver}/" + python2 setup.py build +} + +check() { + # Missing webob + cd "${srcdir}/Routes-${pkgver}/" + #nosetests2 +} + +package_python2-routes() { + depends=("python2" "python2-repoze.lru") + + cd "${srcdir}/Routes-${pkgver}/" + python2 setup.py install --root="${pkgdir}/" --optimize=1 + install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt" +} Property changes on: python-routes/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property
