Gentoo Archives: gentoo-commits

From: Davide Pesavento <pesa@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Tue, 02 Feb 2016 18:35:32
Message-Id: 1454438081.9dab205dde1a6c889515dc3af3f268900ad44e1e.pesa@gentoo
1 commit: 9dab205dde1a6c889515dc3af3f268900ad44e1e
2 Author: Davide Pesavento <pesa <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 2 17:31:26 2016 +0000
4 Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 2 18:34:41 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9dab205d
7
8 qt5-build.eclass: use versionator.eclass to construct QT5_MINOR_VERSION
9
10 eclass/qt5-build.eclass | 8 ++++----
11 1 file changed, 4 insertions(+), 4 deletions(-)
12
13 diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass
14 index 792a736..26dd217 100644
15 --- a/eclass/qt5-build.eclass
16 +++ b/eclass/qt5-build.eclass
17 @@ -17,13 +17,13 @@ case ${EAPI} in
18 *) die "qt5-build.eclass: unsupported EAPI=${EAPI:-0}" ;;
19 esac
20
21 -inherit eutils flag-o-matic multilib toolchain-funcs virtualx
22 -
23 -QT5_MINOR_VERSION=${PV#*.}
24 -QT5_MINOR_VERSION=${QT5_MINOR_VERSION%%.*}
25 +inherit eutils flag-o-matic multilib toolchain-funcs versionator virtualx
26
27 HOMEPAGE="https://www.qt.io/"
28 LICENSE="|| ( LGPL-2.1 LGPL-3 ) FDL-1.3"
29 +
30 +QT5_MINOR_VERSION=$(get_version_component_range 2)
31 +
32 SLOT="5"
33
34 # @ECLASS-VARIABLE: QT5_MODULE