commit:     a2a6e313e5ffc3823a69d330dbc55eb7fb340cff
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 27 13:15:39 2016 +0000
Commit:     Tim Harder <radhermit <AT> gentoo <DOT> org>
CommitDate: Sat Mar  5 23:31:09 2016 +0000
URL:        https://gitweb.gentoo.org/proj/gentoo-syntax.git/commit/?id=a2a6e313

newebuild: Include PYTHON_COMPAT for python ebuilds by default

 plugin/newebuild.vim | 1 +
 1 file changed, 1 insertion(+)

diff --git a/plugin/newebuild.vim b/plugin/newebuild.vim
index a79d217..2f67e54 100644
--- a/plugin/newebuild.vim
+++ b/plugin/newebuild.vim
@@ -141,6 +141,7 @@ fun! <SID>MakeNewEbuild()
             " {{{ standard default setup
             " {{{ extra inherits for some categories
             if l:category ==# "dev-python"
+                put ='PYTHON_COMPAT=( python2_7 python3_4 )'
                 put ='inherit distutils-r1'
                 put =''
             elseif l:category =~# "^xfce-"

Reply via email to