mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-17 14:42:01 +01:00
Package depends on `py-linecache2`, which does not exist. The correct name is `py2-linecache2`
28 lines
1.0 KiB
Plaintext
28 lines
1.0 KiB
Plaintext
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
|
|
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
|
|
pkgname=py2-traceback2
|
|
_pkgname=${pkgname#py2-*}
|
|
pkgver=1.4.0
|
|
pkgrel=2
|
|
pkgdesc="Backport of the Python3 stdlib traceback module"
|
|
options="!check" # Depends on py2-unittest2 for tests which depends on this package
|
|
url="https://github.com/testing-cabal/traceback2"
|
|
arch="noarch"
|
|
license="PSF"
|
|
depends="py2-linecache2"
|
|
makedepends="git py-setuptools py-pbr"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/testing-cabal/$_pkgname/archive/$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
replaces="py-traceback2 py3-traceback2" # Backwards compatibility
|
|
|
|
build() {
|
|
git init # workaround python pbr picking up the git version from aports
|
|
python2 setup.py build
|
|
}
|
|
|
|
package() {
|
|
python2 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="33ef29ab051d5ddca1dc3e802cd0cbaf216067157b4e5bea4bb0481cd7a6758614fc551d614b5bcf3354757b315b9549bde9ff9c552980fb75ddb3aa31909d79 py2-traceback2-1.4.0.tar.gz"
|