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 028CB15800F for ; Mon, 2 Jan 2023 18:43:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4CA81E08FC; Mon, 2 Jan 2023 18:43:06 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 32CEAE08FC for ; Mon, 2 Jan 2023 18:43:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 smtp.gentoo.org (Postfix) with ESMTPS id 2E2AC335D36 for ; Mon, 2 Jan 2023 18:43:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A407D72B for ; Mon, 2 Jan 2023 18:43:03 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1672666214.9e4f5360b69558799c6974ed72248b86d09c6549.mgorny@gentoo> Subject: [gentoo-commits] proj/gentoo-syntax:master commit in: plugin/ X-VCS-Repository: proj/gentoo-syntax X-VCS-Files: plugin/newebuild.vim X-VCS-Directories: plugin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 9e4f5360b69558799c6974ed72248b86d09c6549 X-VCS-Branch: master Date: Mon, 2 Jan 2023 18:43:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: bac1fd04-46ba-42fb-8a49-dd46573a5922 X-Archives-Hash: 95950bdd37ce8213767e3db7cdf60cff commit: 9e4f5360b69558799c6974ed72248b86d09c6549 Author: Michał Górny gentoo org> AuthorDate: Mon Jan 2 12:25:25 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Jan 2 13:30:14 2023 +0000 URL: https://gitweb.gentoo.org/proj/gentoo-syntax.git/commit/?id=9e4f5360 newebuild: Use standard clause for unsupported EAPI in new eclasses Signed-off-by: Michał Górny gentoo.org> plugin/newebuild.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/newebuild.vim b/plugin/newebuild.vim index fddbc59..fd3eb4f 100644 --- a/plugin/newebuild.vim +++ b/plugin/newebuild.vim @@ -49,7 +49,7 @@ fun! MakeNewEbuild() put ='' put ='case ${EAPI} in' put =' 8) ;;' - put =' *) die \"${ECLASS}: EAPI ${EAPI} unsupported.\"' + put =' *) die \"${ECLASS}: EAPI ${EAPI:-0} not supported\" ;;' put ='esac' put ='' let l:eclass_ident = substitute(toupper(l:eclass), "[^A-Z0-9]", "_", "g") 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 8FCCB15800F for ; Mon, 2 Jan 2023 13:30:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7EE8EE0918; Mon, 2 Jan 2023 13:30:21 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6342BE0918 for ; Mon, 2 Jan 2023 13:30:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 76E4F340CCE for ; Mon, 2 Jan 2023 13:30:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A9A9C72B for ; Mon, 2 Jan 2023 13:30:18 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1672666214.9e4f5360b69558799c6974ed72248b86d09c6549.mgorny@gentoo> Subject: [gentoo-commits] proj/gentoo-syntax:neweclass-eapi commit in: plugin/ X-VCS-Repository: proj/gentoo-syntax X-VCS-Files: plugin/newebuild.vim X-VCS-Directories: plugin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 9e4f5360b69558799c6974ed72248b86d09c6549 X-VCS-Branch: neweclass-eapi Date: Mon, 2 Jan 2023 13:30:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 92d72055-b124-40e8-9408-7449dfd82943 X-Archives-Hash: 89c59aa0f732c028e2a3a101a1aa5853 Message-ID: <20230102133018.eqCRHuOiBGi8UPxE9agDyfSqv--vrJhgF7wTFs1wYss@z> commit: 9e4f5360b69558799c6974ed72248b86d09c6549 Author: Michał Górny gentoo org> AuthorDate: Mon Jan 2 12:25:25 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Jan 2 13:30:14 2023 +0000 URL: https://gitweb.gentoo.org/proj/gentoo-syntax.git/commit/?id=9e4f5360 newebuild: Use standard clause for unsupported EAPI in new eclasses Signed-off-by: Michał Górny gentoo.org> plugin/newebuild.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/newebuild.vim b/plugin/newebuild.vim index fddbc59..fd3eb4f 100644 --- a/plugin/newebuild.vim +++ b/plugin/newebuild.vim @@ -49,7 +49,7 @@ fun! MakeNewEbuild() put ='' put ='case ${EAPI} in' put =' 8) ;;' - put =' *) die \"${ECLASS}: EAPI ${EAPI} unsupported.\"' + put =' *) die \"${ECLASS}: EAPI ${EAPI:-0} not supported\" ;;' put ='esac' put ='' let l:eclass_ident = substitute(toupper(l:eclass), "[^A-Z0-9]", "_", "g")