From 0938bf901201362721d38480f2ebd339a28a9cc1 Mon Sep 17 00:00:00 2001 From: "Volkmar W. Pogatzki" Date: Wed, 1 Nov 2023 20:09:50 +0100 Subject: newebuild: default jdk and jre values for DEPEND and RDEPEND MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Volkmar W. Pogatzki Closes: https://github.com/gentoo/gentoo-syntax/pull/63 Signed-off-by: Michał Górny --- 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! 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=\"\"' -- cgit v1.2.3-65-gdbad