mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-06 04:46:42 +02:00
testing/py-nosexcover: modernize
This commit is contained in:
parent
30b6355701
commit
264451c8d2
@ -9,14 +9,12 @@ url="https://pypi.python.org/pypi/nosexcover/"
|
||||
arch="noarch"
|
||||
license="MIT"
|
||||
depends="py-nose py-coverage"
|
||||
checkdepends="py-nose"
|
||||
makedepends="python2-dev python3-dev py-setuptools"
|
||||
makedepends="py-setuptools py3-setuptools"
|
||||
subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/cmheisel/$_pkgname/archive/v$pkgver.tar.gz"
|
||||
builddir="$srcdir/"$_pkgname-$pkgver
|
||||
|
||||
build() {
|
||||
cd "$builddir"
|
||||
python2 setup.py build
|
||||
python3 setup.py build
|
||||
}
|
||||
@ -47,7 +45,6 @@ _py() {
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$builddir"
|
||||
nosetests -v nosexcover/tests.py
|
||||
}
|
||||
sha512sums="e606e89b75d51c728d1487200f4a38afe1af93defabe6bd847b80d597374e7bb10abc2e5c8e6778bbd4f17ba8b8d7a601864a8277cd14437ee94a9e04996cf22 py-nosexcover-1.0.11.tar.gz"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user