commit:     ed24004f81b3476b613f48a9eb4f7fb980e79ded
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct  8 19:19:17 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct  8 19:19:17 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed24004f

media-gfx/povray: fix DeprecatedEclass (versionator)

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

 media-gfx/povray/povray-3.7.0.0-r2.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/media-gfx/povray/povray-3.7.0.0-r2.ebuild 
b/media-gfx/povray/povray-3.7.0.0-r2.ebuild
index 4e032565db8a..23510219e5bc 100644
--- a/media-gfx/povray/povray-3.7.0.0-r2.ebuild
+++ b/media-gfx/povray/povray-3.7.0.0-r2.ebuild
@@ -3,10 +3,10 @@
 
 EAPI=6
 
-inherit autotools flag-o-matic versionator virtualx
+inherit autotools eapi7-ver flag-o-matic virtualx
 
-POVRAY_MAJOR_VER=$(get_version_component_range 1-3)
-POVRAY_MINOR_VER=$(get_version_component_range 4)
+POVRAY_MAJOR_VER=$(ver_cut 1-3)
+POVRAY_MINOR_VER=$(ver_cut 4)
 if [ -n "$POVRAY_MINOR_VER" ]; then
        POVRAY_MINOR_VER=${POVRAY_MINOR_VER/rc/RC}
        MY_PV="${POVRAY_MAJOR_VER}.${POVRAY_MINOR_VER}"

Reply via email to