From 77bd23d7780c141697ded06f9fd0abfa62699d6d Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sat, 24 Nov 2018 11:12:35 -0500 Subject: [PATCH] Switch back to pytest, with coverage disabled --- sr.ht/py-cssselect2/APKBUILD | 6 ++++-- sr.ht/py-tinycss2/APKBUILD | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/sr.ht/py-cssselect2/APKBUILD b/sr.ht/py-cssselect2/APKBUILD index 1bb298a..29f1f7c 100644 --- a/sr.ht/py-cssselect2/APKBUILD +++ b/sr.ht/py-cssselect2/APKBUILD @@ -17,6 +17,8 @@ source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname builddir="$srcdir"/$_pkgname-$pkgver prepare() { + cd "$builddir" + sed -e 's/--cov=cssselect2//' -i setup.cfg cp -r "$builddir" "$builddir"-py3 } @@ -29,9 +31,9 @@ build() { check() { cd "$builddir" - python2 setup.py check + python2 setup.py pytest cd "$builddir"-py3 - python3 setup.py check + python3 setup.py pytest } package() { diff --git a/sr.ht/py-tinycss2/APKBUILD b/sr.ht/py-tinycss2/APKBUILD index 247339c..6d7ae9d 100644 --- a/sr.ht/py-tinycss2/APKBUILD +++ b/sr.ht/py-tinycss2/APKBUILD @@ -17,6 +17,8 @@ source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname builddir="$srcdir"/$_pkgname-$pkgver prepare() { + cd "$builddir" + sed -e 's/--cov=tinycss2//' -i setup.cfg cp -r "$builddir" "$builddir"-py3 } -- 2.45.2