commit:     afe1d465ccc94cf7181309f5a2f7c59b5f8b2c18
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 18 02:53:32 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Oct 18 02:53:44 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afe1d465

sys-block/fio: fix Python eclass usage

gen_any_dep is not valid for RDEPEND.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-block/fio/{fio-3.27-r3.ebuild => fio-3.27-r4.ebuild} | 6 +-----
 sys-block/fio/{fio-3.30.ebuild => fio-3.30-r1.ebuild}    | 6 +-----
 2 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/sys-block/fio/fio-3.27-r3.ebuild b/sys-block/fio/fio-3.27-r4.ebuild
similarity index 96%
rename from sys-block/fio/fio-3.27-r3.ebuild
rename to sys-block/fio/fio-3.27-r4.ebuild
index 7e2e9e4198ab..1a94d33a7c1a 100644
--- a/sys-block/fio/fio-3.27-r3.ebuild
+++ b/sys-block/fio/fio-3.27-r4.ebuild
@@ -48,7 +48,7 @@ DEPEND="${RDEPEND}
 RDEPEND+="
        python? (
                ${PYTHON_DEPS}
-               $(python_gen_any_dep 'dev-python/pandas[${PYTHON_USEDEP}]')
+               dev-python/pandas[${PYTHON_USEDEP}]
        )
        gnuplot? ( sci-visualization/gnuplot )"
 
@@ -60,10 +60,6 @@ PATCHES=(
        "${FILESDIR}"/fio-3.27-drop-raw.patch
 )
 
-python_check_deps() {
-       has_version "dev-python/pandas[${PYTHON_USEDEP}]"
-}
-
 src_prepare() {
        default
 

diff --git a/sys-block/fio/fio-3.30.ebuild b/sys-block/fio/fio-3.30-r1.ebuild
similarity index 96%
rename from sys-block/fio/fio-3.30.ebuild
rename to sys-block/fio/fio-3.30-r1.ebuild
index c5fa566adf93..e132b2991d2d 100644
--- a/sys-block/fio/fio-3.30.ebuild
+++ b/sys-block/fio/fio-3.30-r1.ebuild
@@ -49,7 +49,7 @@ DEPEND="${RDEPEND}
 RDEPEND+="
        python? (
                ${PYTHON_DEPS}
-               $(python_gen_any_dep 'dev-python/pandas[${PYTHON_USEDEP}]')
+               dev-python/pandas[${PYTHON_USEDEP}]
        )
        gnuplot? ( sci-visualization/gnuplot )"
 
@@ -59,10 +59,6 @@ PATCHES=(
        "${FILESDIR}"/fio-2.2.13-libmtd.patch
 )
 
-python_check_deps() {
-       has_version "dev-python/pandas[${PYTHON_USEDEP}]"
-}
-
 src_prepare() {
        default
 

Reply via email to