From 61847a358eb5172dea0f3b8877d918e93c546ba9 Mon Sep 17 00:00:00 2001 From: icp Date: Wed, 1 Feb 2023 18:33:39 +0530 Subject: [PATCH] python3-jsonschema: repackage with updated pep517 build style --- srcpkgs/python3-jsonschema/template | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template index f9b0c2e1952..8ec7cef8d75 100644 --- a/srcpkgs/python3-jsonschema/template +++ b/srcpkgs/python3-jsonschema/template @@ -3,6 +3,7 @@ pkgname=python3-jsonschema version=4.17.3 revision=1 build_style=python3-pep517 +make_check_args="--deselect jsonschema/tests/test_jsonschema_test_suite.py::test_suite_bug" hostmakedepends="hatchling hatch-vcs" depends="python3-attrs python3-pyrsistent" checkdepends="${depends} python3-pytest python3-pip" @@ -14,16 +15,6 @@ changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG. distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz" checksum=0f864437ab8b6076ba6707453ef8f98a6a0d512a80e93f8abdb676f737ecb60d -do_check() { - rm -rf *.dist-info tmp # remove artifacts from previous unsuccessful check run - 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 - rm -rf *.dist-info tmp -} - pre_build() { export SETUPTOOLS_SCM_PRETEND_VERSION="${version}" }