community/py3-xdg: bring tests close to working

Removes mention of the definelty unused py3-nose
This commit is contained in:
Sertonix 2026-02-20 22:52:37 +01:00 committed by Achill Gilgenast
parent ff2af19ae6
commit cd7fa8d49a

View File

@ -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() {