From e30bd8fffa1affd0aa00d336f170a102f819d633 Mon Sep 17 00:00:00 2001 From: Kai Knoblich Date: Mon, 28 Feb 2022 12:50:26 +0100 Subject: textproc/py-mkdocstrings: New port This Python package is an extension for MkDocs and its main purpose is the automation of documentation from sources. Features: * Language-agnostic * Multiple themes support * Cross-references across pages * Cross-references across sites * Inline injection in Markdown * Global and local configuration * Watch source code directories * Reasonable defaults WWW: https://github.com/mkdocstrings/mkdocstrings --- textproc/py-mkdocstrings/files/patch-setup.py | 44 +++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 textproc/py-mkdocstrings/files/patch-setup.py (limited to 'textproc/py-mkdocstrings/files/patch-setup.py') diff --git a/textproc/py-mkdocstrings/files/patch-setup.py b/textproc/py-mkdocstrings/files/patch-setup.py new file mode 100644 index 000000000000..99fdbaca862e --- /dev/null +++ b/textproc/py-mkdocstrings/files/patch-setup.py @@ -0,0 +1,44 @@ +--- setup.py.orig 2022-02-28 05:29:01 UTC ++++ setup.py +@@ -0,0 +1,41 @@ ++# Generated via pdm export -f setuppy" (run "pdm lock" beforehand) ++# -*- coding: utf-8 -*- ++from setuptools import setup ++ ++INSTALL_REQUIRES = [ ++ 'Jinja2>=2.11.1', ++ 'Markdown>=3.3', ++ 'MarkupSafe>=1.1', ++ 'mkdocs>=1.2', ++ 'mkdocs-autorefs>=0.1', ++ 'pymdown-extensions>=6.3', ++ 'pytkdocs>=0.14.0', ++] ++ENTRY_POINTS = { ++ 'mkdocs.plugins': [ ++ 'mkdocstrings = mkdocstrings.plugin:MkdocstringsPlugin', ++ ], ++} ++ ++setup_kwargs = { ++ 'name': 'mkdocstrings', ++ 'version': '%%DISTVERSION%%', ++ 'description': 'Automatic documentation from sources, for MkDocs.', ++ 'author': '', ++ 'author_email': 'Timothée Mazzucotelli ', ++ 'package_dir': {'': 'src/'}, ++ 'packages': [ ++ 'mkdocstrings', ++ 'mkdocstrings.handlers', ++ 'mkdocstrings.templates.python', ++ 'mkdocstrings.templates.python.material', ++ 'mkdocstrings.templates.python.mkdocs', ++ 'mkdocstrings.templates.python.readthedocs' ++ ], ++ 'package_data': {'': ['*']}, ++ 'install_requires': INSTALL_REQUIRES, ++ 'python_requires': '>=3.6.2', ++ 'entry_points': ENTRY_POINTS, ++} ++ ++setup(**setup_kwargs) -- cgit v1.2.3