From f15afaec9821f2c76259d3c959d3d67c9463fa7e Mon Sep 17 00:00:00 2001 From: Kai Knoblich Date: Mon, 28 Feb 2022 12:47:02 +0100 Subject: textproc/py-pytkdocs: New port This Python package is used to load Python objects documentation. It accepts JSON on standard input and writes JSON on standard output. WWW: https://github.com/mkdocstrings/pytkdocs --- textproc/py-pytkdocs/files/patch-setup.py | 44 +++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 textproc/py-pytkdocs/files/patch-setup.py (limited to 'textproc/py-pytkdocs/files/patch-setup.py') diff --git a/textproc/py-pytkdocs/files/patch-setup.py b/textproc/py-pytkdocs/files/patch-setup.py new file mode 100644 index 000000000000..5da3bac57aaa --- /dev/null +++ b/textproc/py-pytkdocs/files/patch-setup.py @@ -0,0 +1,44 @@ +--- setup.py.orig 2022-02-28 05:25:48 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 = [ ++ "astunparse>=1.6; python_version < '3.9'", ++ "cached-property>=1.5; python_version < '3.8'", ++ "typing-extensions>=3.7; python_version < '3.8'", ++] ++EXTRAS_REQUIRE = { ++ 'numpy-style': [ ++ 'docstring_parser>=0.7', ++ ], ++} ++ENTRY_POINTS = { ++ 'console_scripts': [ ++ 'pytkdocs = pytkdocs.cli:main', ++ ], ++} ++ ++setup_kwargs = { ++ 'name': 'pytkdocs', ++ 'version': '%%DISTVERSION%%', ++ 'description': 'Load Python objects documentation.', ++ 'author': '', ++ 'author_email': 'Timothée Mazzucotelli ', ++ 'packages': [ ++ 'pytkdocs', ++ 'pytkdocs.parsers', ++ 'pytkdocs.parsers.docstrings', ++ ], ++ 'package_dir': {'': 'src'}, ++ 'package_data': {'': ['*']}, ++ 'install_requires': INSTALL_REQUIRES, ++ 'extras_require': EXTRAS_REQUIRE, ++ 'python_requires': '>=3.7', ++ 'entry_points': ENTRY_POINTS, ++} ++ ++setup(**setup_kwargs) -- cgit v1.2.3