From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2EA4715800A for ; Sun, 16 Jul 2023 13:47:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5B90BE08A2; Sun, 16 Jul 2023 13:47:44 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 15464E0877 for ; Sun, 16 Jul 2023 13:47:44 +0000 (UTC) Message-ID: <7a83851f-03c7-472a-dc1f-6fe2679d3476@gentoo.org> Date: Sun, 16 Jul 2023 15:47:39 +0200 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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [gentoo-dev] [PATCH 1/7] eclass/nuget.eclass: introduce new eclass Content-Language: en-US, pl-PL To: Ulrich Mueller , gentoo-dev@lists.gentoo.org References: <20230716123830.78932-1-xgqt@gentoo.org> From: =?UTF-8?Q?Maciej_Bar=c4=87?= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Archives-Salt: 77e0f178-ecdc-43e7-847a-e00849653a51 X-Archives-Hash: 881d5ab049722e8a58af5b41fc6a07e0 Offtopic: That calls for a YAS snippet ;D W dniu 16.07.2023 o 15:40, Ulrich Mueller pisze: >>>>>> On Sun, 16 Jul 2023, Maciej Barć wrote: > >> +case "${EAPI}" in >> + 7 | 8 ) >> + : >> + ;; >> + * ) >> + die "${ECLASS}: EAPI ${EAPI} unsupported." >> + ;; >> +esac > > The QA team has invested quite some work to unify that case block > between different eclasses. So, please stay with the standard style: > > case ${EAPI} in > 7|8) ;; > *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; > esac -- Have a great day! ~ Maciej XGQT Barć xgqt@gentoo.org Gentoo Linux developer (dotnet, emacs, math, ml, nim, scheme, sci) https://wiki.gentoo.org/wiki/User:Xgqt 9B0A 4C5D 02A3 B43C 9D6F D6B1 14D7 4A1F 43A6 AC3C