diff --git a/community/py3-xdg/APKBUILD b/community/py3-xdg/APKBUILD index 925150c1e6d..7eeb21de92f 100644 --- a/community/py3-xdg/APKBUILD +++ b/community/py3-xdg/APKBUILD @@ -11,7 +11,7 @@ arch="noarch" license="LGPL-2.1-only" depends="python3" makedepends="py3-setuptools py3-gpep517 py3-wheel" -checkdepends="py3-nose hicolor-icon-theme" +checkdepends="py3-pytest hicolor-icon-theme" subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver @@ -26,7 +26,9 @@ build() { } check() { - nose2 + python3 -m venv --clear --without-pip --system-site-packages .testenv + .testenv/bin/python3 -m installer .dist/*.whl + .testenv/bin/python3 -m pytest } package() {