commit: 4272e61cd29e33ad3d9b997eba147715fcf12364
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 13 07:39:22 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Aug 20 15:53:45 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4272e61c
sys-fs/unionfs-fuse: use python_has_version
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
sys-fs/unionfs-fuse/unionfs-fuse-2.1.ebuild | 7 ++++---
sys-fs/unionfs-fuse/unionfs-fuse-2.2-r1.ebuild | 5 +++--
sys-fs/unionfs-fuse/unionfs-fuse-2.2.ebuild | 7 ++++---
sys-fs/unionfs-fuse/unionfs-fuse-9999.ebuild | 5 +++--
4 files changed, 14 insertions(+), 10 deletions(-)
diff --git a/sys-fs/unionfs-fuse/unionfs-fuse-2.1.ebuild
b/sys-fs/unionfs-fuse/unionfs-fuse-2.1.ebuild
index 329020ca1173..3d24e51be9c0 100644
--- a/sys-fs/unionfs-fuse/unionfs-fuse-2.1.ebuild
+++ b/sys-fs/unionfs-fuse/unionfs-fuse-2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
@@ -17,7 +17,8 @@ IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="sys-fs/fuse:0"
-DEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
test? (
$(python_gen_any_dep 'dev-python/pytest[${PYTHON_USEDEP}]')
)
@@ -29,7 +30,7 @@ pkg_setup() {
python_check_deps() {
use test || return 0
- has_version "dev-python/pytest[${PYTHON_USEDEP}]"
+ python_has_version "dev-python/pytest[${PYTHON_USEDEP}]"
}
src_compile() {
diff --git a/sys-fs/unionfs-fuse/unionfs-fuse-2.2-r1.ebuild
b/sys-fs/unionfs-fuse/unionfs-fuse-2.2-r1.ebuild
index 2312fa71e7c0..fd834c3d1aa3 100644
--- a/sys-fs/unionfs-fuse/unionfs-fuse-2.2-r1.ebuild
+++ b/sys-fs/unionfs-fuse/unionfs-fuse-2.2-r1.ebuild
@@ -17,7 +17,8 @@ IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="sys-fs/fuse:0"
-DEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
test? (
$(python_gen_any_dep 'dev-python/pytest[${PYTHON_USEDEP}]')
)
@@ -29,7 +30,7 @@ pkg_setup() {
python_check_deps() {
use test || return 0
- has_version "dev-python/pytest[${PYTHON_USEDEP}]"
+ python_has_version "dev-python/pytest[${PYTHON_USEDEP}]"
}
src_compile() {
diff --git a/sys-fs/unionfs-fuse/unionfs-fuse-2.2.ebuild
b/sys-fs/unionfs-fuse/unionfs-fuse-2.2.ebuild
index 329020ca1173..3d24e51be9c0 100644
--- a/sys-fs/unionfs-fuse/unionfs-fuse-2.2.ebuild
+++ b/sys-fs/unionfs-fuse/unionfs-fuse-2.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
@@ -17,7 +17,8 @@ IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="sys-fs/fuse:0"
-DEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
test? (
$(python_gen_any_dep 'dev-python/pytest[${PYTHON_USEDEP}]')
)
@@ -29,7 +30,7 @@ pkg_setup() {
python_check_deps() {
use test || return 0
- has_version "dev-python/pytest[${PYTHON_USEDEP}]"
+ python_has_version "dev-python/pytest[${PYTHON_USEDEP}]"
}
src_compile() {
diff --git a/sys-fs/unionfs-fuse/unionfs-fuse-9999.ebuild
b/sys-fs/unionfs-fuse/unionfs-fuse-9999.ebuild
index eab277c33f84..a3bab99e2460 100644
--- a/sys-fs/unionfs-fuse/unionfs-fuse-9999.ebuild
+++ b/sys-fs/unionfs-fuse/unionfs-fuse-9999.ebuild
@@ -17,7 +17,8 @@ IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="sys-fs/fuse:0"
-DEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
test? (
$(python_gen_any_dep 'dev-python/pytest[${PYTHON_USEDEP}]')
)
@@ -29,7 +30,7 @@ pkg_setup() {
python_check_deps() {
use test || return 0
- has_version "dev-python/pytest[${PYTHON_USEDEP}]"
+ python_has_version "dev-python/pytest[${PYTHON_USEDEP}]"
}
src_compile() {