commit: 8e5ab972973752e9d14cd99a9a0f83e0fe6c6ea8
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 28 04:02:18 2023 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sat Oct 28 04:07:25 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e5ab972
dev-python/sphinx-celery: trim patch context
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
.../files/sphinx-celery-2.0.0-extlinks.patch | 21 +++++----------------
1 file changed, 5 insertions(+), 16 deletions(-)
diff --git a/dev-python/sphinx-celery/files/sphinx-celery-2.0.0-extlinks.patch
b/dev-python/sphinx-celery/files/sphinx-celery-2.0.0-extlinks.patch
index a57dce428118..c01e8dde882d 100644
--- a/dev-python/sphinx-celery/files/sphinx-celery-2.0.0-extlinks.patch
+++ b/dev-python/sphinx-celery/files/sphinx-celery-2.0.0-extlinks.patch
@@ -13,29 +13,18 @@ diff --git a/sphinx_celery/conf.py b/sphinx_celery/conf.py
index b35bc2b..8a6895b 100644
--- a/sphinx_celery/conf.py
+++ b/sphinx_celery/conf.py
-@@ -158,20 +158,20 @@
-
- extlinks.setdefault('sha', (
- 'https://github.com/{0}/commit/%s'.format(github_project),
+@@ -161 +161 @@
- 'GitHub SHA@',
+ 'GitHub SHA@%s',
- ))
- extlinks.setdefault('github_branch', (
- 'https://github.com/{0}/tree/%s'.format(github_project),
+@@ -165 +165 @@
- 'GitHub branch',
+ 'GitHub branch %s',
- ))
- extlinks.setdefault('github_user', (
+@@ -168 +168 @@
- 'https://github.com/%s/', '@',
+ 'https://github.com/%s/', '@%s',
- ))
- extlinks.setdefault('pypi', (
+@@ -171 +171 @@
- 'https://pypi.python.org/pypi/%s/', '',
+ 'https://pypi.python.org/pypi/%s/', None,
- ))
- extlinks.setdefault('wikipedia', (
+@@ -174 +174 @@
- 'https://en.wikipedia.org/wiki/%s', '',
+ 'https://en.wikipedia.org/wiki/%s', None,
- ))
-
- if not canonical_dev_url: