diff --git a/srcpkgs/python3-attrs/patches/remove-hatch-fancy-pypi-readme-dep.diff b/srcpkgs/python3-attrs/patches/remove-hatch-fancy-pypi-readme-dep.diff index 6133fece118..56e583d9156 100644 --- a/srcpkgs/python3-attrs/patches/remove-hatch-fancy-pypi-readme-dep.diff +++ b/srcpkgs/python3-attrs/patches/remove-hatch-fancy-pypi-readme-dep.diff @@ -1,15 +1,17 @@ ---- a/pyproject.toml 2023-04-16 13:22:15.000000000 +0300 -+++ b/pyproject.toml 2023-04-29 16:49:08.704873775 +0300 +This useless dependency is only for distribution on PyPI. + +--- a/pyproject.toml ++++ b/pyproject.toml @@ -1,7 +1,7 @@ # SPDX-License-Identifier: MIT [build-system] --requires = ["hatchling", "hatch-vcs", "hatch-fancy-pypi-readme"] +-requires = ["hatchling", "hatch-vcs", "hatch-fancy-pypi-readme>=23.2.0"] +requires = ["hatchling", "hatch-vcs"] build-backend = "hatchling.build" -@@ -75,52 +75,6 @@ +@@ -77,46 +77,6 @@ [tool.hatch.build.targets.wheel] packages = ["src/attr", "src/attrs"] @@ -48,17 +50,11 @@ -[Full changelog](https://www.attrs.org/en/stable/changelog.html) -""" - +-# Point sponsor image URLs to versions. +-[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]] +-pattern = '\/latest\/_static/sponsors' +-replacement = '/$HFPR_VERSION/_static/sponsors' - --# Make coverage play nicely with pytest-xdist. --[tool.hatch.build.targets.wheel.hooks.autorun] --dependencies = ["hatch-autorun"] --code = """ --import coverage --coverage.process_startup() --""" --enable-by-default = false -- -- + [tool.pytest.ini_options] addopts = ["-ra", "--strict-markers", "--strict-config"] - xfail_strict = true diff --git a/srcpkgs/python3-attrs/template b/srcpkgs/python3-attrs/template index c38da8dca99..3cbc25aec9e 100644 --- a/srcpkgs/python3-attrs/template +++ b/srcpkgs/python3-attrs/template @@ -1,7 +1,7 @@ # Template file for 'python3-attrs' pkgname=python3-attrs -version=23.1.0 -revision=2 +version=23.2.0 +revision=1 build_style=python3-pep517 hostmakedepends="python3-setuptools hatch-vcs" depends="python3" @@ -13,7 +13,7 @@ license="MIT" homepage="https://attrs.readthedocs.io/" changelog="https://raw.githubusercontent.com/python-attrs/attrs/main/CHANGELOG.md" distfiles="${PYPI_SITE}/a/attrs/attrs-${version}.tar.gz" -checksum=6279836d581513a26f1bf235f9acd333bc9115683f14f7e8fae46c98fc50e015 +checksum=935dc3b529c262f6cf76e50877d35a4bd3c1de194fd41f47a2b7ae8f19971f30 post_install() { vlicense LICENSE