Fix dont-use-st-markdown.patch (don't list packages explicitly,

generate the list)
This commit is contained in:
Matej Cepl 2024-07-30 00:37:24 +02:00
parent d75a4b0fdf
commit 9d9fee934c
Signed by untrusted user: mcepl
GPG Key ID: 79205802880BC9D8
2 changed files with 16 additions and 8 deletions

View File

@ -1,8 +1,8 @@
---
setup.cfg | 6 ++++--
setup.cfg | 8 +++++---
setup.py | 25 +------------------------
tests/create-repo.sh | 1 -
3 files changed, 5 insertions(+), 27 deletions(-)
3 files changed, 6 insertions(+), 28 deletions(-)
--- a/setup.cfg
+++ b/setup.cfg
@ -21,12 +21,14 @@
classifier =
Development Status :: 4 - Beta
Environment :: Console
@@ -33,6 +35,7 @@ data_files =
@@ -32,7 +34,8 @@ data_files =
[options]
packages =
git_deps
- git_deps
+ find:
+requires = Sphinx
[options.entry_points]
console_scripts =
@@ -48,7 +51,6 @@ addopts = tests
@ -35,7 +37,7 @@
addopts =
- --cov git_deps --cov-report term-missing
--verbose
[aliases]
--- a/setup.py
+++ b/setup.py
@ -52,8 +54,8 @@
-
-import sys
from setuptools import setup
-def setup_package():
- needs_sphinx = {'build_sphinx', 'upload_docs'}.intersection(sys.argv)
- sphinx = ['sphinx'] if needs_sphinx else []

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jul 29 22:36:44 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
- Fix dont-use-st-markdown.patch (don't list packages explicitly,
generate the list)
-------------------------------------------------------------------
Thu Jul 18 14:49:09 UTC 2024 - mcepl@cepl.eu