void-packages/srcpkgs/python3-scikit-build/patches/patch-out-hatch-fancy-pypi-...

45 lines
1.3 KiB
Diff

--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,5 +1,5 @@
[build-system]
-requires = ["hatchling", "hatch-fancy-pypi-readme", "hatch-vcs"]
+requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
@@ -76,34 +76,6 @@
build.hooks.vcs.version-file = "skbuild/_version.py"
-[tool.hatch.metadata.hooks.fancy-pypi-readme]
-content-type = "text/x-rst"
-
-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
-path = "README.rst"
-start-after = ".. START-INTRO"
-end-before = ".. END-INTRO"
-
-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
-path = "CHANGES.rst"
-start-after = ".. START-BRIEF-CHANGELOG"
-end-before = ".. END-BRIEF-CHANGELOG"
-
-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
-path = "README.rst"
-start-after = ".. INJECT-CHANGELOG"
-
-[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]
-pattern = ':pr:`(\d+)`'
-replacement = '`#\1 <https://github.com/scikit-build/scikit-build/pull/\1>`_'
-
-[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]
-pattern = ':issue:`(\d+)`'
-replacement = '`#\1 <https://github.com/scikit-build/scikit-build/issues/\1>`_'
-
-[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]
-pattern = ':user:`(\S+)`'
-replacement = '`@\1 <https://github.com/\1>`_'
[tool.black]