summaryrefslogtreecommitdiff
path: root/textproc/py-mkdocstrings/files/patch-setup.py
diff options
context:
space:
mode:
authorKai Knoblich <kai@FreeBSD.org>2023-08-31 07:27:25 +0200
committerKai Knoblich <kai@FreeBSD.org>2023-08-31 07:44:18 +0200
commit6b168f112781310a794a3ba68d99a38c819d9aba (patch)
treed40d3a2b4ef94046dd744a787c7271058389e9de /textproc/py-mkdocstrings/files/patch-setup.py
parenttextproc/py-mkdocstrings-python-legacy: New port (diff)
textproc/py-mkdocstrings: Update to 0.22.0
* Introduce CRYSTAL, PYTHON and PYTHONLEGACY options to reflect the optional dependencies as noted in "pyproject.toml". Leave the last two as non-default for now, because both are mutually exclusive due conflicting dependencies. * Switch to PEP517 build framework and get rid of the no longer required workarounds for distutils. * Remove the backported patch for Jinja2 3.1+ compatibility which is also no longer needed. * Convert the test suite to USE_PYTHON=pytest as well. Changelogs since 0.17.0: https://github.com/mkdocstrings/mkdocstrings/blob/0.22.0/CHANGELOG.md
Diffstat (limited to 'textproc/py-mkdocstrings/files/patch-setup.py')
-rw-r--r--textproc/py-mkdocstrings/files/patch-setup.py44
1 files changed, 0 insertions, 44 deletions
diff --git a/textproc/py-mkdocstrings/files/patch-setup.py b/textproc/py-mkdocstrings/files/patch-setup.py
deleted file mode 100644
index 99fdbaca862e..000000000000
--- a/textproc/py-mkdocstrings/files/patch-setup.py
+++ /dev/null
@@ -1,44 +0,0 @@
---- 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 <pawamoy@pm.me>',
-+ '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)