mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
89e393f2b7
added linecache2, traceback2 and unittest2 fixed pbr python2 package
18 lines
520 B
Bash
18 lines
520 B
Bash
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'
|
|
}
|