public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/gentoo-syntax:neweclass-eapi commit in: plugin/
  2023-01-02 18:43 [gentoo-commits] proj/gentoo-syntax:master commit in: plugin/ Michał Górny
@ 2023-01-02 13:30 ` Michał Górny
  0 siblings, 0 replies; 2+ messages in thread
From: Michał Górny @ 2023-01-02 13:30 UTC (permalink / raw
  To: gentoo-commits

commit:     9e4f5360b69558799c6974ed72248b86d09c6549
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  2 12:25:25 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> 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 <mgorny <AT> 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! <SID>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")


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] proj/gentoo-syntax:master commit in: plugin/
@ 2023-01-02 18:43 Michał Górny
  2023-01-02 13:30 ` [gentoo-commits] proj/gentoo-syntax:neweclass-eapi " Michał Górny
  0 siblings, 1 reply; 2+ messages in thread
From: Michał Górny @ 2023-01-02 18:43 UTC (permalink / raw
  To: gentoo-commits

commit:     9e4f5360b69558799c6974ed72248b86d09c6549
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  2 12:25:25 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> 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 <mgorny <AT> 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! <SID>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")


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-02 18:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-02 18:43 [gentoo-commits] proj/gentoo-syntax:master commit in: plugin/ Michał Górny
2023-01-02 13:30 ` [gentoo-commits] proj/gentoo-syntax:neweclass-eapi " Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox