From deb9bd5a9d6749709dd9636886e2adad0da0b4f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Wed, 16 Aug 2023 21:22:53 -0300 Subject: [PATCH] New package: python3-referencing-0.30.2 --- srcpkgs/python3-referencing/template | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 srcpkgs/python3-referencing/template diff --git a/srcpkgs/python3-referencing/template b/srcpkgs/python3-referencing/template new file mode 100644 index 00000000000..44ea2d6cf46 --- /dev/null +++ b/srcpkgs/python3-referencing/template @@ -0,0 +1,27 @@ +# Template file for 'python3-referencing' +pkgname=python3-referencing +version=0.30.2 +revision=1 +build_style=python3-pep517 +hostmakedepends="hatchling hatch-vcs" +depends="python3-rpds-py" +checkdepends="$depends python3-pytest-subtests" +short_desc="Cross-specification JSON Referencing" +maintainer="Gonzalo TornarĂ­a " +license="MIT" +homepage="https://github.com/python-jsonschema/referencing" +changelog="https://raw.githubusercontent.com/python-jsonschema/referencing/main/docs/changes.rst" +distfiles="${PYPI_SITE}/r/referencing/referencing-${version}.tar.gz" +checksum=794ad8003c65938edcdbc027f1933215e0d0ccc0291e3ce20a4d87432b59efc0 + +if [ "$XBPS_CHECK_PKGS" = full ]; then + # cyclic dependency + checkdepends+=" python3-jsonschema" +else + # needs python3-jsonschema + make_check_args+=" --ignore=suite/test_sanity.py" +fi + +post_install() { + vlicense COPYING +}