diff --git a/srcpkgs/python3-pytest-isort/template b/srcpkgs/python3-pytest-isort/template index c3566853a18..67d7abfa939 100644 --- a/srcpkgs/python3-pytest-isort/template +++ b/srcpkgs/python3-pytest-isort/template @@ -11,10 +11,16 @@ maintainer="Jan Christian Grünhage " license="MIT" homepage="https://github.com/stephrdev/pytest-isort" changelog="https://github.com/stephrdev/pytest-isort/raw/master/CHANGELOG.rst" -distfiles="${PYPI_SITE}/p/pytest_isort/pytest_isort-${version}.tar.gz" -checksum=067801dc5e54a474330d074d521c815948ff6d5cf0ed3b9d057b78216851186c -# cba for now -make_check=no +distfiles="https://github.com/stephrdev/pytest-isort/archive/refs/tags/${version}.tar.gz" +checksum=c6994dd442e2fe50f2667d6fa6e14a5800192966b628cc31107c8f96c36a514b + +do_check() { + rm -rf tmp # remove artifacts from previous unsuccessful check run + mkdir tmp + bsdtar xf dist/pytest_isort-$version-py3-none-any.whl -C tmp + PYTHONPATH=tmp pytest + rm -rf tmp +} post_install() { vlicense LICENSE.rst