From 74aeb9b2b002e1102113929097465e8ece29dc2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Thu, 18 Aug 2022 18:12:22 +0200 Subject: [PATCH 1/2] New package: hatch-fancy-pypi-readme-22.3.0 --- srcpkgs/hatch-fancy-pypi-readme/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/hatch-fancy-pypi-readme/template diff --git a/srcpkgs/hatch-fancy-pypi-readme/template b/srcpkgs/hatch-fancy-pypi-readme/template new file mode 100644 index 000000000000..dc3dd3e9e475 --- /dev/null +++ b/srcpkgs/hatch-fancy-pypi-readme/template @@ -0,0 +1,21 @@ +# Template file for 'hatch-fancy-pypi-readme' +pkgname=hatch-fancy-pypi-readme +version=22.3.0 +revision=1 +wrksrc="${pkgname//-/_}-${version}" +build_style=python3-pep517 +hostmakedepends="hatchling" +depends="hatchling python3-tomli" +short_desc="Hatch plugin for generating PyPI README files" +maintainer="Jan Christian Grünhage " +license="MIT" +homepage="https://github.com/hynek/hatch-fancy-pypi-readme" +changelog="https://github.com/hynek/hatch-fancy-pypi-readme/raw/main/CHANGELOG.md" +distfiles="${PYPI_SITE}/h/${pkgname//-/_}/${pkgname//-/_}-${version}.tar.gz" +checksum=7d4651f8f07825931c92873cb51137214a938badb7a759b85c1d95bf74f86efa +# Checks require https://github.com/pypa/build, which isn't packaged yet +make_check="no" + +post_install() { + vlicense LICENSE.txt +} From 981a12b59e66b72599ca470276a263011d251998 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Thu, 18 Aug 2022 18:12:31 +0200 Subject: [PATCH 2/2] python3-jsonschema: update to 4.12.1. --- srcpkgs/python3-jsonschema/template | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template index 24b7c5080099..073d4d333aec 100644 --- a/srcpkgs/python3-jsonschema/template +++ b/srcpkgs/python3-jsonschema/template @@ -1,10 +1,10 @@ # Template file for 'python3-jsonschema' pkgname=python3-jsonschema -version=4.9.1 +version=4.12.1 revision=1 wrksrc="jsonschema-${version}" build_style=python3-pep517 -hostmakedepends="hatchling hatch-vcs" +hostmakedepends="hatchling hatch-vcs hatch-fancy-pypi-readme" depends="python3-attrs python3-pyrsistent" checkdepends="${depends} python3-pytest" short_desc="Implementation of JSON Schema for Python3" @@ -13,14 +13,14 @@ 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=408c4c8ed0dede3b268f7a441784f74206380b04f93eb2d537c7befb3df3099f +checksum=c7dd96a88c4ea60bdc8478589ee2d4ea5d73ab235e24d17641ad733dde4e3eb1 do_check() { rm -rf *.dist-info tmp # remove artifacts from previous unsuccessful check run pip install --no-deps --target tmp ./jsonschema-$version-py3-none-any.whl rm tmp/jsonschema/tests -rf mv tmp/*.dist-info . - PYTHONPATH=. pytest + PYTHONPATH=. pytest --deselect jsonschema/tests/test_jsonschema_test_suite.py::test_suite_bug rm -rf *.dist-info tmp }