1 |
commit: 055b4b16b55fe84898477ba39b37e2bcce9ccbb8 |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 9 04:22:17 2016 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 9 04:22:17 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gentoo-syntax.git/commit/?id=055b4b16 |
7 |
|
8 |
plugin/newebuild.vim: use DIST_AUTHOR instead of MODULE_AUTHOR for perl ebuilds |
9 |
|
10 |
For writing new EAPI 6 perl ebuilds properly. |
11 |
|
12 |
Fixes #7. |
13 |
|
14 |
plugin/newebuild.vim | 4 ++-- |
15 |
1 file changed, 2 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/plugin/newebuild.vim b/plugin/newebuild.vim |
18 |
index 7197e41..5020b36 100644 |
19 |
--- a/plugin/newebuild.vim |
20 |
+++ b/plugin/newebuild.vim |
21 |
@@ -127,7 +127,7 @@ fun! <SID>MakeNewEbuild() |
22 |
put ='}' |
23 |
elseif l:category ==# "dev-perl" || l:category ==# "perl-core" |
24 |
" {{{ perl modules default setup |
25 |
- put ='MODULE_AUTHOR=\"\"' |
26 |
+ put ='DIST_AUTHOR=\"\"' |
27 |
put ='inherit perl-module' |
28 |
put ='' |
29 |
put ='DESCRIPTION=\"\"' |
30 |
@@ -171,7 +171,7 @@ fun! <SID>MakeNewEbuild() |
31 |
|
32 |
" {{{ go to the first thing to edit |
33 |
0 |
34 |
- /^\(MODULE_AUTHOR\|DESCRIPTION\)=/ |
35 |
+ /^\(DIST_AUTHOR\|DESCRIPTION\)=/ |
36 |
exec "normal 2f\"" |
37 |
nohls |
38 |
" }}} |