From c030a21e62d64d1bd04a8abb22c6ed52ed1c6dc0 Mon Sep 17 00:00:00 2001 From: Nils Freydank Date: Sat, 19 Jun 2021 20:56:42 +0200 Subject: [PATCH] app-vim/python-mode: Revbump to drop missed tests dir Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Nils Freydank --- .../python-mode-0.13.0_p20210508-r1.ebuild | 64 +++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 app-vim/python-mode/python-mode-0.13.0_p20210508-r1.ebuild diff --git a/app-vim/python-mode/python-mode-0.13.0_p20210508-r1.ebuild b/app-vim/python-mode/python-mode-0.13.0_p20210508-r1.ebuild new file mode 100644 index 0000000..2db20c1 --- /dev/null +++ b/app-vim/python-mode/python-mode-0.13.0_p20210508-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{8..9} ) +inherit python-r1 vim-plugin + +COMMIT_ID="56a4b3621e2d4ce5f5f9f200b860cb9d681d8f8c" + +DESCRIPTION="vim plugin: Turn vim into a python IDE" +HOMEPAGE="https://www.vim.org/scripts/script.php?script_id=3770 https://github.com/python-mode/python-mode" +LICENSE="LGPL-3" +IUSE="test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" +else + if [[ ${PV} == *_p* ]]; then + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${PN}-${COMMIT_ID}" + SRC_URI="https://github.com/python-mode/${PN}/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz" + else + KEYWORDS="~amd64 ~x86" + SRC_URI="https://github.com/python-mode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + fi +fi + +VIM_PLUGIN_HELPFILES="PythonModeCommands" +VIM_PLUGIN_HELPTEXT="" +VIM_PLUGIN_HELPURI="https://github.com/python-mode/python-mode" +VIM_PLUGIN_MESSAGES="filetype" + +RDEPEND=" + ${PYTHON_DEPS} + dev-python/astroid[${PYTHON_USEDEP}] + dev-python/autopep8[${PYTHON_USEDEP}] + dev-python/mccabe[${PYTHON_USEDEP}] + dev-python/pycodestyle[${PYTHON_USEDEP}] + dev-python/pydocstyle[${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/ropemode[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/snowballstemmer[${PYTHON_USEDEP}] + || ( + app-editors/vim[python,${PYTHON_USEDEP}] + ( + app-editors/neovim + dev-python/pynvim[${PYTHON_USEDEP}] + ) + ) +" + +src_install() { + rm -rf tests || die + vim-plugin_src_install + insinto usr/share/${PN} +}