From a16c7357cdbc440744620a67039c505f912b50da Mon Sep 17 00:00:00 2001 From: Nils Freydank Date: Fri, 8 Mar 2019 16:24:25 +0100 Subject: [PATCH] app-vim/python-mode: Revbump to address the python2 drop MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Upstream dropped python2 support (or at least Gentoo) and as I do not use Python2 myself I won't test it anyway, so I’ll drop it here aswell. Package-Manager: Portage-2.3.62, Repoman-2.3.12 Manifest-Sign-Key: 00EFD31F1B60D5DBADB831C1C0ECE6960E54475B Signed-off-by: Nils Freydank --- .../python-mode/python-mode-0.9.2-r1.ebuild | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 app-vim/python-mode/python-mode-0.9.2-r1.ebuild diff --git a/app-vim/python-mode/python-mode-0.9.2-r1.ebuild b/app-vim/python-mode/python-mode-0.9.2-r1.ebuild new file mode 100644 index 0000000..52cb1e6 --- /dev/null +++ b/app-vim/python-mode/python-mode-0.9.2-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +#VIM_PLUGIN_VIM_VERSION="7.0" +PYTHON_COMPAT=( python3_6 ) +inherit python-r1 vim-plugin + +# calls "bundle install", needs to be fixed first +restrict="test" + +DESCRIPTION="vim plugin: Turn vim into a python IDE" +HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=3770 https://github.com/klen/python-mode" +SRC_URI="https://github.com/klen/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="LGPL-3" +KEYWORDS="~amd64 ~x86" +IUSE="" + +VIM_PLUGIN_HELPFILES="PythonModeCommands" +VIM_PLUGIN_HELPTEXT="" +VIM_PLUGIN_HELPURI="https://github.com/klen/python-mode" +VIM_PLUGIN_MESSAGES="filetype" + +RDEPEND=" + >=dev-python/astroid-2.1.0[${PYTHON_USEDEP}] + dev-python/autopep8[${PYTHON_USEDEP}] + dev-python/mccabe[${PYTHON_USEDEP}] + dev-python/pycodestyle[${PYTHON_USEDEP}] + dev-python/pyflakes[${PYTHON_USEDEP}] + dev-python/pylama[${PYTHON_USEDEP}] + >=dev-python/pylint-2.2.2[${PYTHON_USEDEP}] + dev-python/rope[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/snowballstemmer[${PYTHON_USEDEP}] +" + +src_install() { + vim-plugin_src_install + insinto usr/share/${PN} +}