aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2023-02-02 12:00:02 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-15 09:29:01 +0100
commitd5dc0427f63e1e42213358af1ded69440176f737 (patch)
treeda653152e69cd15780450551235422a97fc372ed
parentnewebuild: Do not use *.zip SRC_URI in dev-java ebuild template (diff)
downloadgentoo-syntax-d5dc0427f63e1e42213358af1ded69440176f737.tar.gz
gentoo-syntax-d5dc0427f63e1e42213358af1ded69440176f737.tar.bz2
gentoo-syntax-d5dc0427f63e1e42213358af1ded69440176f737.zip
newebuild: more defaults to java-pkg-simplev10
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo-syntax/pull/59 Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--plugin/newebuild.vim5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugin/newebuild.vim b/plugin/newebuild.vim
index 2fa7acb..c411f89 100644
--- a/plugin/newebuild.vim
+++ b/plugin/newebuild.vim
@@ -121,14 +121,17 @@ fun! <SID>MakeNewEbuild()
" }}}
elseif l:category ==# "dev-java"
" {{{ dev-java generation-2 default java-pkg-simple ebuild
- put ='JAVA_PKG_IUSE=\"doc source\"'
+ put ='JAVA_PKG_IUSE=\"doc source test\"'
put ='MAVEN_ID=\"\"'
+ put ='MAVEN_PROVIDES=\"\"'
+ put ='JAVA_TESTING_FRAMEWORKS=\"junit-4\"'
put =''
put ='inherit java-pkg-2 java-pkg-simple'
put =''
put ='DESCRIPTION=\"\"'
put ='HOMEPAGE=\"\"'
put ='SRC_URI=\"\"'
+ put ='S=\"${WORKDIR}/${P}\"'
put =''
put ='LICENSE=\"\"'
put ='SLOT=\"0\"'