aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2023-12-27 11:23:02 +0100
committerMichał Górny <mgorny@gentoo.org>2023-12-27 16:57:58 +0100
commit382826e8b6fa99a700df9ae23f1fa0f9bff1c53c (patch)
tree1a3d9ab2bfc20650dd0e27e878edb18221566354
parentnewebuild: default jdk and jre values for DEPEND and RDEPEND (diff)
downloadgentoo-syntax-382826e8b6fa99a700df9ae23f1fa0f9bff1c53c.tar.gz
gentoo-syntax-382826e8b6fa99a700df9ae23f1fa0f9bff1c53c.tar.bz2
gentoo-syntax-382826e8b6fa99a700df9ae23f1fa0f9bff1c53c.zip
newebuild: default jdk and jre values for DEPEND and RDEPENDv13
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@pogatzki.net> Closes: https://github.com/gentoo/gentoo-syntax/pull/64 Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--plugin/newebuild.vim14
1 files 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=\"\"'