commit: 0938bf901201362721d38480f2ebd339a28a9cc1 Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net> AuthorDate: Wed Nov 1 19:09:50 2023 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Thu Nov 2 12:58:16 2023 +0000 URL: https://gitweb.gentoo.org/proj/gentoo-syntax.git/commit/?id=0938bf90
newebuild: default jdk and jre values for DEPEND and RDEPEND Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net> Closes: https://github.com/gentoo/gentoo-syntax/pull/63 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> plugin/newebuild.vim | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/plugin/newebuild.vim b/plugin/newebuild.vim index 8072db0..4138e28 100644 --- a/plugin/newebuild.vim +++ b/plugin/newebuild.vim @@ -139,10 +139,20 @@ fun! <SID>MakeNewEbuild() put ='' put ='CP_DEPEND=\"\"' put ='' - put ='RDEPEND=\">=virtual/jre-1.8:*' - put =' ${CP_DEPEND}\"' - put ='DEPEND=\">=virtual/jdk-1.8:*' - put =' ${CP_DEPEND}\"' + put ='DEPEND=\"${CP_DEPEND}' + put =' \|\| (' + put =' virtual/jdk:21' + put =' virtual/jdk:17' + put =' virtual/jdk:11' + put =' virtual/jdk:1.8' + put =' )\"' + put ='RDEPEND=\"${CP_DEPEND}' + put =' \|\| (' + put =' virtual/jre:21' + put =' virtual/jre:17' + put =' virtual/jre:11' + put =' virtual/jre:1.8' + put =' )\"' elseif l:category ==# "dev-perl" || l:category ==# "perl-core" " {{{ perl modules default setup put ='DIST_AUTHOR=\"\"'