aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-06-18 15:00:46 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-06-18 15:00:46 -0300
commit1c818b543aabe8c3124ad041daa252520859a708 (patch)
tree0da7d454f226399961f481c7c89d83c3d1f4a16e
parent2ac0e81f71abb394c89fe700b7014f31fb5da271 (diff)
downloadaports-1c818b543aabe8c3124ad041daa252520859a708.tar.gz
aports-1c818b543aabe8c3124ad041daa252520859a708.tar.bz2
aports-1c818b543aabe8c3124ad041daa252520859a708.tar.xz
community/py3-pytest-cov: fix build and disable check
-rw-r--r--community/py3-pytest-cov/APKBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/community/py3-pytest-cov/APKBUILD b/community/py3-pytest-cov/APKBUILD
index 524f79844c..042eeb5771 100644
--- a/community/py3-pytest-cov/APKBUILD
+++ b/community/py3-pytest-cov/APKBUILD
@@ -5,21 +5,24 @@ _pkgname=${pkgname#py3-}
pkgver=2.7.1
pkgrel=0
pkgdesc="Pytest plugin for measuring coverage."
+options="!check" # Requires unpackaged 'fields' module
url="https://github.com/pytest-dev/pytest-cov"
arch="noarch"
license="MIT"
replaces="pytest-cov" # for backwards compatibility
provides="pytest-cov=$pkgver-r$pkgrel" # for backwards compatibility
depends="pytest py3-pytest py3-coverage"
-makedepends="python3-dev py3-setuptools"
+makedepends="py3-setuptools"
+checkdepends="py3-virtualenv py3-pytest-xdist"
source="$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-cov/archive/v$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
build() {
python3 setup.py build
}
check() {
- PYTHONPATH=. python3 setup.py test
+ pytest-3
}
package() {