diff options
author | 2014-05-02 21:57:04 -0700 | |
---|---|---|
committer | 2014-05-02 21:57:04 -0700 | |
commit | cd4ba84da238f580b9385f3bd2bbc7f227b63a2c (patch) | |
tree | 1ca241e1b3d5b8efcd17056f6124f2c5fe5091ce | |
parent | add vim-gitgutter 9999 since upstream doesn't do releases (diff) | |
download | chutzpah-cd4ba84da238f580b9385f3bd2bbc7f227b63a2c.tar.gz chutzpah-cd4ba84da238f580b9385f3bd2bbc7f227b63a2c.tar.bz2 chutzpah-cd4ba84da238f580b9385f3bd2bbc7f227b63a2c.zip |
app-vim/python-mode: add version bumped python-mode package
-rw-r--r-- | app-vim/python-mode/Manifest | 2 | ||||
-rw-r--r-- | app-vim/python-mode/python-mode-0.7.8b.ebuild | 49 |
2 files changed, 51 insertions, 0 deletions
diff --git a/app-vim/python-mode/Manifest b/app-vim/python-mode/Manifest new file mode 100644 index 0000000..c335c22 --- /dev/null +++ b/app-vim/python-mode/Manifest @@ -0,0 +1,2 @@ +DIST python-mode-0.7.8b.tar.gz 544231 SHA256 bd08a19b7cd2ebd6dd30784dc38ed60cbc8789a4084eb3b78c8ee816f7641f3a SHA512 b8df199ccc8c373c60ed11837e5021e0b3dfcd065c8f25dfa04c9a65aa9ff0526ea775cbb17911dddb0a5d55ca3ab09dae6c647b1573cb47f4153a486fac117e WHIRLPOOL bb704c0c09a95d84cd7ab5b1c9587ab37503f8e96045005841ec1d03b08bc4b53a6dc825ff8b5a4045f138202121ff553f3841bef529b2c9fe53363ea76647b7 +EBUILD python-mode-0.7.8b.ebuild 1400 SHA256 04431b4bc9a0024aa5dc9fb41060998dc04341fb0624e776179b60a99a04a2c6 SHA512 95e1c11c938a354cb94877f4be1b0a0f2fecf40670b4de6b22b9d18dcf52be3cbe241714f6f92e142309d1905ccf0e23877b62db92f0add0c6b274283a2cef3d WHIRLPOOL ab11e7fd8929a93dddc857eaf9a0151113eaaa338907130dd4b6fe5602bd88d2cac5670e8e8524257e8cc2ac8d7fe49fcc3ccfe61d337689941ea16c3e63ceb7 diff --git a/app-vim/python-mode/python-mode-0.7.8b.ebuild b/app-vim/python-mode/python-mode-0.7.8b.ebuild new file mode 100644 index 0000000..033aa26 --- /dev/null +++ b/app-vim/python-mode/python-mode-0.7.8b.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-vim/python-mode/python-mode-0.6.18-r3.ebuild,v 1.3 2013/11/24 13:48:53 ago Exp $ + +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="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" + +RDEPEND=" + dev-python/astng + dev-python/autopep8 + dev-python/pyflakes + dev-python/pylint + dev-python/rope + dev-python/ropemode + " + +src_prepare() { + # 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 pymode/libs/pylama/lint/pylama_pep8/__init__.py || die + # there's still pylint left, I failed to debundle it :/ + + 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 +} |