summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-10-08 20:19:17 +0100
committerSam James <sam@gentoo.org>2022-10-08 20:19:17 +0100
commited24004f81b3476b613f48a9eb4f7fb980e79ded (patch)
tree2e75783fcb7b8ea5e203e90c9b96bb25dd092dc5 /media-gfx/povray
parentsys-libs/db: fix DeprecatedEclass (versionator) (diff)
downloadgentoo-ed24004f81b3476b613f48a9eb4f7fb980e79ded.tar.gz
gentoo-ed24004f81b3476b613f48a9eb4f7fb980e79ded.tar.bz2
gentoo-ed24004f81b3476b613f48a9eb4f7fb980e79ded.zip
media-gfx/povray: fix DeprecatedEclass (versionator)
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-gfx/povray')
-rw-r--r--media-gfx/povray/povray-3.7.0.0-r2.ebuild6
1 files 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}"