aports/community/black/remove-fancy-pypi-readme.patch
2023-12-28 23:08:24 +00:00

28 lines
710 B
Diff

Not needed to build black.
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -25,7 +25,7 @@ preview = true
# NOTE: You don't need this in your own Black configuration.
[build-system]
-requires = ["hatchling>=1.20.0", "hatch-vcs", "hatch-fancy-pypi-readme"]
+requires = ["hatchling>=1.20.0", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
@@ -92,13 +92,6 @@ blackd = "blackd:patched_main [d]"
Changelog = "https://github.com/psf/black/blob/main/CHANGES.md"
Homepage = "https://github.com/psf/black"
-[tool.hatch.metadata.hooks.fancy-pypi-readme]
-content-type = "text/markdown"
-fragments = [
- { path = "README.md" },
- { path = "CHANGES.md" },
-]
-
[tool.hatch.version]
source = "vcs"