diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-05-05 13:10:42 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-05-05 13:10:42 +0000 |
| commit | 3cc2502c66a22cd84449a4d0b3d04bda656a9383 (patch) | |
| tree | eba01c0eabc5a572669b2f5e1d650abcaa552aee /dev-python/pycairo | |
| parent | 2adc88f8cdc28491470fcb243ff81cdbbbbda765 (diff) | |
| download | baldeagleos-repo-3cc2502c66a22cd84449a4d0b3d04bda656a9383.tar.gz baldeagleos-repo-3cc2502c66a22cd84449a4d0b3d04bda656a9383.tar.xz baldeagleos-repo-3cc2502c66a22cd84449a4d0b3d04bda656a9383.zip | |
Adding metadata
Diffstat (limited to 'dev-python/pycairo')
| -rw-r--r-- | dev-python/pycairo/files/pycairo-1.23.0-fix-sphinx.patch | 28 | ||||
| -rw-r--r-- | dev-python/pycairo/pycairo-1.23.0.ebuild | 4 |
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/pycairo/files/pycairo-1.23.0-fix-sphinx.patch b/dev-python/pycairo/files/pycairo-1.23.0-fix-sphinx.patch new file mode 100644 index 000000000000..a86dd935e482 --- /dev/null +++ b/dev-python/pycairo/files/pycairo-1.23.0-fix-sphinx.patch @@ -0,0 +1,28 @@ +https://bugs.gentoo.org/890411 +https://github.com/pygobject/pycairo/pull/318 + +From 9e78bd1acbaef6659dbe3076934ed779eac27a96 Mon Sep 17 00:00:00 2001 +From: Chris Mayo <aklhfex@gmail.com> +Date: Sun, 23 Apr 2023 19:44:26 +0100 +Subject: [PATCH] docs: Fix build failure due to extlinks with Sphinx 6 + +extlinks caption must be None or contain one %s. + +Compatible with Sphinx >= 4.0. +--- a/docs/conf.py ++++ b/docs/conf.py +@@ -48,10 +48,10 @@ def exec_module(path): + ] + + extlinks = { +- 'fdobug': ('https://bugs.freedesktop.org/show_bug.cgi?id=%s', '#fdo-'), +- 'bug': ('https://github.com/pygobject/pycairo/issues/%s', '#'), +- 'pr': ('https://github.com/pygobject/pycairo/pull/%s', '#pr-'), +- 'user': ('https://github.com/%s', ''), ++ 'fdobug': ('https://bugs.freedesktop.org/show_bug.cgi?id=%s', '#fdo-%s'), ++ 'bug': ('https://github.com/pygobject/pycairo/issues/%s', '#%s'), ++ 'pr': ('https://github.com/pygobject/pycairo/pull/%s', '#pr-%s'), ++ 'user': ('https://github.com/%s', '%s'), + } + suppress_warnings = ["image.nonlocal_uri"] + diff --git a/dev-python/pycairo/pycairo-1.23.0.ebuild b/dev-python/pycairo/pycairo-1.23.0.ebuild index 442512374f55..1b3acd654c08 100644 --- a/dev-python/pycairo/pycairo-1.23.0.ebuild +++ b/dev-python/pycairo/pycairo-1.23.0.ebuild @@ -38,6 +38,10 @@ DEPEND=" x11-base/xorg-proto " +PATCHES=( + "${FILESDIR}"/${PN}-1.23.0-fix-sphinx.patch +) + distutils_enable_sphinx docs \ dev-python/sphinx-rtd-theme distutils_enable_tests pytest |
