From e8c9ff8305605eacf31ae1061db3bb6f911c725e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Sat, 3 Aug 2024 19:38:29 -0300 Subject: [PATCH] python3-attrs: update to 24.1.0, adopt. --- .../remove-hatch-fancy-pypi-readme-dep.diff | 60 ------------------- srcpkgs/python3-attrs/template | 8 +-- 2 files changed, 4 insertions(+), 64 deletions(-) delete mode 100644 srcpkgs/python3-attrs/patches/remove-hatch-fancy-pypi-readme-dep.diff 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 deleted file mode 100644 index 56e583d9156..00000000000 --- a/srcpkgs/python3-attrs/patches/remove-hatch-fancy-pypi-readme-dep.diff +++ /dev/null @@ -1,60 +0,0 @@ -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>=23.2.0"] -+requires = ["hatchling", "hatch-vcs"] - build-backend = "hatchling.build" - - -@@ -77,46 +77,6 @@ - [tool.hatch.build.targets.wheel] - packages = ["src/attr", "src/attrs"] - --[tool.hatch.metadata.hooks.fancy-pypi-readme] --content-type = "text/markdown" -- --# PyPI doesn't support the tag. --[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]] --text = """

-- -- attrs -- --

--""" -- --[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]] --path = "README.md" --start-after = "" -- --[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]] --text = """ -- --## Release Information -- --""" -- --[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]] --path = "CHANGELOG.md" --pattern = "\n(###.+?\n)## " -- --[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]] --text = """ -- ----- -- --[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' -- - - [tool.pytest.ini_options] - addopts = ["-ra", "--strict-markers", "--strict-config"] diff --git a/srcpkgs/python3-attrs/template b/srcpkgs/python3-attrs/template index 3cbc25aec9e..d02cfbb7ba2 100644 --- a/srcpkgs/python3-attrs/template +++ b/srcpkgs/python3-attrs/template @@ -1,19 +1,19 @@ # Template file for 'python3-attrs' pkgname=python3-attrs -version=23.2.0 +version=24.1.0 revision=1 build_style=python3-pep517 -hostmakedepends="python3-setuptools hatch-vcs" +hostmakedepends="python3-setuptools hatch-vcs hatch-fancy-pypi-readme" depends="python3" checkdepends="python3-pytest python3-zope.interface python3-six python3-hypothesis" short_desc="Attributes without boilerplate (Python3)" -maintainer="Orphaned " +maintainer="Gonzalo TornarĂ­a " 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=935dc3b529c262f6cf76e50877d35a4bd3c1de194fd41f47a2b7ae8f19971f30 +checksum=adbdec84af72d38be7628e353a09b6a6790d15cd71819f6e9d7b0faa8a125745 post_install() { vlicense LICENSE