commit:     055b4b16b55fe84898477ba39b37e2bcce9ccbb8
Author:     Tim Harder <radhermit <AT> gentoo <DOT> org>
AuthorDate: Fri Sep  9 04:22:17 2016 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Fri Sep  9 04:22:17 2016 +0000
URL:        https://gitweb.gentoo.org/proj/gentoo-syntax.git/commit/?id=055b4b16

plugin/newebuild.vim: use DIST_AUTHOR instead of MODULE_AUTHOR for perl ebuilds

For writing new EAPI 6 perl ebuilds properly.

Fixes #7.

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

diff --git a/plugin/newebuild.vim b/plugin/newebuild.vim
index 7197e41..5020b36 100644
--- a/plugin/newebuild.vim
+++ b/plugin/newebuild.vim
@@ -127,7 +127,7 @@ fun! <SID>MakeNewEbuild()
             put ='}'
         elseif l:category ==# "dev-perl" || l:category ==# "perl-core"
             " {{{ perl modules default setup
-            put ='MODULE_AUTHOR=\"\"'
+            put ='DIST_AUTHOR=\"\"'
             put ='inherit perl-module'
             put =''
             put ='DESCRIPTION=\"\"'
@@ -171,7 +171,7 @@ fun! <SID>MakeNewEbuild()
 
         " {{{ go to the first thing to edit
         0
-        /^\(MODULE_AUTHOR\|DESCRIPTION\)=/
+        /^\(DIST_AUTHOR\|DESCRIPTION\)=/
         exec "normal 2f\""
         nohls
         " }}}

Reply via email to