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: media-gfx/zbar/
Date: Sun, 09 Feb 2020 16:29:42
Message-Id: 1581265614.1c98fe8bc128858fa999409a779a1a72812bd524.mgorny@gentoo
1 commit: 1c98fe8bc128858fa999409a779a1a72812bd524
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 7 15:06:53 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 9 16:26:54 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c98fe8b
7
8 media-gfx/zbar: Switch to PYTHON_MULTI_USEDEP API
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 media-gfx/zbar/{zbar-0.20.1-r1.ebuild => zbar-0.20.1-r2.ebuild} | 8 ++++++--
13 media-gfx/zbar/{zbar-0.23.ebuild => zbar-0.23-r1.ebuild} | 4 +++-
14 2 files changed, 9 insertions(+), 3 deletions(-)
15
16 diff --git a/media-gfx/zbar/zbar-0.20.1-r1.ebuild b/media-gfx/zbar/zbar-0.20.1-r2.ebuild
17 similarity index 96%
18 rename from media-gfx/zbar/zbar-0.20.1-r1.ebuild
19 rename to media-gfx/zbar/zbar-0.20.1-r2.ebuild
20 index 9a6382e3b61..5aba21e790d 100644
21 --- a/media-gfx/zbar/zbar-0.20.1-r1.ebuild
22 +++ b/media-gfx/zbar/zbar-0.20.1-r2.ebuild
23 @@ -1,4 +1,4 @@
24 -# Copyright 1999-2019 Gentoo Authors
25 +# Copyright 1999-2020 Gentoo Authors
26 # Distributed under the terms of the GNU General Public License v2
27
28 EAPI=6
29 @@ -33,7 +33,11 @@ COMMON_DEPEND="
30 jpeg? ( virtual/jpeg:0[${MULTILIB_USEDEP}] )
31 python? (
32 ${PYTHON_DEPS}
33 - gtk? ( >=dev-python/pygtk-2[${PYTHON_USEDEP}] )
34 + gtk? (
35 + $(python_gen_cond_dep '
36 + >=dev-python/pygtk-2[${PYTHON_MULTI_USEDEP}]
37 + ')
38 + )
39 )
40 qt5? (
41 dev-qt/qtcore:5
42
43 diff --git a/media-gfx/zbar/zbar-0.23.ebuild b/media-gfx/zbar/zbar-0.23-r1.ebuild
44 similarity index 98%
45 rename from media-gfx/zbar/zbar-0.23.ebuild
46 rename to media-gfx/zbar/zbar-0.23-r1.ebuild
47 index 495dc423d47..87656810dce 100644
48 --- a/media-gfx/zbar/zbar-0.23.ebuild
49 +++ b/media-gfx/zbar/zbar-0.23-r1.ebuild
50 @@ -66,7 +66,9 @@ DEPEND="${COMMON_DEPEND}
51 )
52 test? (
53 ${PYTHON_DEPS}
54 - dev-python/pillow[${PYTHON_USEDEP}]
55 + $(python_gen_cond_dep '
56 + dev-python/pillow[${PYTHON_MULTI_USEDEP}]
57 + ')
58 )"
59
60 BDEPEND="