summaryrefslogtreecommitdiff
path: root/textproc/py-mkdocstrings-python-legacy/files/patch-pyproject.toml
diff options
context:
space:
mode:
authorKai Knoblich <kai@FreeBSD.org>2025-03-22 16:48:11 +0100
committerKai Knoblich <kai@FreeBSD.org>2025-03-22 17:11:34 +0100
commitbb5d8e05d609b5d664f67f2d8509a4fdc166f57c (patch)
tree15927fd5d85be4d7cf0f4734e20de1bd46d79115 /textproc/py-mkdocstrings-python-legacy/files/patch-pyproject.toml
parenttextproc/py-mkdocstrings-python: Update to 1.16.7 (diff)
textproc/py-mkdocstrings-python-legacy: Update to 0.2.5
* Switch to GitHub for while as the sdist tarball at PyPI doesn't contain all required Python source files. * Support for Python 3.8 was dropped with this release, thus remove a now obsolete hint regarding the Python version. Changelog: https://github.com/mkdocstrings/python-legacy/releases/tag/0.2.5
Diffstat (limited to 'textproc/py-mkdocstrings-python-legacy/files/patch-pyproject.toml')
-rw-r--r--textproc/py-mkdocstrings-python-legacy/files/patch-pyproject.toml15
1 files changed, 15 insertions, 0 deletions
diff --git a/textproc/py-mkdocstrings-python-legacy/files/patch-pyproject.toml b/textproc/py-mkdocstrings-python-legacy/files/patch-pyproject.toml
new file mode 100644
index 000000000000..976766bb46ae
--- /dev/null
+++ b/textproc/py-mkdocstrings-python-legacy/files/patch-pyproject.toml
@@ -0,0 +1,15 @@
+Re-add relevant lines that were removed with upstream commit e6f429e64b1e to be
+able to build a wheel containing the Python source files.
+
+--- pyproject.toml.orig 2025-03-22 11:37:42 UTC
++++ pyproject.toml
+@@ -50,6 +50,9 @@ getter = "scripts.get_version:get_version"
+ getter = "scripts.get_version:get_version"
+
+ [tool.pdm.build]
++package-dir = "src"
++editable-backend = "editables"
++includes = ["src/mkdocstrings_handlers"]
+ # Include as much as possible in the source distribution, to help redistributors.
+ excludes = ["**/.pytest_cache"]
+ source-includes = [