void-packages/srcpkgs/python3-service_identity/patches/drop-fancy-pypi-readme.diff

47 lines
1.2 KiB
Diff

--- a/pyproject.toml 2023-06-14 08:54:35.000000000 +0100
+++ b/pyproject.toml 2023-11-27 23:41:30.341946203 +0000
@@ -1,5 +1,5 @@
[build-system]
-requires = ["hatchling", "hatch-vcs", "hatch-fancy-pypi-readme"]
+requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
@@ -52,36 +52,6 @@
source = "vcs"
raw-options = { local_scheme = "no-local-version" }
-[tool.hatch.metadata.hooks.fancy-pypi-readme]
-content-type = "text/markdown"
-
-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
-text = "# Service Identity Verification for pyOpenSSL & *cryptography*\n"
-
-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
-path = "README.md"
-start-after = "spiel-begin -->\n"
-
-[[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 = """
-----
-
-[→ Complete Changelog](https://service-identity.readthedocs.io/en/stable/changelog.html)
-"""
-
-
[tool.pytest.ini_options]
addopts = ["-ra", "--strict-markers", "--strict-config"]
xfail_strict = true