commit:     c2b11525a9ec5ad69b820e98173ebd4f156c6ebe
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 12 10:47:48 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Feb 12 11:57:16 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2b11525

net-libs/libsignon-glib: Python is needed in BDEPEND

Closes: https://bugs.gentoo.org/770184
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 net-libs/libsignon-glib/libsignon-glib-2.1.ebuild | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/net-libs/libsignon-glib/libsignon-glib-2.1.ebuild 
b/net-libs/libsignon-glib/libsignon-glib-2.1.ebuild
index 3b00f34160d..e9d5bb7e491 100644
--- a/net-libs/libsignon-glib/libsignon-glib-2.1.ebuild
+++ b/net-libs/libsignon-glib/libsignon-glib-2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,6 +16,8 @@ KEYWORDS="amd64 arm64 x86"
 IUSE="debug doc +introspection python test"
 
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} introspection )"
+# needs more love
+RESTRICT="test"
 
 RDEPEND="
        dev-libs/glib:2
@@ -27,18 +29,20 @@ RDEPEND="
        )
 "
 DEPEND="${RDEPEND}"
-BDEPEND="$(vala_depend)
+BDEPEND="${PYTHON_DEPS}
+       $(vala_depend)
        dev-util/gdbus-codegen
        dev-util/glib-utils
        doc? ( dev-util/gtk-doc )
        test? ( dev-libs/check )
 "
 
-# needs more love
-RESTRICT="test"
-
 S="${WORKDIR}/${PN}-VERSION_${PV}"
 
+pkg_setup() {
+       python_setup
+}
+
 src_prepare() {
        default
        vala_src_prepare

Reply via email to