1 |
commit: d5dc0427f63e1e42213358af1ded69440176f737 |
2 |
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net> |
3 |
AuthorDate: Thu Feb 2 11:00:02 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 15 08:29:01 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gentoo-syntax.git/commit/?id=d5dc0427 |
7 |
|
8 |
newebuild: more defaults to java-pkg-simple |
9 |
|
10 |
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net> |
11 |
Closes: https://github.com/gentoo/gentoo-syntax/pull/59 |
12 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
13 |
|
14 |
plugin/newebuild.vim | 5 ++++- |
15 |
1 file changed, 4 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/plugin/newebuild.vim b/plugin/newebuild.vim |
18 |
index 2fa7acb..c411f89 100644 |
19 |
--- a/plugin/newebuild.vim |
20 |
+++ b/plugin/newebuild.vim |
21 |
@@ -121,14 +121,17 @@ fun! <SID>MakeNewEbuild() |
22 |
" }}} |
23 |
elseif l:category ==# "dev-java" |
24 |
" {{{ dev-java generation-2 default java-pkg-simple ebuild |
25 |
- put ='JAVA_PKG_IUSE=\"doc source\"' |
26 |
+ put ='JAVA_PKG_IUSE=\"doc source test\"' |
27 |
put ='MAVEN_ID=\"\"' |
28 |
+ put ='MAVEN_PROVIDES=\"\"' |
29 |
+ put ='JAVA_TESTING_FRAMEWORKS=\"junit-4\"' |
30 |
put ='' |
31 |
put ='inherit java-pkg-2 java-pkg-simple' |
32 |
put ='' |
33 |
put ='DESCRIPTION=\"\"' |
34 |
put ='HOMEPAGE=\"\"' |
35 |
put ='SRC_URI=\"\"' |
36 |
+ put ='S=\"${WORKDIR}/${P}\"' |
37 |
put ='' |
38 |
put ='LICENSE=\"\"' |
39 |
put ='SLOT=\"0\"' |