python2-traceback2 - 1.4.0 - new package - required by unittest2 (#1507)

This commit is contained in:
J. Peter Mugaas
2018-11-29 23:39:50 -06:00
committed by Алексей
parent a8a521e3b2
commit d067288cfe

View File

@@ -0,0 +1,19 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
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")
sha512sums=('84c7fc291c8f2d4cee10441cdef1820aa453e631dfa91ed58e40fc205e97a9dd2101388d5689e4fdf10edfbf06bdb5b895d1635ae7218ba0c9b697d3f95f9342')
package() {
cd ${pkgname#*-}-${pkgver}
python2 setup.py install --root="${pkgdir}" --optimize='1'
}