mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-16 22:22:12 +01:00
- lighten dependency load - Add missing dependencies - Work around pbr git problems - Explain why check is disabled
27 lines
929 B
Plaintext
27 lines
929 B
Plaintext
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
|
|
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
|
|
pkgname=py2-linecache2
|
|
_pkgname=${pkgname#py2-*}
|
|
pkgver=1.0.0
|
|
pkgrel=1
|
|
pkgdesc="Backport of the Python3 stdlib linecache module"
|
|
url="https://github.com/testing-cabal/linecache2"
|
|
arch="noarch"
|
|
license="Python-2.0"
|
|
depends="python2"
|
|
makedepends="py-setuptools py-pbr git"
|
|
options="!check" # Causes cyclic dependency loop between it py2-traceback2 and py2-unittest2
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/testing-cabal/$_pkgname/archive/$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
build() {
|
|
git init # Work around pbr
|
|
python2 setup.py build
|
|
}
|
|
|
|
package() {
|
|
python2 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="02163afa1dcaebd4c22e7195b9cbcd0d301d5920ff18310c2addf6563edf93e386daf642a560d8158cad25c2f5547c8ee23ec3a5490d3d54323f47adeea3e8df py2-linecache2-1.0.0.tar.gz"
|