Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-vim/vim-latex/
Date: Sun, 04 Feb 2018 22:49:51
Message-Id: 1517784563.a0955644c2d42b70ac275b12926f1bc6b13d499e.monsieurp@gentoo
1 commit: a0955644c2d42b70ac275b12926f1bc6b13d499e
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 3 22:40:40 2018 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 4 22:49:23 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0955644
7
8 app-vim/vim-latex: version bump.
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 app-vim/vim-latex/Manifest | 1 +
13 app-vim/vim-latex/vim-latex-1.10.0.ebuild | 64 +++++++++++++++++++++++++++++++
14 2 files changed, 65 insertions(+)
15
16 diff --git a/app-vim/vim-latex/Manifest b/app-vim/vim-latex/Manifest
17 index 18a1a5f12b6..68ef2890a65 100644
18 --- a/app-vim/vim-latex/Manifest
19 +++ b/app-vim/vim-latex/Manifest
20 @@ -1,2 +1,3 @@
21 +DIST vim-latex-1.10.0.tar.gz 260820 BLAKE2B 2314ad5ded3bea51def3172e8f2b7a7483839b58804f9d8c1cc1c8f1139c1da731f91525691d47dba57d07a7db85c371e87c5ce0d3d22a004a9402df7e7cad3a SHA512 1d22b675c124e402a280dcc3a675b49a92fb9f4d42efdda0ea97be26379cd6c023589a35e165f4231524d853380e22411901bfbcc98f171c938ba800821a1213
22 DIST vim-latex-1.8.23-20141116.812-gitd0f31c9.tar.gz 288376 BLAKE2B e9853e3c86764147401f9ad6909f216864f97b9b35ca84839c7047555a52ad51d9488930a820a275b27331cc8a52360c1ce0550fe93d2d6efce8873ba1214572 SHA512 18444b7aef9ca1d7288e2616c0329274172afa3f932096fddc5e40888f65c8cacae2454ab316c5699395268aa88af13b32f3ae6e36058e27e4e48e6d6591b762
23 DIST vim-latex-1.9.0.tar.gz 289271 BLAKE2B 1372fb590d9f3726de51439c4110911c8404dedbf17a0d8d651fcea34fba3d1622440a90b5974a1d45eafec5d079c8b84fb0665b0203bbf5df75a10caa0161df SHA512 4cce21683af74a5a1034e5ecc0f6268b5065324908671d40b4d6b60ac880890df1e9c3d6c16fa57dd1edc33766ded374fd43473699a974ba83e4aeac42030e63
24
25 diff --git a/app-vim/vim-latex/vim-latex-1.10.0.ebuild b/app-vim/vim-latex/vim-latex-1.10.0.ebuild
26 new file mode 100644
27 index 00000000000..1fe1ad06f6f
28 --- /dev/null
29 +++ b/app-vim/vim-latex/vim-latex-1.10.0.ebuild
30 @@ -0,0 +1,64 @@
31 +# Copyright 1999-2018 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +PYTHON_COMPAT=( python2_7 )
36 +
37 +inherit vim-plugin python-single-r1
38 +
39 +DESCRIPTION="A comprehensive set of tools to view, edit and compile LaTeX documents"
40 +HOMEPAGE="http://vim-latex.sourceforge.net/"
41 +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
42 +
43 +LICENSE="vim"
44 +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
45 +IUSE=""
46 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
47 +
48 +RDEPEND="
49 + ${PYTHON_DEPS}
50 + || (
51 + app-editors/vim[python,${PYTHON_USEDEP}]
52 + app-editors/gvim[python,${PYTHON_USEDEP}]
53 + )
54 + virtual/latex-base
55 + !app-vim/vimtex"
56 +
57 +VIM_PLUGIN_HELPFILES="latex-suite.txt latex-suite-quickstart.txt latexhelp.txt imaps.txt"
58 +
59 +src_compile() { :; }
60 +
61 +src_install() {
62 + # remove unused metadata
63 + rm vim-latex.metainfo.xml || die
64 +
65 + # don't mess up vim's doc dir with random files
66 + mv doc mydoc || die
67 + mkdir doc || die
68 + mv mydoc/*.txt doc/ || die
69 + rm -rf mydoc || die
70 +
71 + # don't install buggy tags scripts, use ctags instead
72 + rm latextags ltags || die
73 +
74 + vim-plugin_src_install
75 +
76 + # use executable permissions (bug #352403)
77 + fperms a+x /usr/share/vim/vimfiles/ftplugin/latex-suite/outline.py
78 +
79 + python_fix_shebang "${ED}"
80 +}
81 +
82 +pkg_postinst() {
83 + vim-plugin_pkg_postinst
84 +
85 + if [[ -z ${REPLACING_VERSIONS} ]]; then
86 + echo
87 + elog "To use the vim-latex plugin add:"
88 + elog " filetype plugin on"
89 + elog ' set grepprg=grep\ -nH\ $*'
90 + elog " let g:tex_flavor='latex'"
91 + elog "to your ~/.vimrc-file"
92 + echo
93 + fi
94 +}