sys-apps/coreutils: define python_check_deps
authorMike Gilbert <floppym@gentoo.org>
Fri, 7 Feb 2020 16:54:31 +0000 (11:54 -0500)
committerMike Gilbert <floppym@gentoo.org>
Fri, 7 Feb 2020 16:54:31 +0000 (11:54 -0500)
Closes: https://bugs.gentoo.org/708588
Package-Manager: Portage-2.3.86_p1, Repoman-2.3.20_p43
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
sys-apps/coreutils/coreutils-8.30.ebuild
sys-apps/coreutils/coreutils-8.31-r1.ebuild
sys-apps/coreutils/coreutils-8.31.ebuild

index 91ea2d3a06dbbefd95c6a35ce21904d671d9594f..6c40cc430002331748f6867c20a10d5266b9925c 100644 (file)
@@ -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
index 643aa3aeeca6246582744b40d7e3cb9c50e1e180..5860f7daa1b52dd4c33060421ed557ef5dae86e0 100644 (file)
@@ -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
index 565e641c8b485ec0bcba18b44e3dff2e716bd77a..eb8a90e46999e75eaa5e961993b257b68db79594 100644 (file)
@@ -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