Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/
Date: Fri, 07 Feb 2020 17:00:43
Message-Id: 1581094825.e94d3855452a0398e3764d7b4a9034c9808bc050.floppym@gentoo
1 commit: e94d3855452a0398e3764d7b4a9034c9808bc050
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 7 17:00:25 2020 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 7 17:00:25 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e94d3855
7
8 sys-apps/coreutils: simplify python_check_deps
9
10 pkg_setup already checks the 'test' USE flag, so we don't need to do it
11 again.
12
13 Bug: https://bugs.gentoo.org/708588
14 Package-Manager: Portage-2.3.86_p1, Repoman-2.3.20_p43
15 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
16
17 sys-apps/coreutils/coreutils-8.30.ebuild | 4 +---
18 sys-apps/coreutils/coreutils-8.31-r1.ebuild | 4 +---
19 sys-apps/coreutils/coreutils-8.31.ebuild | 4 +---
20 3 files changed, 3 insertions(+), 9 deletions(-)
21
22 diff --git a/sys-apps/coreutils/coreutils-8.30.ebuild b/sys-apps/coreutils/coreutils-8.30.ebuild
23 index 6c40cc43000..03b60ae8554 100644
24 --- a/sys-apps/coreutils/coreutils-8.30.ebuild
25 +++ b/sys-apps/coreutils/coreutils-8.30.ebuild
26 @@ -55,9 +55,7 @@ RDEPEND+="
27 !<net-fs/netatalk-2.0.3-r4"
28
29 python_check_deps() {
30 - if use test; then
31 - has_version --host-root "dev-python/pyinotify[${PYTHON_USEDEP}]"
32 - fi
33 + has_version --host-root "dev-python/pyinotify[${PYTHON_USEDEP}]"
34 }
35
36 pkg_setup() {
37
38 diff --git a/sys-apps/coreutils/coreutils-8.31-r1.ebuild b/sys-apps/coreutils/coreutils-8.31-r1.ebuild
39 index 5860f7daa1b..b41b9ca21bf 100644
40 --- a/sys-apps/coreutils/coreutils-8.31-r1.ebuild
41 +++ b/sys-apps/coreutils/coreutils-8.31-r1.ebuild
42 @@ -53,9 +53,7 @@ RDEPEND+="
43 !<net-fs/netatalk-2.0.3-r4"
44
45 python_check_deps() {
46 - if use test; then
47 - has_version --host-root "dev-python/pyinotify[${PYTHON_USEDEP}]"
48 - fi
49 + has_version --host-root "dev-python/pyinotify[${PYTHON_USEDEP}]"
50 }
51
52 pkg_setup() {
53
54 diff --git a/sys-apps/coreutils/coreutils-8.31.ebuild b/sys-apps/coreutils/coreutils-8.31.ebuild
55 index eb8a90e4699..31a4e535548 100644
56 --- a/sys-apps/coreutils/coreutils-8.31.ebuild
57 +++ b/sys-apps/coreutils/coreutils-8.31.ebuild
58 @@ -55,9 +55,7 @@ RDEPEND+="
59 !<net-fs/netatalk-2.0.3-r4"
60
61 python_check_deps() {
62 - if use test; then
63 - has_version --host-root "dev-python/pyinotify[${PYTHON_USEDEP}]"
64 - fi
65 + has_version --host-root "dev-python/pyinotify[${PYTHON_USEDEP}]"
66 }
67
68 pkg_setup() {