summaryrefslogtreecommitdiff
path: root/app-vim
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-10-20 23:10:18 +0200
committerMichał Górny <mgorny@gentoo.org>2018-10-20 23:12:03 +0200
commitfdf9c244f075bb210df36c4709bc188bdce5af11 (patch)
treea205c8118b79b86842798808657c16e63fb84943 /app-vim
parent3fb398627916e52d50782f9e2d37b6ac11c1048e (diff)
downloadgentoo-fdf9c244f075bb210df36c4709bc188bdce5af11.tar.gz
gentoo-fdf9c244f075bb210df36c4709bc188bdce5af11.tar.xz
app-vim/python-mode: Remove last-rited pkg
Closes: https://bugs.gentoo.org/666152 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-vim')
-rw-r--r--app-vim/python-mode/Manifest2
-rw-r--r--app-vim/python-mode/files/python-mode-0.6.18-dont-add-cwd-to-syspath.patch15
-rw-r--r--app-vim/python-mode/metadata.xml17
-rw-r--r--app-vim/python-mode/python-mode-0.6.18-r3.ebuild55
-rw-r--r--app-vim/python-mode/python-mode-0.6.18-r4.ebuild62
-rw-r--r--app-vim/python-mode/python-mode-0.9.0-r1.ebuild48
-rw-r--r--app-vim/python-mode/python-mode-0.9.0.ebuild43
7 files changed, 0 insertions, 242 deletions
diff --git a/app-vim/python-mode/Manifest b/app-vim/python-mode/Manifest
deleted file mode 100644
index b227f265c8c..00000000000
--- a/app-vim/python-mode/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST python-mode-0.6.18.tar.gz 386846 BLAKE2B 8fd330ddce4a9107e9ca3248a727e4291b3474810360962425ef4afab25eff8a5a7319bedd91ad7899d160b2f48a28ab8f56a27d5557859f6fb3d906f7d11758 SHA512 0e3159a055304443c8b15590c424ac0f4a4303e343882ff91f01f5b959274931dea83969ab1dcd19ce95894c7da5be60699d51b852dc73165a99a271feec4e64
-DIST python-mode-0.9.0.tar.gz 671985 BLAKE2B 3bfbbcd11953fbecc0214b66271ab37bfee4476aed5d9a6f0e82c9111d9f6e1404839340079c49f4b73608c899a12c7af2a5a1044f104a3aafdef3c8bd20310e SHA512 03aef010a95241abf9605ca334d95a2c0b917c61aea23f794e574acd56ba5d958032975d17d1af40a5edccd90f0172783a26fc301d799fd619bfd263da685161
diff --git a/app-vim/python-mode/files/python-mode-0.6.18-dont-add-cwd-to-syspath.patch b/app-vim/python-mode/files/python-mode-0.6.18-dont-add-cwd-to-syspath.patch
deleted file mode 100644
index fb92614233b..00000000000
--- a/app-vim/python-mode/files/python-mode-0.6.18-dont-add-cwd-to-syspath.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-https://github.com/klen/python-mode/issues/162
---- a/ftplugin/python/init-pymode.vim
-+++ b/ftplugin/python/init-pymode.vim
-@@ -46,10 +46,9 @@ if !pymode#Default('g:pymode_path', 1) || g:pymode_path
- python << EOF
- import sys, vim, os
-
--curpath = vim.eval("getcwd()")
- libpath = os.path.join(vim.eval("expand('<sfile>:p:h:h:h')"), 'pylibs')
-
--sys.path = [libpath, curpath] + vim.eval("g:pymode_paths") + sys.path
-+sys.path = [libpath] + vim.eval("g:pymode_paths") + sys.path
- EOF
-
- endif " }}}
diff --git a/app-vim/python-mode/metadata.xml b/app-vim/python-mode/metadata.xml
deleted file mode 100644
index 40d7427cf17..00000000000
--- a/app-vim/python-mode/metadata.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>vim@gentoo.org</email>
- <name>Gentoo Vim Project</name>
- </maintainer>
- <longdescription>
- Python-mode is a vim plugin that allows you to use the pylint, rope,
- pydoc, pyflakes, pep8, mccabe libraries in vim to provide features like
- python code looking for bugs, refactoring and some other useful
- things.
- </longdescription>
- <upstream>
- <remote-id type="github">klen/python-mode</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/app-vim/python-mode/python-mode-0.6.18-r3.ebuild b/app-vim/python-mode/python-mode-0.6.18-r3.ebuild
deleted file mode 100644
index 6900bfbcd9b..00000000000
--- a/app-vim/python-mode/python-mode-0.6.18-r3.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-VIM_PLUGIN_MESSAGES="filetype"
-VIM_PLUGIN_HELPFILES="PythonModeCommands"
-VIM_PLUGIN_HELPURI="https://github.com/klen/python-mode"
-
-inherit vim-plugin eutils
-
-DESCRIPTION="Provide python code looking for bugs, refactoring and other useful things"
-HOMEPAGE="https://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"
-
-RDEPEND="
- dev-python/astng
- dev-python/autopep8
- dev-python/pyflakes
- dev-python/pylint
- dev-python/rope
- dev-python/ropemode
- "
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-dont-add-cwd-to-syspath.patch
-
- # debundling fun
- rm -rf pylibs/pylama/{pep8.py,pyflakes} pylibs/{autopep8.py}
- #rm -rf pylibs/{rope,ropemode} #475686
- sed -e 's/from .pep8/from pep8/g' \
- -e 's/from .pyflakes/from pyflakes/g' \
- -i pylibs/pylama/utils.py || die
- # there's still pylint left, I failed to debundle it :/
-
- mv pylint.ini "${T}" || die
- sed -e "s|expand(\"<sfile>:p:h:h\")|\"${EPREFIX}/usr/share/${PN}\"|" \
- -i autoload/pymode.vim || die # use custom path
-}
-
-src_install() {
- vim-plugin_src_install
- insinto usr/share/${PN}
- doins "${T}"/pylint.ini
-}
-
-pkg_postinst() {
- vim-plugin_pkg_postinst
- einfo "If you use custom pylintrc make sure you append the contents of"
- einfo " ${EPREFIX}/usr/share/${PN}/pylint.ini"
- einfo "to it. Otherwise PyLint command will not work properly."
-}
diff --git a/app-vim/python-mode/python-mode-0.6.18-r4.ebuild b/app-vim/python-mode/python-mode-0.6.18-r4.ebuild
deleted file mode 100644
index 0cfa612859c..00000000000
--- a/app-vim/python-mode/python-mode-0.6.18-r4.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-VIM_PLUGIN_MESSAGES="filetype"
-VIM_PLUGIN_HELPFILES="PythonModeCommands"
-VIM_PLUGIN_HELPURI="https://github.com/klen/python-mode"
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit python-single-r1 vim-plugin
-
-DESCRIPTION="Provide python code looking for bugs, refactoring and other useful things"
-HOMEPAGE="https://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"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="${PYTHON_DEPS}
- || (
- app-editors/vim[python,${PYTHON_USEDEP}]
- app-editors/gvim[python,${PYTHON_USEDEP}]
- )
- dev-python/astng[${PYTHON_USEDEP}]
- dev-python/autopep8[${PYTHON_USEDEP}]
- dev-python/pyflakes[${PYTHON_USEDEP}]
- dev-python/pylint[${PYTHON_USEDEP}]
- dev-python/rope[${PYTHON_USEDEP}]
- dev-python/ropemode[${PYTHON_USEDEP}]"
-
-src_prepare() {
- eapply "${FILESDIR}"/${P}-dont-add-cwd-to-syspath.patch
- eapply_user
-
- # debundling fun
- rm -rf pylibs/pylama/{pep8.py,pyflakes} pylibs/{autopep8.py}
- #rm -rf pylibs/{rope,ropemode} #475686
- sed -e 's/from .pep8/from pep8/g' \
- -e 's/from .pyflakes/from pyflakes/g' \
- -i pylibs/pylama/utils.py || die
- # there's still pylint left, I failed to debundle it :/
-
- mv pylint.ini "${T}" || die
- sed -e "s|expand(\"<sfile>:p:h:h\")|\"${EPREFIX}/usr/share/${PN}\"|" \
- -i autoload/pymode.vim || die # use custom path
-}
-
-src_install() {
- vim-plugin_src_install
- insinto usr/share/${PN}
- doins "${T}"/pylint.ini
-}
-
-pkg_postinst() {
- vim-plugin_pkg_postinst
- einfo "If you use custom pylintrc make sure you append the contents of"
- einfo " ${EPREFIX}/usr/share/${PN}/pylint.ini"
- einfo "to it. Otherwise PyLint command will not work properly."
-}
diff --git a/app-vim/python-mode/python-mode-0.9.0-r1.ebuild b/app-vim/python-mode/python-mode-0.9.0-r1.ebuild
deleted file mode 100644
index 4bb9eea27f0..00000000000
--- a/app-vim/python-mode/python-mode-0.9.0-r1.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-VIM_PLUGIN_MESSAGES="filetype"
-VIM_PLUGIN_HELPFILES="PythonModeCommands"
-VIM_PLUGIN_HELPURI="https://github.com/klen/python-mode"
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit vim-plugin python-single-r1
-
-DESCRIPTION="Provide python code looking for bugs, refactoring and other useful things"
-HOMEPAGE="https://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"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
- ${PYTHON_DEPS}
- dev-python/rope[${PYTHON_USEDEP}]
- dev-python/astng[${PYTHON_USEDEP}]
- dev-python/pylint[${PYTHON_USEDEP}]
- dev-python/pyflakes[${PYTHON_USEDEP}]
- dev-python/autopep8[${PYTHON_USEDEP}]
- dev-python/ropemode[${PYTHON_USEDEP}]"
-
-RESTRICT="test"
-
-src_prepare() {
- default
-
- sed -e "s|expand(\"<sfile>:p:h:h\")|\"${EPREFIX}/usr/share/${PN}\"|" \
- -i autoload/pymode.vim || die # use custom path
-}
-
-src_install() {
- vim-plugin_src_install
- insinto "usr/share/${PN}"
-}
-
-pkg_postinst() {
- vim-plugin_pkg_postinst
-}
diff --git a/app-vim/python-mode/python-mode-0.9.0.ebuild b/app-vim/python-mode/python-mode-0.9.0.ebuild
deleted file mode 100644
index ea6be080f04..00000000000
--- a/app-vim/python-mode/python-mode-0.9.0.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-VIM_PLUGIN_MESSAGES="filetype"
-VIM_PLUGIN_HELPFILES="PythonModeCommands"
-VIM_PLUGIN_HELPURI="https://github.com/klen/python-mode"
-
-inherit vim-plugin eutils
-
-DESCRIPTION="Provide python code looking for bugs, refactoring and other useful things"
-HOMEPAGE="https://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"
-
-RDEPEND="
- dev-python/rope
- dev-python/astng
- dev-python/pylint
- dev-python/pyflakes
- dev-python/autopep8
- dev-python/ropemode"
-
-RESTRICT="test"
-
-src_prepare() {
- default
-
- sed -e "s|expand(\"<sfile>:p:h:h\")|\"${EPREFIX}/usr/share/${PN}\"|" \
- -i autoload/pymode.vim || die # use custom path
-}
-
-src_install() {
- vim-plugin_src_install
- insinto usr/share/${PN}
-}
-
-pkg_postinst() {
- vim-plugin_pkg_postinst
-}