diff options
| author | Derek Schrock <dereks@lifeofadishwasher.com> | 2024-04-06 23:50:56 -0400 |
|---|---|---|
| committer | Nuno Teixeira <eduardo@FreeBSD.org> | 2024-04-07 09:04:38 +0100 |
| commit | e60672e6afd7afe1307109099ecc2e87f3264c75 (patch) | |
| tree | 981da2fb4827f4c0e9c24073d414edf72e6df397 /textproc/py-sphinxcontrib-autoprogram/files | |
| parent | math/libtommath: small improvements (diff) | |
textproc/py-sphinxcontrib-autoprogram: Update to 0.1.9
- Use pep517
- Add pep420 changes
- Directly run tests via unittest
- Directly builds docs via sphinx-build
ChangeLog: https://github.com/sphinx-contrib/autoprogram/releases/tag/0.1.9
PR: 277749
Diffstat (limited to 'textproc/py-sphinxcontrib-autoprogram/files')
| -rw-r--r-- | textproc/py-sphinxcontrib-autoprogram/files/patch-setup.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/textproc/py-sphinxcontrib-autoprogram/files/patch-setup.py b/textproc/py-sphinxcontrib-autoprogram/files/patch-setup.py new file mode 100644 index 000000000000..cf8fe25ae54d --- /dev/null +++ b/textproc/py-sphinxcontrib-autoprogram/files/patch-setup.py @@ -0,0 +1,21 @@ +--- setup.py.orig 2024-04-07 02:53:48 UTC ++++ setup.py +@@ -3,7 +3,7 @@ from __future__ import with_statement + + import sys + +-from setuptools import setup, find_packages ++from setuptools import find_namespace_packages, setup, find_packages + + + # Do not change the variable name. It's parsed by doc/conf.py script. +@@ -49,8 +49,7 @@ setup( + ], + python_requires='>=3.8', + platforms='any', +- packages=find_packages(), +- namespace_packages=['sphinxcontrib'], ++ packages=find_namespace_packages(include=['sphinxcontrib']), + include_package_data=True, + install_requires=requires, + test_suite='sphinxcontrib.autoprogram.suite' |
