diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-05-26 00:23:32 -0300 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2019-05-27 15:05:08 +0000 |
commit | 264451c8d2b19c53ca3130dae2998abc4337f93c (patch) | |
tree | 88b7b403674f1396079e32d93ed9885f860d2a5a /testing/py-nosexcover | |
parent | 30b63557016b90f49eadd49171d07e5f184a1392 (diff) | |
download | aports-264451c8d2b19c53ca3130dae2998abc4337f93c.tar.bz2 aports-264451c8d2b19c53ca3130dae2998abc4337f93c.tar.xz |
testing/py-nosexcover: modernize
Diffstat (limited to 'testing/py-nosexcover')
-rw-r--r-- | testing/py-nosexcover/APKBUILD | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/testing/py-nosexcover/APKBUILD b/testing/py-nosexcover/APKBUILD index 3e780edc95..cf543d16cb 100644 --- a/testing/py-nosexcover/APKBUILD +++ b/testing/py-nosexcover/APKBUILD @@ -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" |