From 8b55ca4738e0eddea0f12b1faefb673fa4b5f4be Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Fri, 1 Jan 2021 01:50:40 +0100 Subject: app-vim/vimoutliner: Remove old (py3.6) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- app-vim/vimoutliner/vimoutliner-0.3.6-r3.ebuild | 51 ------------------------- 1 file changed, 51 deletions(-) delete mode 100644 app-vim/vimoutliner/vimoutliner-0.3.6-r3.ebuild (limited to 'app-vim/vimoutliner/vimoutliner-0.3.6-r3.ebuild') diff --git a/app-vim/vimoutliner/vimoutliner-0.3.6-r3.ebuild b/app-vim/vimoutliner/vimoutliner-0.3.6-r3.ebuild deleted file mode 100644 index 4bea6a6dc884..000000000000 --- a/app-vim/vimoutliner/vimoutliner-0.3.6-r3.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python3_6 ) - -inherit vim-plugin python-single-r1 - -DESCRIPTION="vim plugin: easy and fast outlining" -HOMEPAGE="https://github.com/vimoutliner/vimoutliner" -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -VIM_PLUGIN_HELPFILES="vimoutliner" -VIM_PLUGIN_MESSAGES="filetype" - -PATCHES=( "${FILESDIR}/${P}-fix-shebangs.patch" ) - -RDEPEND="${PYTHON_DEPS} - $(python_gen_cond_dep ' - dev-python/autopep8[${PYTHON_MULTI_USEDEP}] - ')" - -pkg_setup() { - python-single-r1_pkg_setup -} - -src_prepare() { - default - sed -i -e '/^if exists/,/endif/d' ftdetect/vo_base.vim || die - sed -i -e 's/g:vo_modules2load/g:vo_modules_load/' vimoutliner/vimoutlinerrc || die - rm -v install.sh || die - find "${S}" -type f -exec chmod a+r {} \; || die -} - -src_compile() { - local pyscript _pyscript - for pyscript in $(find "${S}" -type f -name \*.py); do - _pyscript=$(basename "${pyscript}") - einfo "Processing ${_pyscript}" - sed -i -e 's#[ \t]*$##g;' "${pyscript}" || die - 2to3 --no-diffs -w -n "${pyscript}" 2> /dev/null || die - autopep8 -i "${pyscript}" || die - python_fix_shebang -q "${pyscript}" || die - eend $? - done -} -- cgit v1.2.3-65-gdbad