From f63a254ebad10b64769cc5abbd4de35b906ad0bc Mon Sep 17 00:00:00 2001 From: Kacper Kowalik Date: Sun, 30 Jun 2013 13:48:23 +0000 Subject: Debundle most of the dependencies (Portage version: 2.2.0_alpha179/cvs/Linux x86_64, signed Manifest commit with key 895192F9) --- app-vim/python-mode/ChangeLog | 8 +++- app-vim/python-mode/python-mode-0.6.18-r1.ebuild | 53 ++++++++++++++++++++++++ app-vim/python-mode/python-mode-0.6.18.ebuild | 49 ---------------------- 3 files changed, 60 insertions(+), 50 deletions(-) create mode 100644 app-vim/python-mode/python-mode-0.6.18-r1.ebuild delete mode 100644 app-vim/python-mode/python-mode-0.6.18.ebuild (limited to 'app-vim') diff --git a/app-vim/python-mode/ChangeLog b/app-vim/python-mode/ChangeLog index 95dc8e1aaf08..01ed06e2ddb3 100644 --- a/app-vim/python-mode/ChangeLog +++ b/app-vim/python-mode/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-vim/python-mode # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-vim/python-mode/ChangeLog,v 1.6 2013/05/28 19:17:48 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-vim/python-mode/ChangeLog,v 1.7 2013/06/30 13:48:23 xarthisius Exp $ + +*python-mode-0.6.18-r1 (30 Jun 2013) + + 30 Jun 2013; Kacper Kowalik + +python-mode-0.6.18-r1.ebuild, -python-mode-0.6.18.ebuild: + Debundle most of the dependencies *python-mode-0.6.18 (28 May 2013) diff --git a/app-vim/python-mode/python-mode-0.6.18-r1.ebuild b/app-vim/python-mode/python-mode-0.6.18-r1.ebuild new file mode 100644 index 000000000000..093373650fd0 --- /dev/null +++ b/app-vim/python-mode/python-mode-0.6.18-r1.ebuild @@ -0,0 +1,53 @@ +# 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-r1.ebuild,v 1.1 2013/06/30 13:48:23 xarthisius Exp $ + +EAPI=5 + +VIM_PLUGIN_MESSAGES="filetype" +VIM_PLUGIN_HELPFILES="PythonModeCommands" +VIM_PLUGIN_HELPURI="https://github.com/klen/python-mode" + +inherit vim-plugin + +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,rope,ropemode} + 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(\":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.ebuild b/app-vim/python-mode/python-mode-0.6.18.ebuild deleted file mode 100644 index 76a7801fe8eb..000000000000 --- a/app-vim/python-mode/python-mode-0.6.18.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# 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.ebuild,v 1.1 2013/05/28 19:17:48 radhermit Exp $ - -EAPI=5 - -VIM_PLUGIN_MESSAGES="filetype" -VIM_PLUGIN_HELPFILES="PythonModeCommands" -VIM_PLUGIN_HELPURI="https://github.com/klen/python-mode" - -inherit vim-plugin - -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() { - rm -rf pylibs/{logilab,*pep8.py,pyflakes,pylint,rope,ropemode} .gitignore - mv pylint.ini "${T}" || die - sed -e "s|expand(\":p:h:h\")|\"${EPREFIX}/usr/share/${PN}\"|" \ - -i autoload/pymode.vim || die # use custom path - sed -e "s/pylibs.autopep8/autopep8/g" -i pylibs/pymode/auto.py || die - sed -e "s/pylibs.ropemode/ropemode/g" -i pylibs/ropevim.py || die -} - -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." -} -- cgit v1.2.3-65-gdbad