aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--community/pytest-cov/APKBUILD8
1 files changed, 2 insertions, 6 deletions
diff --git a/community/pytest-cov/APKBUILD b/community/pytest-cov/APKBUILD
index 03067aae19..455aac36fc 100644
--- a/community/pytest-cov/APKBUILD
+++ b/community/pytest-cov/APKBUILD
@@ -1,27 +1,23 @@
# Contributor: TBK <alpine@jjtc.eu>
# Maintainer: TBK <alpine@jjtc.eu>
pkgname=pytest-cov
-_pkgname=${pkgname#py-}
pkgver=2.6.1
-pkgrel=1
+pkgrel=2
pkgdesc="Pytest plugin for measuring coverage."
url="https://github.com/pytest-dev/pytest-cov"
arch="noarch"
license="MIT"
depends="pytest py-coverage"
-makedepends="python2-dev python3-dev py-setuptools"
+makedepends="py-setuptools py3-setuptools"
subpackages="py3-${pkgname/py-/}:_py3 py2-${pkgname/py-/}:_py2"
source="$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-cov/archive/v$pkgver.tar.gz"
-builddir="$srcdir/$_pkgname-$pkgver"
build() {
- cd "$builddir"
python2 setup.py build
python3 setup.py build
}
check() {
- cd "$builddir"
python2 setup.py test
python3 setup.py test
}