summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Pesavento <pesa@gentoo.org>2018-03-06 22:15:46 +0100
committerMichael Palimaka <kensington@gentoo.org>2018-03-12 11:49:47 +1100
commitbae217db1cc8a57c51fe7691510dbb447669ad7f (patch)
tree121c179add996d79ff3783e50f0407d10ddde94b /eclass/qt5-build.eclass
parentapp-text/blogc: version bump (diff)
downloadgentoo-bae217db1cc8a57c51fe7691510dbb447669ad7f.tar.gz
gentoo-bae217db1cc8a57c51fe7691510dbb447669ad7f.tar.bz2
gentoo-bae217db1cc8a57c51fe7691510dbb447669ad7f.zip
qt5-build.eclass: switch to eapi7-ver.eclass
Diffstat (limited to 'eclass/qt5-build.eclass')
-rw-r--r--eclass/qt5-build.eclass11
1 files changed, 5 insertions, 6 deletions
diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass
index b381c28495cb..e3c501787b10 100644
--- a/eclass/qt5-build.eclass
+++ b/eclass/qt5-build.eclass
@@ -13,7 +13,7 @@
# Requires EAPI 6.
if [[ ${CATEGORY} != dev-qt ]]; then
- die "qt5-build.eclass is only to be used for building Qt 5."
+ die "qt5-build.eclass is only to be used for building Qt 5"
fi
case ${EAPI} in
@@ -57,15 +57,14 @@ esac
# for tests you should proceed with setting VIRTUALX_REQUIRED=test.
: ${VIRTUALX_REQUIRED:=manual}
-inherit estack flag-o-matic ltprune toolchain-funcs versionator virtualx
+inherit eapi7-ver estack flag-o-matic ltprune toolchain-funcs virtualx
HOMEPAGE="https://www.qt.io/"
LICENSE="|| ( GPL-2 GPL-3 LGPL-3 ) FDL-1.3"
-SLOT=5/$(get_version_component_range 1-2)
+SLOT=5/$(ver_cut 1-2)
-QT5_MINOR_VERSION=$(get_version_component_range 2)
-QT5_PATCH_VERSION=$(get_version_component_range 3)
-readonly QT5_MINOR_VERSION QT5_PATCH_VERSION
+QT5_MINOR_VERSION=$(ver_cut 2)
+readonly QT5_MINOR_VERSION
case ${PV} in
5.9999)