From 0c7d5d7d9588e0c31476e467bc02d6dcbe237756 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sun, 29 Jan 2023 12:34:49 +0100 Subject: [PATCH] python3-jsonschema: use bsdtar for tests --- srcpkgs/python3-jsonschema/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template index 058a33b7318..f9b0c2e1952 100644 --- a/srcpkgs/python3-jsonschema/template +++ b/srcpkgs/python3-jsonschema/template @@ -16,7 +16,8 @@ checksum=0f864437ab8b6076ba6707453ef8f98a6a0d512a80e93f8abdb676f737ecb60d do_check() { rm -rf *.dist-info tmp # remove artifacts from previous unsuccessful check run - pip install --no-deps --target tmp ./dist/jsonschema-$version-py3-none-any.whl + mkdir tmp + bsdtar xf dist/jsonschema-$version-py3-none-any.whl -C tmp rm tmp/jsonschema/tests -rf mv tmp/*.dist-info . PYTHONPATH=. pytest --deselect jsonschema/tests/test_jsonschema_test_suite.py::test_suite_bug