summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-05-14 21:01:18 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2021-05-14 21:07:13 +0200
commit82e55d83028f8d2c25d1ad14dd72c12ea6b979c8 (patch)
tree173c0ba110fac0c8dbfd8456b2593904d85a2729 /kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.82.0.ebuild
parentdev-python/stomp-py: support python3_10 (diff)
downloadgentoo-82e55d83028f8d2c25d1ad14dd72c12ea6b979c8.tar.gz
gentoo-82e55d83028f8d2c25d1ad14dd72c12ea6b979c8.tar.bz2
gentoo-82e55d83028f8d2c25d1ad14dd72c12ea6b979c8.zip
kde-frameworks/extra-cmake-modules: Fix IUSE=doc w/ dev-python/sphinx-4
See also: https://invent.kde.org/frameworks/extra-cmake-modules/-/merge_requests/121 Closes: https://bugs.gentoo.org/789096 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.82.0.ebuild')
-rw-r--r--kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.82.0.ebuild15
1 files changed, 10 insertions, 5 deletions
diff --git a/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.82.0.ebuild b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.82.0.ebuild
index 6bd09789c61..41f98627db4 100644
--- a/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.82.0.ebuild
+++ b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.82.0.ebuild
@@ -16,10 +16,16 @@ IUSE="doc test"
RESTRICT+=" !test? ( test )"
+RDEPEND="
+ app-arch/libarchive[bzip2]
+"
BDEPEND="
doc? (
${PYTHON_DEPS}
- $(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]')
+ $(python_gen_any_dep '
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ dev-python/sphinxcontrib-qthelp[${PYTHON_USEDEP}]
+ ')
>=dev-qt/qthelp-${QTMIN}:5
)
test? (
@@ -27,18 +33,17 @@ BDEPEND="
>=dev-qt/qtcore-${QTMIN}:5
)
"
-RDEPEND="
- app-arch/libarchive[bzip2]
-"
PATCHES=(
"${FILESDIR}/${PN}-5.49.0-no-fatal-warnings.patch"
"${FILESDIR}/${PN}-5.72.0-skip-ecm_add_test-early.patch"
"${FILESDIR}/${PN}-5.74.0-disable-qmlplugindump.patch"
+ "${FILESDIR}/${P}-sphinx-4.patch" # bug 789096, pending upstream MR 121
)
python_check_deps() {
- has_version "dev-python/sphinx[${PYTHON_USEDEP}]"
+ has_version "dev-python/sphinx[${PYTHON_USEDEP}]" &&
+ has_version "dev-python/sphinxcontrib-qthelp[${PYTHON_USEDEP}]"
}
pkg_setup() {