summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarty E. Plummer <hanetzer@startmail.com>2019-01-01 16:18:58 -0600
committerMart Raudsepp <leio@gentoo.org>2019-02-11 19:13:51 +0200
commitd362f00a30a59c045f440cb1390c1acb2a4e16cc (patch)
treecf8bbe2ee4499cc044ef891b69c92895fbd1398a /eclass/gnome.org.eclass
parentapp-shells/fish: bump to 3.0.1 (diff)
downloadgentoo-d362f00a30a59c045f440cb1390c1acb2a4e16cc.tar.gz
gentoo-d362f00a30a59c045f440cb1390c1acb2a4e16cc.tar.bz2
gentoo-d362f00a30a59c045f440cb1390c1acb2a4e16cc.zip
gnome.org.eclass: use eapi7-ver
Signed-off-by: Marty E. Plummer <hanetzer@startmail.com> Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'eclass/gnome.org.eclass')
-rw-r--r--eclass/gnome.org.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/gnome.org.eclass b/eclass/gnome.org.eclass
index 6b2ae672a2d4..f41646749a07 100644
--- a/eclass/gnome.org.eclass
+++ b/eclass/gnome.org.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: gnome.org.eclass
@@ -11,7 +11,7 @@
# @DESCRIPTION:
# Provide a default SRC_URI for tarball hosted on gnome.org mirrors.
-inherit versionator
+[[ ${EAPI} == [0123456] ]] && inherit eapi7-ver
# @ECLASS-VARIABLE: GNOME_TARBALL_SUFFIX
# @DESCRIPTION:
@@ -41,7 +41,7 @@ fi
# @INTERNAL
# @DESCRIPTION:
# Major and minor numbers of the version number.
-: ${GNOME_ORG_PVP:=$(get_version_component_range 1-2)}
+: ${GNOME_ORG_PVP:=$(ver_cut 1-2)}
SRC_URI="mirror://gnome/sources/${GNOME_ORG_MODULE}/${GNOME_ORG_PVP}/${GNOME_ORG_MODULE}-${PV}.tar.${GNOME_TARBALL_SUFFIX}"