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 EA01D1384B4 for ; Mon, 28 Dec 2015 08:44:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BCE2021C00A; Mon, 28 Dec 2015 08:44:07 +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 9D2C6E0782 for ; Mon, 28 Dec 2015 08:44:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 96F64340702; Mon, 28 Dec 2015 08:44:04 +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 KMoMW1UvPfED; Mon, 28 Dec 2015 08:43:59 +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 B34743405C3; Mon, 28 Dec 2015 08:43:58 +0000 (UTC) From: Justin Lecher To: gentoo-dev@lists.gentoo.org Cc: qa@gentoo.org, Justin Lecher Subject: [gentoo-dev] [PATCH 1/9] check-reqs.eclass: Only inherit eclass once Date: Mon, 28 Dec 2015 09:43:47 +0100 Message-Id: <1451292235-25265-2-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: f5444d25-2da5-418e-ab13-300b2325e815 X-Archives-Hash: 0d9fd5ce4a1305972b63894423a02afa Signed-off-by: Justin Lecher --- eclass/check-reqs.eclass | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/eclass/check-reqs.eclass b/eclass/check-reqs.eclass index d685f1f..4f74536 100644 --- a/eclass/check-reqs.eclass +++ b/eclass/check-reqs.eclass @@ -38,6 +38,8 @@ # These checks should probably mostly work on non-Linux, and they should # probably degrade gracefully if they don't. Probably. +if [[ ! ${_CHECK_REQS_ECLASS_} ]]; then + inherit eutils # @ECLASS-VARIABLE: CHECKREQS_MEMORY @@ -353,3 +355,6 @@ check-reqs_unsatisfied() { # Internal, do not set yourself. CHECKREQS_FAILED="true" } + +_CHECK_REQS_ECLASS_=1 +fi -- 2.6.4