summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2023-10-27 21:02:18 -0700
committerZac Medico <zmedico@gentoo.org>2023-10-27 21:07:25 -0700
commit8e5ab972973752e9d14cd99a9a0f83e0fe6c6ea8 (patch)
tree01135c62279db74ed5d39c027bf14af24671d50d /dev-python/sphinx-celery
parentdev-python/sphinx-celery: Add placeholder to extlinks (diff)
downloadgentoo-8e5ab972973752e9d14cd99a9a0f83e0fe6c6ea8.tar.gz
gentoo-8e5ab972973752e9d14cd99a9a0f83e0fe6c6ea8.tar.bz2
gentoo-8e5ab972973752e9d14cd99a9a0f83e0fe6c6ea8.zip
dev-python/sphinx-celery: trim patch context
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'dev-python/sphinx-celery')
-rw-r--r--dev-python/sphinx-celery/files/sphinx-celery-2.0.0-extlinks.patch21
1 files 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: