summaryrefslogtreecommitdiff
path: root/dev-python/mkdocs-material/files/mkdocs-material-8.5.7-simplify-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/mkdocs-material/files/mkdocs-material-8.5.7-simplify-build.patch')
-rw-r--r--dev-python/mkdocs-material/files/mkdocs-material-8.5.7-simplify-build.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-python/mkdocs-material/files/mkdocs-material-8.5.7-simplify-build.patch b/dev-python/mkdocs-material/files/mkdocs-material-8.5.7-simplify-build.patch
new file mode 100644
index 000000000000..ac696c40710f
--- /dev/null
+++ b/dev-python/mkdocs-material/files/mkdocs-material-8.5.7-simplify-build.patch
@@ -0,0 +1,28 @@
+diff --git a/pyproject.toml b/pyproject.toml
+index c5bd914c0..3757e983b 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -19,7 +19,7 @@
+ # IN THE SOFTWARE.
+
+ [build-system]
+-requires = ["hatchling", "hatch-requirements-txt", "hatch-nodejs-version>=0.3.0"]
++requires = ["hatchling"]
+ build-backend = "hatchling.build"
+
+ [project]
+@@ -55,13 +55,7 @@ tags = "material.plugins.tags.plugin:TagsPlugin"
+ material = "material"
+
+ [tool.hatch.version]
+-source = "nodejs"
+-
+-[tool.hatch.metadata.hooks.nodejs]
+-fields = ["license", "description", "authors", "keywords", "urls"]
+-
+-[tool.hatch.metadata.hooks.requirements_txt]
+-filename = "requirements.txt"
++path = "gentoo_version.py"
+
+ [tool.hatch.build.targets.wheel]
+ include = ["/material"]