aports/community/py3-scikit-build/hatch.patch

47 lines
1.4 KiB
Diff

diff --git a/pyproject.toml b/pyproject.toml
index 6a01f15..05fbc23 100644
--- 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]
@@ -78,34 +78,6 @@ version.source = "vcs"
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"
-end-before = ".. INJECT-CHANGELOG"
-
-[[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]
line-length = 120