# Maintainer: Felix Yan pkgname=python2-linecache2 pkgver=1.0.0 pkgrel=1 pkgdesc='Backports of the linecache module' arch=('any') url='http://pypi.python.org/pypi/linecache2' license=('PSF') depends=('python2') makedepends=('python2-setuptools' 'python2-pbr') source=("https://pypi.python.org/packages/source/l/${pkgname#*-}/${pkgname#*-}-${pkgver}.tar.gz") sha512sums=('02163afa1dcaebd4c22e7195b9cbcd0d301d5920ff18310c2addf6563edf93e386daf642a560d8158cad25c2f5547c8ee23ec3a5490d3d54323f47adeea3e8df') package() { cd ${pkgname#*-}-${pkgver} python2 setup.py install --root="${pkgdir}" --optimize='1' }