commit:     d5dc0427f63e1e42213358af1ded69440176f737
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Thu Feb  2 11:00:02 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Mar 15 08:29:01 2023 +0000
URL:        https://gitweb.gentoo.org/proj/gentoo-syntax.git/commit/?id=d5dc0427

newebuild: more defaults to java-pkg-simple

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

 plugin/newebuild.vim | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

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\"'

Reply via email to