From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id EED841384B4 for ; Mon, 28 Dec 2015 08:47:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6AACF21C059; Mon, 28 Dec 2015 08:44:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3AB9C21C035 for ; Mon, 28 Dec 2015 08:44:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 95FDA34070F; Mon, 28 Dec 2015 08:44:10 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Flag: NO X-Spam-Score: 0.652 X-Spam-Level: X-Spam-Status: No, score=0.652 tagged_above=-9999 required=5.5 tests=[SPF_NEUTRAL=0.652] autolearn=no autolearn_force=no Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Cl4bZiezUrxa; Mon, 28 Dec 2015 08:44:05 +0000 (UTC) Received: from leo.ics.kfa-juelich.de (static-2-1006.not-your-server.de [IPv6:2a01:4f8:191:22ca::2:1006]) by smtp.gentoo.org (Postfix) with ESMTP id C2E853405C3; Mon, 28 Dec 2015 08:44:04 +0000 (UTC) From: Justin Lecher To: gentoo-dev@lists.gentoo.org Cc: qa@gentoo.org, Justin Lecher Subject: [gentoo-dev] [PATCH 6/9] check-reqs.eclass: Ban obsolete functions in newer EAPIs Date: Mon, 28 Dec 2015 09:43:52 +0100 Message-Id: <1451292235-25265-7-git-send-email-jlec@gentoo.org> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1451292235-25265-1-git-send-email-jlec@gentoo.org> References: <1451292235-25265-1-git-send-email-jlec@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Archives-Salt: ba2d3522-b2b5-4e9c-ba7d-7ee5806ea969 X-Archives-Hash: 22855884c26f25e6d74de9538748fa27 Signed-off-by: Justin Lecher --- eclass/check-reqs.eclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eclass/check-reqs.eclass b/eclass/check-reqs.eclass index a32f8f8..ad032b9 100644 --- a/eclass/check-reqs.eclass +++ b/eclass/check-reqs.eclass @@ -75,6 +75,8 @@ esac check_reqs() { debug-print-function ${FUNCNAME} "$@" + [[ ${EAPI:-0} == [012345] ]] || die "${FUNCNAME} is banned in EAPI > 5" + echo eqawarn "Package calling old ${FUNCNAME} function." eqawarn "Please file a bug against the package." -- 2.6.4