diff options
author | Kai Knoblich <kai@FreeBSD.org> | 2022-02-28 12:47:02 +0100 |
---|---|---|
committer | Kai Knoblich <kai@FreeBSD.org> | 2022-02-28 12:47:02 +0100 |
commit | f15afaec9821f2c76259d3c959d3d67c9463fa7e (patch) | |
tree | 1a26e75fc8d82bc5a7eb96076a778f17997d1881 /textproc/py-pytkdocs/files/patch-setup.py | |
parent | textproc/py-docstring-parser: New port (diff) |
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
Diffstat (limited to 'textproc/py-pytkdocs/files/patch-setup.py')
-rw-r--r-- | textproc/py-pytkdocs/files/patch-setup.py | 44 |
1 files changed, 44 insertions, 0 deletions
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 <pawamoy@pm.me>', ++ '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) |