aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2009-07-20 02:39:57 +0000
committerJeremy Olexa <darkside@gentoo.org>2009-07-20 02:39:57 +0000
commit02553d7878633cd96789a4f47d1ff38668a590e7 (patch)
tree2c932bb8432b84515706830b071da767406bdc9f
parentFix commenting scope issues, bug 265476. patch by Mounir Lamouri (diff)
downloadgentoo-syntax-02553d7878633cd96789a4f47d1ff38668a590e7.tar.gz
gentoo-syntax-02553d7878633cd96789a4f47d1ff38668a590e7.tar.bz2
gentoo-syntax-02553d7878633cd96789a4f47d1ff38668a590e7.zip
Modify new ebuild template to have EAPI=2 and RDEPEND, bug 274949. Patch by Dror Levingentoo-syntax-20090720
svn path=/trunk/gentoo-syntax/; revision=64
-rw-r--r--plugin/newebuild.vim4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugin/newebuild.vim b/plugin/newebuild.vim
index 7821fbf..01d05a7 100644
--- a/plugin/newebuild.vim
+++ b/plugin/newebuild.vim
@@ -42,6 +42,8 @@ fun! <SID>MakeNewEbuild()
nohls
" }}}
else
+ put ='EAPI=\"2\"'
+ put =''
if l:category ==# "app-vim"
" {{{ app-vim special setup
put ='#VIM_PLUGIN_VIM_VERSION=\"7.0\"'
@@ -137,7 +139,7 @@ fun! <SID>MakeNewEbuild()
" {{{ extra deps for some categories
put ='DEPEND=\"\"'
- put ='RDEPEND=\"\"'
+ put ='RDEPEND=\"${DEPEND}\"'
put =''
" }}}
endif