diff options
author | 2023-11-01 20:09:50 +0100 | |
---|---|---|
committer | 2023-11-02 13:58:16 +0100 | |
commit | 0938bf901201362721d38480f2ebd339a28a9cc1 (patch) | |
tree | db6c6a835af2e2e050a29d3de9969713464fc93c | |
parent | syntax/ebuild.vim: Add eqawarn (diff) | |
download | gentoo-syntax-0938bf901201362721d38480f2ebd339a28a9cc1.tar.gz gentoo-syntax-0938bf901201362721d38480f2ebd339a28a9cc1.tar.bz2 gentoo-syntax-0938bf901201362721d38480f2ebd339a28a9cc1.zip |
newebuild: default jdk and jre values for DEPEND and RDEPENDv12
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: https://github.com/gentoo/gentoo-syntax/pull/63
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | plugin/newebuild.vim | 18 |
1 files 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=\"\"' |