mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 14:20:33 -04:00
This Python handler for the "mkdocstrings" package uses PyTkDocs (= textproc/py-pytkdocs) to collect documentation from Python source code. Features: * Data collection from source code: collection of the object-tree and the docstrings is done thanks to pytkdocs. * Support for type annotations: pytkdocs collects your type annotations and mkdocstrings uses them to display parameters types or return types. * Recursive documentation of Python objects: just use the module dotted-path as identifier, and you get the full module docs. You don't need to inject documentation for each class, function, etc. * Support for documented attributes: attributes (variables) followed by a docstring (triple-quoted string) will be recognized by Griffe in modules, classes and even in __init__ methods. * Multiple docstring-styles support: common support for Google-style, Numpydoc-style, and Sphinx-style docstrings.
23 lines
804 B
TOML
23 lines
804 B
TOML
Workaround to prevent following error:
|
|
|
|
[...]
|
|
File "/usr/local/lib/python3.9/site-packages/pdm/pep517/metadata.py", line 58, in validate
|
|
return validate_pep621(self.data, raising)
|
|
File "/usr/local/lib/python3.9/site-packages/pdm/pep517/validator.py", line 85, in validate_pep621
|
|
raise PEP621ValidationError(validator.errors)
|
|
pdm.pep517.exceptions.PEP621ValidationError: {'license-expression': ['unknown field']}
|
|
|
|
ERROR Backend subprocess exited when trying to invoke get_requires_for_build_wheel
|
|
*** Error code 1
|
|
[...]
|
|
|
|
--- pyproject.toml.orig 2022-05-28 13:34:29 UTC
|
|
+++ pyproject.toml
|
|
@@ -10,7 +10,6 @@ authors = [
|
|
authors = [
|
|
{ name = "Timothée Mazzucotelli", email = "pawamoy@pm.me" },
|
|
]
|
|
-license-expression = "ISC"
|
|
readme = "README.md"
|
|
requires-python = ">=3.7"
|
|
keywords = []
|