summaryrefslogtreecommitdiff
path: root/app-vim/vim-latex
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2016-01-16 19:30:38 -0500
committerTim Harder <radhermit@gentoo.org>2016-01-16 19:32:54 -0500
commit943edc9355f9e4ca2196537e326f44acc58fd2ef (patch)
tree91eb926ba0506cee3a6907e15bd2596ae65f8097 /app-vim/vim-latex
parent321dfd4410099effc2c20344f408244dcf22e6f8 (diff)
downloadgentoo-943edc9355f9e4ca2196537e326f44acc58fd2ef.tar.gz
gentoo-943edc9355f9e4ca2196537e326f44acc58fd2ef.tar.xz
app-vim/vim-latex: version bump to 1.8.23.20141116
Diffstat (limited to 'app-vim/vim-latex')
-rw-r--r--app-vim/vim-latex/Manifest1
-rw-r--r--app-vim/vim-latex/vim-latex-1.8.23.20141116.ebuild67
2 files changed, 68 insertions, 0 deletions
diff --git a/app-vim/vim-latex/Manifest b/app-vim/vim-latex/Manifest
index 1ae458a527e..64d81f68784 100644
--- a/app-vim/vim-latex/Manifest
+++ b/app-vim/vim-latex/Manifest
@@ -1 +1,2 @@
DIST vim-latex-1.8.23-20130116.788-git2ef9956.tar.gz 287749 SHA256 99f47151d5108901f85c793496a301341fe6be66b39bd5b42ea7db2e0afd426c SHA512 27cbea24ef5cf8c5ef6c2a9790bd1745d7d907640dd47dd199e579b8e04c33e30b1907f89e9898f8197e46f002ce4145e5c63635801ca8729d4ad988aaa7b590 WHIRLPOOL 74d11d665568ff4afaa40e3208764919e32c9f899ba3e993ed4e4d0049c9f067c2446e2abdecdf3b598ec89c9d4187f24f9ca04a654ecbaa4dc2cfdcc0e06975
+DIST vim-latex-1.8.23-20141116.812-gitd0f31c9.tar.gz 288376 SHA256 b3f8c395ae4d012bc6597e3beb22568c84554195bcba3cd3edc6c84270458eab SHA512 18444b7aef9ca1d7288e2616c0329274172afa3f932096fddc5e40888f65c8cacae2454ab316c5699395268aa88af13b32f3ae6e36058e27e4e48e6d6591b762 WHIRLPOOL f5a133483fd3f8ce33c82baa82fb6632942baa9d919814516904994c848264ec08d89cac299592d9fd741282a4644f63c2ca46ce5e8296c4dd64bf36d46a46f7
diff --git a/app-vim/vim-latex/vim-latex-1.8.23.20141116.ebuild b/app-vim/vim-latex/vim-latex-1.8.23.20141116.ebuild
new file mode 100644
index 00000000000..1356e266f3a
--- /dev/null
+++ b/app-vim/vim-latex/vim-latex-1.8.23.20141116.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+
+inherit vim-plugin versionator python-single-r1 eutils
+
+MY_REV="812-gitd0f31c9"
+MY_P="${PN}-$( replace_version_separator 3 - ).${MY_REV}"
+
+DESCRIPTION="vim plugin: a comprehensive set of tools to view, edit and compile LaTeX documents"
+HOMEPAGE="http://vim-latex.sourceforge.net/"
+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"
+IUSE="html python"
+
+RDEPEND="|| ( app-editors/vim[python?] app-editors/gvim[python?] )
+ virtual/latex-base"
+
+S=${WORKDIR}/${MY_P}
+
+VIM_PLUGIN_HELPFILES="latex-suite.txt latex-suite-quickstart.txt latexhelp.txt imaps.txt"
+
+src_prepare() {
+ # The makefiles do weird stuff, including running the svn command
+ rm Makefile Makefile.in || die "rm Makefile Makefile.in failed"
+
+ epatch_user
+}
+
+src_install() {
+ use html && dohtml -r doc/
+
+ # Don't mess up vim's doc dir with random files
+ mv doc mydoc || die
+ mkdir doc || die
+ mv mydoc/*.txt doc/ || die
+ rm -rf mydoc || die
+
+ # Don't install buggy tags scripts, use ctags instead
+ rm latextags ltags || die
+
+ vim-plugin_src_install
+
+ # Use executable permissions (bug #352403)
+ fperms a+x /usr/share/vim/vimfiles/ftplugin/latex-suite/outline.py
+
+ python_fix_shebang "${ED}"
+}
+
+pkg_postinst() {
+ vim-plugin_pkg_postinst
+
+ if [[ -z ${REPLACING_VERSIONS} ]]; then
+ echo
+ elog "To use the vim-latex plugin add:"
+ elog " filetype plugin on"
+ elog ' set grepprg=grep\ -nH\ $*'
+ elog " let g:tex_flavor='latex'"
+ elog "to your ~/.vimrc-file"
+ echo
+ fi
+}