summaryrefslogtreecommitdiff
path: root/app-vim/vim-latex
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-vim/vim-latex
reinit the tree, so we can have metadata
Diffstat (limited to 'app-vim/vim-latex')
-rw-r--r--app-vim/vim-latex/Manifest7
-rw-r--r--app-vim/vim-latex/metadata.xml14
-rw-r--r--app-vim/vim-latex/vim-latex-1.8.23.20141116.ebuild73
-rw-r--r--app-vim/vim-latex/vim-latex-1.9.0.ebuild64
4 files changed, 158 insertions, 0 deletions
diff --git a/app-vim/vim-latex/Manifest b/app-vim/vim-latex/Manifest
new file mode 100644
index 000000000000..99a99b33f47f
--- /dev/null
+++ b/app-vim/vim-latex/Manifest
@@ -0,0 +1,7 @@
+DIST vim-latex-1.8.23-20141116.812-gitd0f31c9.tar.gz 288376 SHA256 b3f8c395ae4d012bc6597e3beb22568c84554195bcba3cd3edc6c84270458eab SHA512 18444b7aef9ca1d7288e2616c0329274172afa3f932096fddc5e40888f65c8cacae2454ab316c5699395268aa88af13b32f3ae6e36058e27e4e48e6d6591b762 WHIRLPOOL f5a133483fd3f8ce33c82baa82fb6632942baa9d919814516904994c848264ec08d89cac299592d9fd741282a4644f63c2ca46ce5e8296c4dd64bf36d46a46f7
+DIST vim-latex-1.9.0.tar.gz 289271 SHA256 1fe71b034eb72061380ba3f35dde3e4f6095e8584827ce78bf745a546b6f46ee SHA512 4cce21683af74a5a1034e5ecc0f6268b5065324908671d40b4d6b60ac880890df1e9c3d6c16fa57dd1edc33766ded374fd43473699a974ba83e4aeac42030e63 WHIRLPOOL 259920a04e27c780e0857b30a17f6311b358fe89d38fad3786d7ad958a88ce59cbc3d1dacd7f11b89aa32bd02d46e1b9438120f8e5fe073a44011bbe153233b9
+EBUILD vim-latex-1.8.23.20141116.ebuild 1798 SHA256 933d3612e4b2e56eba3479eaced8d62cadb6035446f315e42be68e1bbffe1a2a SHA512 aeffb7b9e604b1941a471bd51fb13aa8c2de410c549b5a07724242adb87158064e23312a4add2c82cdc07da34350fbdd537bafff65b555c97d95cb16bac3c972 WHIRLPOOL 1f175754be31dddf75121a30b11c77c6e8ad45d07f62a23369c8128c2a991ff8f3b3186acd9395f7d02be78958e9a3eadc33b8c5d03e862d29d2e570fd41bb67
+EBUILD vim-latex-1.9.0.ebuild 1562 SHA256 e8230c1a7e998705f99f71494e21510a951d1ea26b9efac73f238b59ded69c59 SHA512 cfb7cccf342788042957425fdf5c1fc1a67836b4cab5ee26513a1c04a8ebf545d5fa4f583c84d934d71c7229adcaf373d8c256c1c871c4519bd7c671ed6012b6 WHIRLPOOL af38d976f1903f9550333a778250c5071c155115db0acd989432a5bdf86ac084d346ffaa3c13ffcf2323beaaae216441b872f1c293733ed5bc70cb94a36ab062
+MISC ChangeLog 3108 SHA256 5084365f3b8bbb1ecba0a16a60806682131fa32508b826718af17a6990cea43e SHA512 6527834058584b70ac25d6876c2a6d0c58fecc63f37dfdfe597c6f5c69fd1b170a54622e40bbf643fc4b4dcf8c66b328284ec0165c21c1fddfb57034e203b519 WHIRLPOOL cd3c481625689601975ae67fd177576b66e5cd41057ca4939e104212b2efa4e71f3b3a1de519d27996957d9ea2bf93f042b9e2ca1151c7dad610f86840edc02a
+MISC ChangeLog-2015 9845 SHA256 acd95e2785e8978153677bedce4125c5b13eed1d841020e4d9980f6b402a528c SHA512 72f6b98ce53284a2061d862880415918172a6f3dbe6cf54860a3d1a178782b3195381740a0f310791598ecc38a4a58399fa5674d5d93bf858540c2041e982c80 WHIRLPOOL 172877f35965687f576ec08d080eb5d5e21465aeae8483af22dff885ff763c41b440165e080e08c0b62432081093cc8bbccdd70736206b62017e3ddda3a67cdf
+MISC metadata.xml 397 SHA256 804909a450b44e2b016f4defe5a7ed9fda0e0581a04d7f5ab392ef679bb675bc SHA512 739228ae8405270009e652df3cce873daa3c7548aeaa0a058a8202e1ecaa844adf11564a54d73082d5b0b191a2d3c84560460c65b960701e22f6cc497fc6eecb WHIRLPOOL e29b2f41d5a5abe6046ccfa3be70b6e8e27d68572d6c1acb606481e7c8fcd5ccaccfecff210a5c89638915912315f140c1ab69a20ca1868e48115996ef1e07c6
diff --git a/app-vim/vim-latex/metadata.xml b/app-vim/vim-latex/metadata.xml
new file mode 100644
index 000000000000..6c05a86c762d
--- /dev/null
+++ b/app-vim/vim-latex/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>vim@gentoo.org</email>
+ <name>Gentoo Vim Project</name>
+ </maintainer>
+ <use>
+ <flag name="html">Install HTML documentation</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">vim-latex</remote-id>
+ </upstream>
+</pkgmetadata>
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 000000000000..da767f6ade64
--- /dev/null
+++ b/app-vim/vim-latex/vim-latex-1.8.23.20141116.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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="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"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ || (
+ app-editors/vim[python,${PYTHON_USEDEP}]
+ app-editors/gvim[python,${PYTHON_USEDEP}]
+ )
+ virtual/latex-base
+ !app-vim/vimtex"
+
+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
+}
diff --git a/app-vim/vim-latex/vim-latex-1.9.0.ebuild b/app-vim/vim-latex/vim-latex-1.9.0.ebuild
new file mode 100644
index 000000000000..f8c537029f98
--- /dev/null
+++ b/app-vim/vim-latex/vim-latex-1.9.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+
+inherit vim-plugin python-single-r1
+
+DESCRIPTION="A comprehensive set of tools to view, edit and compile LaTeX documents"
+HOMEPAGE="http://vim-latex.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="vim"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ || (
+ app-editors/vim[python,${PYTHON_USEDEP}]
+ app-editors/gvim[python,${PYTHON_USEDEP}]
+ )
+ virtual/latex-base
+ !app-vim/vimtex"
+
+VIM_PLUGIN_HELPFILES="latex-suite.txt latex-suite-quickstart.txt latexhelp.txt imaps.txt"
+
+src_compile() { :; }
+
+src_install() {
+ # remove unused metadata
+ rm vim-latex.metainfo.xml || die
+
+ # 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
+}