desktop/python2-linecache2/PKGBUILD

18 lines
520 B
Bash
Raw Normal View History

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")
sha256sums=('4b26ff4e7110db76eeb6f5a7b64a82623839d595c2038eeda662f2a2db78e97c')
package() {
cd ${pkgname#*-}-${pkgver}
python2 setup.py install --root="${pkgdir}" --optimize='1'
}