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 759011384B4 for ; Sat, 28 Nov 2015 16:22:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B0CF321C0E6; Sat, 28 Nov 2015 16:21:14 +0000 (UTC) Received: from hetzner3.not-your-server.de (hetzner3.not-your-server.de [144.76.31.203]) (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 0432021C0BD for ; Sat, 28 Nov 2015 16:21:12 +0000 (UTC) Received: from localhost (localhost [IPv6:::1]) by hetzner3.not-your-server.de (Postfix) with ESMTP id 96D9B10582E; Sat, 28 Nov 2015 17:21:11 +0100 (CET) X-Virus-Scanned: amavisd-new at not-your-server.de Received: from hetzner3.not-your-server.de ([127.0.0.1]) by localhost (hetzner3.not-your-server.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tuseqDyvtE45; Sat, 28 Nov 2015 17:21:09 +0100 (CET) Received: from leo.ics.kfa-juelich.de (static-2-1002.not-your-server.de [IPv6:2a01:4f8:191:22ca::2:1002]) by hetzner3.not-your-server.de (Postfix) with ESMTP id 9AE87105827; Sat, 28 Nov 2015 17:21:09 +0100 (CET) From: Justin Lecher To: gentoo-dev@lists.gentoo.org Cc: Justin Lecher Subject: [gentoo-dev] [PATCH 4/8] virtualx.eclass: Ban deprecated functionality in EAPI > 5 Date: Sat, 28 Nov 2015 17:21:00 +0100 Message-Id: <1448727664-25886-4-git-send-email-jlec@gentoo.org> X-Mailer: git-send-email 2.6.3 In-Reply-To: <1448727664-25886-1-git-send-email-jlec@gentoo.org> References: <5E6CCF53-839B-4BBD-B9BB-BFF4D70612A0@gentoo.org> <1448727664-25886-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: 54e88a41-f702-4c04-94c8-be0eb8303cca X-Archives-Hash: e8d7b2ee60b272329bd1ed4be382ff81 Signed-off-by: Justin Lecher --- eclass/virtualx.eclass | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/eclass/virtualx.eclass b/eclass/virtualx.eclass index 230897b..a5e5457 100644 --- a/eclass/virtualx.eclass +++ b/eclass/virtualx.eclass @@ -59,6 +59,8 @@ case ${VIRTUALX_REQUIRED} in RDEPEND="" ;; optional|tests) + [[ ${EAPI} == [2345] ]] \ + || die 'Values "optional" and "tests" are unsupported for VIRTUALX_REQUIRED' # deprecated section YAY. eqawarn "VIRTUALX_REQUIRED=optional and VIRTUALX_REQUIRED=tests are deprecated." eqawarn "You can drop the variable definition completely from ebuild," @@ -177,6 +179,9 @@ virtualmake() { Xmake() { debug-print-function ${FUNCNAME} "$@" + [[ ${EAPI} == [2345] ]] \ + || die "${FUNCNAME} is removed in EAPI > 5; use Xemake -j1 instead" + eqawarn "you should not execute make directly" eqawarn "rather execute Xemake -j1 if you have issues with parallel make" VIRTUALX_COMMAND="emake -j1" virtualmake "$@" -- 2.6.3