--- /usr/portage/app-vim/vim-latex/vim-latex-1.8.23.20110214.ebuild 2011-07-23 11:31:06.000000000 -0700 +++ vim-latex-1.8.23.20110214-r1.ebuild 2011-10-09 01:42:07.649345015 -0700 @@ -4,7 +4,7 @@ EAPI=3 -inherit vim-plugin versionator +inherit vim-plugin versionator python MY_REV="1049-git089726a" MY_P="${PN}-$( replace_version_separator 3 - ).${MY_REV}" @@ -14,10 +14,12 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" LICENSE="vim" -KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris" IUSE="html" -RDEPEND="virtual/latex-base" +RDEPEND="virtual/latex-base +app-editors/gvim[python] +" S="${WORKDIR}/${MY_P}" @@ -26,6 +28,9 @@ src_prepare() { # The makefiles do weird stuff, including running the svn command rm Makefile Makefile.in || die "rm Makefile Makefile.in failed" + + # own patch for some keymaps + epatch_user } src_install() { @@ -44,6 +49,9 @@ # Use executable permissions (bug #352403) fperms a+x /usr/share/vim/vimfiles/ftplugin/latex-suite/outline.py + + # convert shebang to python2 since some codes does not run in python3 + python_convert_shebangs -r 2 "${D}" } pkg_postinst() {