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: Sun, 20 Dec 2015 01:53:14
Message-Id: 1450576319.f563c87e37651a4a999696579de9b30bb77ba80a.pesa@gentoo
1 commit: f563c87e37651a4a999696579de9b30bb77ba80a
2 Author: Davide Pesavento <pesa <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 20 01:51:59 2015 +0000
4 Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 20 01:51:59 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f563c87e
7
8 qt4-r2.eclass: ban for EAPI=6
9
10 eclass/qt4-r2.eclass | 8 +++++---
11 1 file changed, 5 insertions(+), 3 deletions(-)
12
13 diff --git a/eclass/qt4-r2.eclass b/eclass/qt4-r2.eclass
14 index 964233b..5a95ba0 100644
15 --- a/eclass/qt4-r2.eclass
16 +++ b/eclass/qt4-r2.eclass
17 @@ -1,4 +1,4 @@
18 -# Copyright 1999-2014 Gentoo Foundation
19 +# Copyright 1999-2015 Gentoo Foundation
20 # Distributed under the terms of the GNU General Public License v2
21 # $Id$
22
23 @@ -8,11 +8,13 @@
24 # @BLURB: Eclass for Qt4-based packages, second edition.
25 # @DESCRIPTION:
26 # This eclass contains various functions that may be useful when
27 -# dealing with packages using Qt4 libraries. Requires EAPI=2 or later.
28 +# dealing with packages using Qt4 libraries. Supports only EAPIs
29 +# 2, 3, 4, and 5. Use qmake-utils.eclass in EAPI 6 and later.
30
31 case ${EAPI} in
32 2|3|4|5) : ;;
33 - *) die "qt4-r2.eclass: unsupported EAPI=${EAPI:-0}" ;;
34 + 6) die "qt4-r2.eclass is banned in EAPI 6 and later" ;;
35 + *) die "qt4-r2.eclass: unsupported EAPI=${EAPI:-0}" ;;
36 esac
37
38 inherit base eutils qmake-utils