Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: python@g.o, "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 4/7] app-editors/gedit: Use new PYTHON_*_USEDEP API
Date: Sat, 30 Nov 2019 12:43:15
Message-Id: 20191130124126.169871-5-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH 0/7] python-single-r1.eclass: New split usedep API by "Michał Górny"
1 Signed-off-by: Michał Górny <mgorny@g.o>
2 ---
3 app-editors/gedit/gedit-3.32.2.ebuild | 9 ++++++---
4 1 file changed, 6 insertions(+), 3 deletions(-)
5
6 diff --git a/app-editors/gedit/gedit-3.32.2.ebuild b/app-editors/gedit/gedit-3.32.2.ebuild
7 index e8f11fd45a95..db73743edc92 100644
8 --- a/app-editors/gedit/gedit-3.32.2.ebuild
9 +++ b/app-editors/gedit/gedit-3.32.2.ebuild
10 @@ -37,9 +37,12 @@ COMMON_DEPEND="
11 introspection? ( >=dev-libs/gobject-introspection-0.9.3:= )
12 python? (
13 ${PYTHON_DEPS}
14 - dev-python/pycairo[${PYTHON_USEDEP}]
15 - >=dev-python/pygobject-3:3[cairo,${PYTHON_USEDEP}]
16 - dev-libs/libpeas[python,${PYTHON_USEDEP}] )
17 + $(python_gen_cond_dep '
18 + dev-python/pycairo[${PYTHON_MULTI_USEDEP}]
19 + >=dev-python/pygobject-3:3[cairo,${PYTHON_MULTI_USEDEP}]
20 + dev-libs/libpeas[python,${PYTHON_SINGLE_USEDEP}]
21 + ')
22 + )
23 spell? ( >=app-text/gspell-0.2.5:0= )
24 "
25 RDEPEND="${COMMON_DEPEND}
26 --
27 2.24.0