Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libiptcdata/
Date: Wed, 26 Feb 2020 11:49:33
Message-Id: 1582717748.34588839f4fb5889eb9d1f2de53efd361506e8c4.asturm@gentoo
1 commit: 34588839f4fb5889eb9d1f2de53efd361506e8c4
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 26 11:14:55 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 26 11:49:08 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34588839
7
8 media-libs/libiptcdata: Minor ebuild style++
9
10 Sort dependencies.
11
12 Package-Manager: Portage-2.3.89, Repoman-2.3.20
13 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
14
15 media-libs/libiptcdata/libiptcdata-1.0.5.ebuild | 18 ++++++++++++------
16 1 file changed, 12 insertions(+), 6 deletions(-)
17
18 diff --git a/media-libs/libiptcdata/libiptcdata-1.0.5.ebuild b/media-libs/libiptcdata/libiptcdata-1.0.5.ebuild
19 index e83c9fc1c5b..0aaea7ec832 100644
20 --- a/media-libs/libiptcdata/libiptcdata-1.0.5.ebuild
21 +++ b/media-libs/libiptcdata/libiptcdata-1.0.5.ebuild
22 @@ -16,11 +16,15 @@ SLOT="0"
23 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
24 IUSE="doc examples nls python"
25
26 -RDEPEND="python? ( ${PYTHON_DEPS} )
27 - nls? ( virtual/libintl )"
28 +RDEPEND="
29 + nls? ( virtual/libintl )
30 + python? ( ${PYTHON_DEPS} )
31 +"
32 DEPEND="${RDEPEND}"
33 -BDEPEND="nls? ( >=sys-devel/gettext-0.13.1 )
34 - doc? ( >=dev-util/gtk-doc-1 )"
35 +BDEPEND="
36 + doc? ( >=dev-util/gtk-doc-1 )
37 + nls? ( >=sys-devel/gettext-0.13.1 )
38 +"
39
40 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
41
42 @@ -29,9 +33,11 @@ pkg_setup() {
43 }
44
45 src_configure () {
46 - local myeconfargs=( $(use_enable nls)
47 + local myeconfargs=(
48 + $(use_enable nls)
49 $(use_enable python)
50 - $(use_enable doc gtk-doc) )
51 + $(use_enable doc gtk-doc)
52 + )
53 econf "${myeconfargs[@]}"
54 }