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 CC86F1384B4 for ; Sat, 28 Nov 2015 14:09:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3EE4CE08C0; Sat, 28 Nov 2015 14:09:02 +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 1E303E08AC for ; Sat, 28 Nov 2015 14:09:00 +0000 (UTC) Received: from jmac.jlec.de (ip-88-153-156-92.hsi04.unitymediagroup.de [88.153.156.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jlec) by smtp.gentoo.org (Postfix) with ESMTPSA id D6FC333D3CD; Sat, 28 Nov 2015 14:08:56 +0000 (UTC) Subject: Re: [gentoo-dev] [PATCH 4/8] virtualx.eclass: Ban deprecated functionality in EAPI > 5 To: gentoo-dev@lists.gentoo.org References: <1448717061-11581-1-git-send-email-jlec@gentoo.org> <1448717061-11581-5-git-send-email-jlec@gentoo.org> <2647371C-3C43-4282-850C-EEAA27A61FCD@gentoo.org> From: "Justin Lecher (jlec)" Message-ID: <5659B574.1030202@gentoo.org> Date: Sat, 28 Nov 2015 15:08:52 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 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 MIME-Version: 1.0 In-Reply-To: <2647371C-3C43-4282-850C-EEAA27A61FCD@gentoo.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: 689f32f0-4d3a-4dd6-9aab-c03c176ae04d X-Archives-Hash: a404e46bf337d82cbc6caf83857ed14b -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 28/11/15 15:03, Michał Górny wrote: > > > Dnia 28 listopada 2015 14:24:17 CET, Justin Lecher > napisał(a): >> Signed-off-by: Justin Lecher --- >> eclass/virtualx.eclass | 4 ++++ 1 file changed, 4 insertions(+) >> >> diff --git a/eclass/virtualx.eclass b/eclass/virtualx.eclass >> index a7f17ec..615ff0e 100644 --- a/eclass/virtualx.eclass +++ >> b/eclass/virtualx.eclass @@ -59,6 +59,7 @@ case >> ${VIRTUALX_REQUIRED} in RDEPEND="" ;; optional|tests) + [[ >> ${EAPI} == [2345] ]] || die 'Values "optional" and "tests" are >> unsupported for VIRTUALX_REQUIRED' > > You can now make eutils conditional to EAPI. So your idea is only import eutils for EAPIs where I will need eqawarn from an eclass? As we have no ETA for that to change, I don't see a good reason to fix that inherit right now. -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0 iQJ8BAEBCgBmBQJWWbV0XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ0QUU0N0I4NzFERUI0MTJFN0EyODE0NUFF OTQwMkE3OUIwMzUyOUEyAAoJEOlAKnmwNSmiyCoP/3KdY8bSc6sw89Rs2xxl1wOo iZX3dFjq8ya8xd2AU4uMoFyJY/SitAl+/dtcmRGloirZ7o/Y7YT2/Z6s1G+GCqOe fXfivtGTGcGivI7F2Rs4ls8xtS3d4TWUKDR5R70kF8MMSNd+fxTtscqBUSQw8sJb g1nzUeNFgylUraGsCUGXTrXoPzaFRQYNCipufI4JuvL90Agr8PC6v4TsgKew9WO+ MM/R4YnpFxubF2zw4m5qbIdbn28FVGg0mbuDc/QFLFhNApevMJacQG783k1f1TDJ 99Gj+pPj2TgfyVVnhJYvE7s05v8vmrecX//TOvvdKYXEjoB0IR/pyAtr3rOWF+M5 VjFWL3rfeZbKOEeQ52fRfzidOxR/thBZp/flZoJKLZmJ7baBewkpVGt+4d1KwZCM /KRm/1snnZY5GnspH/zxa/MI+azNWkjKKS7PW2zbNwBWQ56aiAcA4vBkBfEBfqoR NbRFyrBm7eEEjIwRHYj5SJuTMd236gnuXEQWeAU5o8HNnh2qiVHjdHnaF4ld/QIo 0n7DYDeJqBeF8D274Ubd4KrQMH9LE2WbKZgNfBxpJdqPRBP6FJhvAtTQW1iqXNpt O4Lp9FO2jiP54Q6GWYmE8s1R2D1dXbTL10PmhGOec4tRWcrMAo5nlIwriezhHnKL NAEsc1lyU5vHp9OGwcjX =yI1e -----END PGP SIGNATURE-----