From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E3820138330 for ; Fri, 30 Sep 2016 22:23:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 82E1FE0983; Fri, 30 Sep 2016 22:22:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 67482E0983 for ; Fri, 30 Sep 2016 22:22:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AAA1D340AA1 for ; Fri, 30 Sep 2016 22:22:56 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 834FD248D for ; Fri, 30 Sep 2016 22:22:54 +0000 (UTC) From: "Andreas Hüttel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Hüttel" Message-ID: <1475274167.1434d8dc853a9cc4dd67eef51a63b9641955f9f4.dilfridge@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/depend.apache.eclass X-VCS-Directories: eclass/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas Hüttel X-VCS-Revision: 1434d8dc853a9cc4dd67eef51a63b9641955f9f4 X-VCS-Branch: master Date: Fri, 30 Sep 2016 22:22:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 846212af-d2c6-4d9e-affb-e1db3f007b0f X-Archives-Hash: 384010b57863f3fb831a5a53aaf793e9 commit: 1434d8dc853a9cc4dd67eef51a63b9641955f9f4 Author: Andreas K. Hüttel gentoo org> AuthorDate: Fri Sep 30 22:21:46 2016 +0000 Commit: Andreas Hüttel gentoo org> CommitDate: Fri Sep 30 22:22:47 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1434d8dc depend.apache.eclass: output a fat warning if used with EAPI=6 We would really need a PMS-supplied eqawarn here... eclass/depend.apache.eclass | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/eclass/depend.apache.eclass b/eclass/depend.apache.eclass index 22a8216..5fd9071 100644 --- a/eclass/depend.apache.eclass +++ b/eclass/depend.apache.eclass @@ -42,6 +42,21 @@ inherit multilib +case ${EAPI:-0} in + 0|1|2|3|4|5) + ;; + 6) + ewarn + ewarn "EAPI=${EAPI} is not supported by depend.apache.eclass." + ewarn "This means that ${CATEGORY}/${PVR} is most likely buggy." + ewarn "Please file a report on https://bugs.gentoo.org/" + ewarn + ;; + *) + die "EAPI=${EAPI} is not supported by depend.apache.eclass" + ;; +esac + # ============================================================================== # INTERNAL VARIABLES # ==============================================================================