Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-electronics/geda-xgsch2pcb/
Date: Sun, 09 Feb 2020 16:36:38
Message-Id: 1581266122.495170f86afa8156fea97d4aa5668ffc5aff3290.mgorny@gentoo
1 commit: 495170f86afa8156fea97d4aa5668ffc5aff3290
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 7 18:55:50 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 9 16:35:22 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=495170f8
7
8 sci-electronics/geda-xgsch2pcb: Switch to PYTHON_MULTI_USEDEP API
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 ...cb-0.1.3-r3.ebuild => geda-xgsch2pcb-0.1.3-r5.ebuild} | 16 +++++++++++-----
13 ...cb-0.1.3-r4.ebuild => geda-xgsch2pcb-0.1.3-r6.ebuild} | 10 ++++++----
14 2 files changed, 17 insertions(+), 9 deletions(-)
15
16 diff --git a/sci-electronics/geda-xgsch2pcb/geda-xgsch2pcb-0.1.3-r3.ebuild b/sci-electronics/geda-xgsch2pcb/geda-xgsch2pcb-0.1.3-r5.ebuild
17 similarity index 78%
18 rename from sci-electronics/geda-xgsch2pcb/geda-xgsch2pcb-0.1.3-r3.ebuild
19 rename to sci-electronics/geda-xgsch2pcb/geda-xgsch2pcb-0.1.3-r5.ebuild
20 index e7beae977e1..f7db10a7e69 100644
21 --- a/sci-electronics/geda-xgsch2pcb/geda-xgsch2pcb-0.1.3-r3.ebuild
22 +++ b/sci-electronics/geda-xgsch2pcb/geda-xgsch2pcb-0.1.3-r5.ebuild
23 @@ -1,4 +1,4 @@
24 -# Copyright 1999-2018 Gentoo Foundation
25 +# Copyright 1999-2020 Gentoo Authors
26 # Distributed under the terms of the GNU General Public License v2
27
28 EAPI=6
29 @@ -19,16 +19,22 @@ IUSE="gnome nls"
30 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
31
32 CDEPEND="${PYTHON_DEPS}
33 - dev-python/pygtk:2[${PYTHON_USEDEP}]
34 - dev-python/pygobject:2[${PYTHON_USEDEP}]
35 - dev-python/dbus-python[${PYTHON_USEDEP}]
36 + $(python_gen_cond_dep '
37 + dev-python/pygtk:2[${PYTHON_MULTI_USEDEP}]
38 + dev-python/pygobject:2[${PYTHON_MULTI_USEDEP}]
39 + dev-python/dbus-python[${PYTHON_MULTI_USEDEP}]
40 + ')
41 sci-electronics/pcb[dbus]
42 sci-electronics/geda
43 nls? ( virtual/libintl )
44 "
45 RDEPEND="${CDEPEND}
46 sci-electronics/electronics-menu
47 - gnome? ( dev-python/gnome-vfs-python[${PYTHON_USEDEP}] )
48 + gnome? (
49 + $(python_gen_cond_dep '
50 + dev-python/gnome-vfs-python[${PYTHON_MULTI_USEDEP}]
51 + ')
52 + )
53 "
54 DEPEND="${CDEPEND}
55 dev-util/intltool
56
57 diff --git a/sci-electronics/geda-xgsch2pcb/geda-xgsch2pcb-0.1.3-r4.ebuild b/sci-electronics/geda-xgsch2pcb/geda-xgsch2pcb-0.1.3-r6.ebuild
58 similarity index 84%
59 rename from sci-electronics/geda-xgsch2pcb/geda-xgsch2pcb-0.1.3-r4.ebuild
60 rename to sci-electronics/geda-xgsch2pcb/geda-xgsch2pcb-0.1.3-r6.ebuild
61 index 44789cb2543..b9b2d426a6a 100644
62 --- a/sci-electronics/geda-xgsch2pcb/geda-xgsch2pcb-0.1.3-r4.ebuild
63 +++ b/sci-electronics/geda-xgsch2pcb/geda-xgsch2pcb-0.1.3-r6.ebuild
64 @@ -1,4 +1,4 @@
65 -# Copyright 1999-2018 Gentoo Foundation
66 +# Copyright 1999-2020 Gentoo Authors
67 # Distributed under the terms of the GNU General Public License v2
68
69 EAPI=6
70 @@ -19,9 +19,11 @@ IUSE="nls"
71 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
72
73 CDEPEND="${PYTHON_DEPS}
74 - dev-python/pygtk:2[${PYTHON_USEDEP}]
75 - dev-python/pygobject:2[${PYTHON_USEDEP}]
76 - dev-python/dbus-python[${PYTHON_USEDEP}]
77 + $(python_gen_cond_dep '
78 + dev-python/pygtk:2[${PYTHON_MULTI_USEDEP}]
79 + dev-python/pygobject:2[${PYTHON_MULTI_USEDEP}]
80 + dev-python/dbus-python[${PYTHON_MULTI_USEDEP}]
81 + ')
82 sci-electronics/pcb[dbus]
83 sci-electronics/geda
84 nls? ( virtual/libintl )