summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2021-07-15 19:33:56 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2021-07-15 21:20:36 +0100
commit6c0c43ed8fbb33d0fd5ead202612ed3eb5725190 (patch)
treebaf5268af38b76a1cd0fe61cb7db656eac650d51 /gnome-base
parentsys-process/cronie: Removed old (diff)
downloadgentoo-6c0c43ed8fbb33d0fd5ead202612ed3eb5725190.tar.gz
gentoo-6c0c43ed8fbb33d0fd5ead202612ed3eb5725190.tar.bz2
gentoo-6c0c43ed8fbb33d0fd5ead202612ed3eb5725190.zip
gnome-base/gnome-control-center: add python to BDEPENDs
Reported-by: Agostino Sarubbo Closes: https://bugs.gentoo.org/793251 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/21658 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'gnome-base')
-rw-r--r--gnome-base/gnome-control-center/gnome-control-center-40.0.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/gnome-base/gnome-control-center/gnome-control-center-40.0.ebuild b/gnome-base/gnome-control-center/gnome-control-center-40.0.ebuild
index 72edc90cc8d2..7727243b85ae 100644
--- a/gnome-base/gnome-control-center/gnome-control-center-40.0.ebuild
+++ b/gnome-base/gnome-control-center/gnome-control-center-40.0.ebuild
@@ -20,6 +20,9 @@ REQUIRED_USE="
" # Theoretically "?? ( elogind systemd )" is fine too, lacking some functionality at runtime, but needs testing if handled gracefully enough
KEYWORDS="amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 x86"
+# meson.build depends on python unconditionally
+BDEPEND="${PYTHON_DEPS}"
+
# kerberos unfortunately means mit-krb5; build fails with heimdal
# display panel requires colord and gnome-settings-daemon[colord]
# wacom panel requires gsd-enums.h from gsd at build time, probably also runtime support
@@ -127,11 +130,12 @@ PATCHES=(
)
python_check_deps() {
- use test && has_version "dev-python/dbusmock[${PYTHON_USEDEP}]"
+ use test || return 0
+ has_version "dev-python/dbusmock[${PYTHON_USEDEP}]"
}
pkg_setup() {
- use test && python-any-r1_pkg_setup
+ python-any-r1_pkg_setup
}
src_prepare() {