~dricottone/huttese-apk

77bd23d7780c141697ded06f9fd0abfa62699d6d — Drew DeVault 6 years ago b97e253
Switch back to pytest, with coverage disabled
2 files changed, 6 insertions(+), 2 deletions(-)

M sr.ht/py-cssselect2/APKBUILD
M sr.ht/py-tinycss2/APKBUILD
M sr.ht/py-cssselect2/APKBUILD => sr.ht/py-cssselect2/APKBUILD +4 -2
@@ 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() {

M sr.ht/py-tinycss2/APKBUILD => sr.ht/py-tinycss2/APKBUILD +2 -0
@@ 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
}