commit: 7b8bdcde438406d25255b1565b035a51f27aea00 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> AuthorDate: Fri Feb 7 16:54:31 2020 +0000 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> CommitDate: Fri Feb 7 16:54:31 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b8bdcde
sys-apps/coreutils: define python_check_deps Closes: https://bugs.gentoo.org/708588 Package-Manager: Portage-2.3.86_p1, Repoman-2.3.20_p43 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> sys-apps/coreutils/coreutils-8.30.ebuild | 6 ++++++ sys-apps/coreutils/coreutils-8.31-r1.ebuild | 6 ++++++ sys-apps/coreutils/coreutils-8.31.ebuild | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/sys-apps/coreutils/coreutils-8.30.ebuild b/sys-apps/coreutils/coreutils-8.30.ebuild index 91ea2d3a06d..6c40cc43000 100644 --- a/sys-apps/coreutils/coreutils-8.30.ebuild +++ b/sys-apps/coreutils/coreutils-8.30.ebuild @@ -54,6 +54,12 @@ RDEPEND+=" !<app-forensics/tct-1.18-r1 !<net-fs/netatalk-2.0.3-r4" +python_check_deps() { + if use test; then + has_version --host-root "dev-python/pyinotify[${PYTHON_USEDEP}]" + fi +} + pkg_setup() { if use test ; then python-any-r1_pkg_setup diff --git a/sys-apps/coreutils/coreutils-8.31-r1.ebuild b/sys-apps/coreutils/coreutils-8.31-r1.ebuild index 643aa3aeeca..5860f7daa1b 100644 --- a/sys-apps/coreutils/coreutils-8.31-r1.ebuild +++ b/sys-apps/coreutils/coreutils-8.31-r1.ebuild @@ -52,6 +52,12 @@ RDEPEND+=" !<app-forensics/tct-1.18-r1 !<net-fs/netatalk-2.0.3-r4" +python_check_deps() { + if use test; then + has_version --host-root "dev-python/pyinotify[${PYTHON_USEDEP}]" + fi +} + pkg_setup() { if use test ; then python-any-r1_pkg_setup diff --git a/sys-apps/coreutils/coreutils-8.31.ebuild b/sys-apps/coreutils/coreutils-8.31.ebuild index 565e641c8b4..eb8a90e4699 100644 --- a/sys-apps/coreutils/coreutils-8.31.ebuild +++ b/sys-apps/coreutils/coreutils-8.31.ebuild @@ -54,6 +54,12 @@ RDEPEND+=" !<app-forensics/tct-1.18-r1 !<net-fs/netatalk-2.0.3-r4" +python_check_deps() { + if use test; then + has_version --host-root "dev-python/pyinotify[${PYTHON_USEDEP}]" + fi +} + pkg_setup() { if use test ; then python-any-r1_pkg_setup
