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 16:54:54
Message-Id: 1581094471.7b8bdcde438406d25255b1565b035a51f27aea00.floppym@gentoo
1 commit: 7b8bdcde438406d25255b1565b035a51f27aea00
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 7 16:54:31 2020 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 7 16:54:31 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b8bdcde
7
8 sys-apps/coreutils: define python_check_deps
9
10 Closes: https://bugs.gentoo.org/708588
11 Package-Manager: Portage-2.3.86_p1, Repoman-2.3.20_p43
12 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
13
14 sys-apps/coreutils/coreutils-8.30.ebuild | 6 ++++++
15 sys-apps/coreutils/coreutils-8.31-r1.ebuild | 6 ++++++
16 sys-apps/coreutils/coreutils-8.31.ebuild | 6 ++++++
17 3 files changed, 18 insertions(+)
18
19 diff --git a/sys-apps/coreutils/coreutils-8.30.ebuild b/sys-apps/coreutils/coreutils-8.30.ebuild
20 index 91ea2d3a06d..6c40cc43000 100644
21 --- a/sys-apps/coreutils/coreutils-8.30.ebuild
22 +++ b/sys-apps/coreutils/coreutils-8.30.ebuild
23 @@ -54,6 +54,12 @@ RDEPEND+="
24 !<app-forensics/tct-1.18-r1
25 !<net-fs/netatalk-2.0.3-r4"
26
27 +python_check_deps() {
28 + if use test; then
29 + has_version --host-root "dev-python/pyinotify[${PYTHON_USEDEP}]"
30 + fi
31 +}
32 +
33 pkg_setup() {
34 if use test ; then
35 python-any-r1_pkg_setup
36
37 diff --git a/sys-apps/coreutils/coreutils-8.31-r1.ebuild b/sys-apps/coreutils/coreutils-8.31-r1.ebuild
38 index 643aa3aeeca..5860f7daa1b 100644
39 --- a/sys-apps/coreutils/coreutils-8.31-r1.ebuild
40 +++ b/sys-apps/coreutils/coreutils-8.31-r1.ebuild
41 @@ -52,6 +52,12 @@ RDEPEND+="
42 !<app-forensics/tct-1.18-r1
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 +}
50 +
51 pkg_setup() {
52 if use test ; then
53 python-any-r1_pkg_setup
54
55 diff --git a/sys-apps/coreutils/coreutils-8.31.ebuild b/sys-apps/coreutils/coreutils-8.31.ebuild
56 index 565e641c8b4..eb8a90e4699 100644
57 --- a/sys-apps/coreutils/coreutils-8.31.ebuild
58 +++ b/sys-apps/coreutils/coreutils-8.31.ebuild
59 @@ -54,6 +54,12 @@ RDEPEND+="
60 !<app-forensics/tct-1.18-r1
61 !<net-fs/netatalk-2.0.3-r4"
62
63 +python_check_deps() {
64 + if use test; then
65 + has_version --host-root "dev-python/pyinotify[${PYTHON_USEDEP}]"
66 + fi
67 +}
68 +
69 pkg_setup() {
70 if use test ; then
71 python-any-r1_pkg_setup