mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-25 23:41:39 +01:00
community/py3-xdg: bring tests close to working
Removes mention of the definelty unused py3-nose
This commit is contained in:
parent
ff2af19ae6
commit
cd7fa8d49a
@ -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() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user