python2-linecache2 - 1.0.0 -new package required by traceback2 (#1506)

This commit is contained in:
J. Peter Mugaas authored and Алексей committed 2018-11-30 08:39:43 +03:00
1 parent df6d53fabf
commit a8a521e3b2
1 file changed
+19
+19
View File
@@ -0,0 +1,19 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
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=('e585a6e4c054c1965bc4241a1e36b57cb04f32b2d778df0ae4381975700497975251f509354d3622e36c82973c726a207b815f8b12060d9d583b6669a9eb279e')
package() {
cd ${pkgname#*-}-${pkgver}
python2 setup.py install --root="${pkgdir}" --optimize='1'
}