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 CB4141384B4 for ; Sat, 28 Nov 2015 13:25:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E9D0521C0CB; Sat, 28 Nov 2015 13:24:27 +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 DC1E721C010 for ; Sat, 28 Nov 2015 13:24:25 +0000 (UTC) Received: from localhost (localhost [IPv6:::1]) by hetzner3.not-your-server.de (Postfix) with ESMTP id DE6E1105812; Sat, 28 Nov 2015 14:24:24 +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 zgMY3EPR7mP4; Sat, 28 Nov 2015 14:24:24 +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 E0A07105813; Sat, 28 Nov 2015 14:24:23 +0100 (CET) From: Justin Lecher To: gentoo-dev@lists.gentoo.org Cc: Justin Lecher Subject: [gentoo-dev] [PATCH 3/8] virtualx.eclass: Use eqawarn instead of ewarn "QA:..." Date: Sat, 28 Nov 2015 14:24:16 +0100 Message-Id: <1448717061-11581-4-git-send-email-jlec@gentoo.org> X-Mailer: git-send-email 2.6.3 In-Reply-To: <1448717061-11581-1-git-send-email-jlec@gentoo.org> References: <1448717061-11581-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: 068a58b8-3932-40ba-9450-ace1f37f0bd4 X-Archives-Hash: ca5345e0f4b293d77ff896a84897fec7 Signed-off-by: Justin Lecher --- eclass/virtualx.eclass | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/eclass/virtualx.eclass b/eclass/virtualx.eclass index 0b6614a..a7f17ec 100644 --- a/eclass/virtualx.eclass +++ b/eclass/virtualx.eclass @@ -22,6 +22,8 @@ esac if [[ ! ${_VIRTUAL_X} ]]; then +inherit eutils + # @ECLASS-VARIABLE: VIRTUALX_REQUIRED # @DESCRIPTION: # Variable specifying the dependency on xorg-server and xhost. @@ -58,15 +60,15 @@ case ${VIRTUALX_REQUIRED} in ;; optional|tests) # deprecated section YAY. - ewarn "QA: VIRTUALX_REQUIRED=optional and VIRTUALX_REQUIRED=tests are deprecated." - ewarn "QA: You can drop the variable definition completely from ebuild," - ewarn "QA: because it is default behaviour." + eqawarn "VIRTUALX_REQUIRED=optional and VIRTUALX_REQUIRED=tests are deprecated." + eqawarn "You can drop the variable definition completely from ebuild," + eqawarn "because it is default behaviour." if [[ -n ${VIRTUALX_USE} ]]; then # so they like to specify the useflag - ewarn "QA: VIRTUALX_USE variable is deprecated." - ewarn "QA: Please read eclass manpage to find out how to use VIRTUALX_REQUIRED" - ewarn "QA: to achieve the same behaviour." + eqawarn "VIRTUALX_USE variable is deprecated." + eqawarn "Please read eclass manpage to find out how to use VIRTUALX_REQUIRED" + eqawarn "to achieve the same behaviour." fi [[ -z ${VIRTUALX_USE} ]] && VIRTUALX_USE="test" @@ -97,9 +99,9 @@ virtualmake() { # backcompat for maketype if [[ -n ${maketype} ]]; then - ewarn "QA: ebuild is exporting \$maketype=${maketype}" - ewarn "QA: Ebuild should be migrated to use VIRTUALX_COMMAND=${maketype} instead." - ewarn "QA: Setting VIRTUALX_COMMAND to \$maketype conveniently for now." + eqawarn "ebuild is exporting \$maketype=${maketype}" + eqawarn "Ebuild should be migrated to use VIRTUALX_COMMAND=${maketype} instead." + eqawarn "Setting VIRTUALX_COMMAND to \$maketype conveniently for now." VIRTUALX_COMMAND=${maketype} fi @@ -175,8 +177,8 @@ virtualmake() { Xmake() { debug-print-function ${FUNCNAME} "$@" - ewarn "QA: you should not execute make directly" - ewarn "QA: rather execute Xemake -j1 if you have issues with parallel make" + 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