commit:     382826e8b6fa99a700df9ae23f1fa0f9bff1c53c
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Wed Dec 27 10:23:02 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Dec 27 15:57:58 2023 +0000
URL:        https://gitweb.gentoo.org/proj/gentoo-syntax.git/commit/?id=382826e8

newebuild: default jdk and jre values for DEPEND and RDEPEND

We partly revert commit #0938bf9012 which would have caused unnecessary
work whenever ::gentoo gets a new Java version.

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo-syntax/pull/64
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 plugin/newebuild.vim | 14 ++------------
 1 file changed, 2 insertions(+), 12 deletions(-)

diff --git a/plugin/newebuild.vim b/plugin/newebuild.vim
index 4138e28..747758f 100644
--- a/plugin/newebuild.vim
+++ b/plugin/newebuild.vim
@@ -140,19 +140,9 @@ fun! <SID>MakeNewEbuild()
             put ='CP_DEPEND=\"\"'
             put =''
             put ='DEPEND=\"${CP_DEPEND}'
-            put ='     \|\| ('
-            put ='             virtual/jdk:21'
-            put ='             virtual/jdk:17'
-            put ='             virtual/jdk:11'
-            put ='             virtual/jdk:1.8'
-            put ='     )\"'
+           put ='      >=virtual/jdk-1.8:*\"'
             put ='RDEPEND=\"${CP_DEPEND}'
-            put ='     \|\| ('
-            put ='             virtual/jre:21'
-            put ='             virtual/jre:17'
-            put ='             virtual/jre:11'
-            put ='             virtual/jre:1.8'
-            put ='     )\"'
+           put ='      >=virtual/jre-1.8:*\"'
         elseif l:category ==# "dev-perl" || l:category ==# "perl-core"
             " {{{ perl modules default setup
             put ='DIST_AUTHOR=\"\"'

Reply via email to