python3-pytest-isort: fix tests
This commit is contained in:
parent
24e3eb5da3
commit
3b9ab801d1
1 changed files with 10 additions and 4 deletions
|
@ -11,10 +11,16 @@ maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/stephrdev/pytest-isort"
|
homepage="https://github.com/stephrdev/pytest-isort"
|
||||||
changelog="https://github.com/stephrdev/pytest-isort/raw/master/CHANGELOG.rst"
|
changelog="https://github.com/stephrdev/pytest-isort/raw/master/CHANGELOG.rst"
|
||||||
distfiles="${PYPI_SITE}/p/pytest_isort/pytest_isort-${version}.tar.gz"
|
distfiles="https://github.com/stephrdev/pytest-isort/archive/refs/tags/${version}.tar.gz"
|
||||||
checksum=067801dc5e54a474330d074d521c815948ff6d5cf0ed3b9d057b78216851186c
|
checksum=c6994dd442e2fe50f2667d6fa6e14a5800192966b628cc31107c8f96c36a514b
|
||||||
# cba for now
|
|
||||||
make_check=no
|
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() {
|
post_install() {
|
||||||
vlicense LICENSE.rst
|
vlicense LICENSE.rst
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue