diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-02-07 13:15:59 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-02-09 17:17:33 +0100 |
commit | 82f88dbce5a91df90ebb9e0f72be255b4ebca9c7 (patch) | |
tree | d596811a08db3db9546da924f3402e47c7b68f5b /app-vim/vim-latex/vim-latex-1.10.0.ebuild | |
parent | app-vim/splice: Switch to PYTHON_SINGLE_USEDEP (diff) | |
download | gentoo-82f88dbce5a91df90ebb9e0f72be255b4ebca9c7.tar.gz gentoo-82f88dbce5a91df90ebb9e0f72be255b4ebca9c7.tar.bz2 gentoo-82f88dbce5a91df90ebb9e0f72be255b4ebca9c7.zip |
app-vim/vim-latex: Switch to PYTHON_SINGLE_USEDEP
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-vim/vim-latex/vim-latex-1.10.0.ebuild')
-rw-r--r-- | app-vim/vim-latex/vim-latex-1.10.0.ebuild | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/app-vim/vim-latex/vim-latex-1.10.0.ebuild b/app-vim/vim-latex/vim-latex-1.10.0.ebuild deleted file mode 100644 index 58de37ae2552..000000000000 --- a/app-vim/vim-latex/vim-latex-1.10.0.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python2_7 python3_6 ) - -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 -} |