From 9b89852ea7fc4598918b67d7ae2534d194470149 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Sun, 26 Jun 2022 16:47:17 +0200 Subject: [PATCH 1/2] python3-jsonschema: update to 4.6.0. --- srcpkgs/python3-jsonschema/template | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template index 120392ad1be3..92a65eebd9d1 100644 --- a/srcpkgs/python3-jsonschema/template +++ b/srcpkgs/python3-jsonschema/template @@ -1,20 +1,24 @@ # Template file for 'python3-jsonschema' pkgname=python3-jsonschema -version=4.4.0 +version=4.6.0 revision=1 wrksrc="jsonschema-${version}" build_style=python3-pep517 -make_check_args="--deselect jsonschema/tests/test_cli.py::TestCLIIntegration::test_license" -hostmakedepends="python3-setuptools_scm python3-wheel" +hostmakedepends="hatchling hatch-vcs" depends="python3-attrs python3-pyrsistent" -checkdepends="python3-pytest python3-Twisted $depends" short_desc="Implementation of JSON Schema for Python3" -maintainer="Orphaned " +maintainer="Jan Christian Grünhage " license="MIT" homepage="https://github.com/Julian/jsonschema" changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG.rst" distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz" -checksum=636694eb41b3535ed608fe04129f26542b59ed99808b4f688aa32dcf55317a83 +checksum=9d6397ba4a6c0bf0300736057f649e3e12ecbc07d3e81a0dacb72de4e9801957 +# Tests require jsonschema to be installed already. Setting PYTHONPATH doesn't seem to do trick +make_check=no + +pre_build() { + export SETUPTOOLS_SCM_PRETEND_VERSION="${version}" +} post_install() { vlicense COPYING LICENSE From 5cfe5c54e7c17539545a0f1aded392caf16f1b2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Fri, 10 Jun 2022 17:30:55 +0200 Subject: [PATCH 2/2] python3-ansible-lint: update to 6.3.0. --- srcpkgs/python3-ansible-lint/template | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python3-ansible-lint/template b/srcpkgs/python3-ansible-lint/template index 19b1453782e9..9efe8d690322 100644 --- a/srcpkgs/python3-ansible-lint/template +++ b/srcpkgs/python3-ansible-lint/template @@ -1,6 +1,6 @@ # Template file for 'python3-ansible-lint' pkgname=python3-ansible-lint -version=6.2.2 +version=6.3.0 revision=1 wrksrc="${pkgname/python3-/}-${version}" build_style=python3-pep517 @@ -18,12 +18,14 @@ maintainer="Jan Christian Grünhage " license="GPL-3.0-only" homepage="https://github.com/ansible-community/ansible-lint" distfiles="${PYPI_SITE}/a/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz" -checksum=b8e2956fede90bd28150e97f209a8af787c6001f584bb6613112a1ce1aea311d +checksum=f57f520ae5d810ce062157dc7d633990ad2fbec81bbbb34ccc4ce3a0c21fcd38 # Tests are currently broken for ansible on python 3.10 # See https://github.com/ansible/ansible/issues/74658 # and https://github.com/ansible/ansible/issues/74660 make_check=no +make_install_target="ansible_lint-*-*-*-*.whl" post_patch() { vsed -e "/setuptools_scm_git_archive/d" -i pyproject.toml + export SETUPTOOLS_SCM_PRETEND_VERSION="${version}" }