desktop/python2-traceback2/PKGBUILD
AlmAck 89e393f2b7 python-requests fix check depends
added linecache2, traceback2 and unittest2
fixed pbr python2 package
2017-11-06 23:10:01 +01:00

18 lines
545 B
Bash

pkgname=python2-traceback2
pkgver=1.4.0
pkgrel=1
pkgdesc='Backports of the traceback module'
arch=('any')
url='http://pypi.python.org/pypi/traceback2'
license=('PSF')
depends=('python2-linecache2' 'python2-six')
makedepends=('python2-setuptools' 'python2-pbr')
source=("https://pypi.python.org/packages/source/t/${pkgname#*-}/${pkgname#*-}-${pkgver}.tar.gz")
sha256sums=('05acc67a09980c2ecfedd3423f7ae0104839eccb55fc645773e1caa0951c3030')
package() {
cd ${pkgname#*-}-${pkgver}
python2 setup.py install --root="${pkgdir}" --optimize='1'
}