Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-vim/python-mode/
Date: Thu, 08 Oct 2015 08:55:35
Message-Id: 1444294427.d99a068f774d8e9baf402c5424ecd6dedf34c9a5.monsieurp@gentoo
1 commit: d99a068f774d8e9baf402c5424ecd6dedf34c9a5
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 8 08:53:03 2015 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 8 08:53:47 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d99a068f
7
8 app-vim/python-mode: Clean up old.
9
10 Package-Manager: portage-2.2.20.1
11 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
12
13 app-vim/python-mode/Manifest | 1 -
14 app-vim/python-mode/python-mode-0.6.10.ebuild | 51 ----------------------
15 app-vim/python-mode/python-mode-0.6.18-r2.ebuild | 54 ------------------------
16 3 files changed, 106 deletions(-)
17
18 diff --git a/app-vim/python-mode/Manifest b/app-vim/python-mode/Manifest
19 index a0ced5e..015780c 100644
20 --- a/app-vim/python-mode/Manifest
21 +++ b/app-vim/python-mode/Manifest
22 @@ -1,2 +1 @@
23 -DIST python-mode-0.6.10.tar.gz 474266 SHA256 ed97b9c260cafa38e01d1bc988e611df8a4681922e3ba4022e5ccac692b8f583 SHA512 562d91a377e783b2cf2583910f4c6b0e8530be9533b513198f5ac97e7581672f95f69e752d391d2a6ad9ac0621c967bc46c02f79fdc38d25172f14267fe27f7e WHIRLPOOL 404458e298ab3c093c031ac00cf43e66652a8054fecfb4d2c481d73a2efbb6949409545f5269bcb43f519b19a27dd8b68fb75a166dce1e78d49e1899bfe17901
24 DIST python-mode-0.6.18.tar.gz 386846 SHA256 d46ff14b7ee639b698d1b0ae0e7ca0dcfa95a315ffb25e523ae720461f399c1d SHA512 0e3159a055304443c8b15590c424ac0f4a4303e343882ff91f01f5b959274931dea83969ab1dcd19ce95894c7da5be60699d51b852dc73165a99a271feec4e64 WHIRLPOOL 1a6114999c1b832335268dd7dd3e9ebfd48ce9e35cdc7058e4a1011d3ac0aeb36df85ab52599460e449c0ee645303aca17a8ecb44533a5d137a9b904c426b1da
25
26 diff --git a/app-vim/python-mode/python-mode-0.6.10.ebuild b/app-vim/python-mode/python-mode-0.6.10.ebuild
27 deleted file mode 100644
28 index 9348671..0000000
29 --- a/app-vim/python-mode/python-mode-0.6.10.ebuild
30 +++ /dev/null
31 @@ -1,51 +0,0 @@
32 -# Copyright 1999-2012 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -# $Id$
35 -
36 -EAPI=4
37 -
38 -VIM_PLUGIN_MESSAGES="filetype"
39 -VIM_PLUGIN_HELPFILES="PythonModeCommands"
40 -VIM_PLUGIN_HELPURI="https://github.com/klen/python-mode"
41 -
42 -inherit vim-plugin vcs-snapshot
43 -
44 -DESCRIPTION="Provide python code looking for bugs, refactoring and other useful things"
45 -HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=3770 https://github.com/klen/python-mode"
46 -SRC_URI="https://github.com/klen/${PN}/tarball/${PV} -> ${P}.tar.gz"
47 -
48 -LICENSE="LGPL-3"
49 -KEYWORDS="~amd64 ~x86"
50 -IUSE=""
51 -
52 -DEPEND=""
53 -RDEPEND="
54 - dev-python/astng
55 - dev-python/autopep8
56 - dev-python/pyflakes
57 - dev-python/pylint
58 - dev-python/rope
59 - dev-python/ropemode
60 - "
61 -
62 -src_prepare() {
63 - rm -rf pylibs/{logilab,*pep8.py,pyflakes,pylint,rope,ropemode} .gitignore
64 - mv pylint.ini "${T}" || die
65 - sed -e "s|expand(\"<sfile>:p:h:h\")|\"${EPREFIX}/usr/share/${PN}\"|" \
66 - -i plugin/pymode.vim || die # use custom path
67 - sed -e "s/pylibs.autopep8/autopep8/g" -i pylibs/pymode/auto.py || die
68 - sed -e "s/pylibs.ropemode/ropemode/g" -i pylibs/ropevim.py || die
69 -}
70 -
71 -src_install() {
72 - vim-plugin_src_install
73 - insinto usr/share/${PN}
74 - doins "${T}"/pylint.ini
75 -}
76 -
77 -pkg_postinst() {
78 - vim-plugin_pkg_postinst
79 - einfo "If you use custom pylintrc make sure you append the contents of"
80 - einfo " ${EPREFIX}/usr/share/${PN}/pylint.ini"
81 - einfo "to it. Otherwise PyLint command will not work properly."
82 -}
83
84 diff --git a/app-vim/python-mode/python-mode-0.6.18-r2.ebuild b/app-vim/python-mode/python-mode-0.6.18-r2.ebuild
85 deleted file mode 100644
86 index 9f493ee..0000000
87 --- a/app-vim/python-mode/python-mode-0.6.18-r2.ebuild
88 +++ /dev/null
89 @@ -1,54 +0,0 @@
90 -# Copyright 1999-2013 Gentoo Foundation
91 -# Distributed under the terms of the GNU General Public License v2
92 -# $Id$
93 -
94 -EAPI=5
95 -
96 -VIM_PLUGIN_MESSAGES="filetype"
97 -VIM_PLUGIN_HELPFILES="PythonModeCommands"
98 -VIM_PLUGIN_HELPURI="https://github.com/klen/python-mode"
99 -
100 -inherit vim-plugin
101 -
102 -DESCRIPTION="Provide python code looking for bugs, refactoring and other useful things"
103 -HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=3770 https://github.com/klen/python-mode"
104 -SRC_URI="https://github.com/klen/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
105 -
106 -LICENSE="LGPL-3"
107 -KEYWORDS="~amd64 ~x86"
108 -
109 -RDEPEND="
110 - dev-python/astng
111 - dev-python/autopep8
112 - dev-python/pyflakes
113 - dev-python/pylint
114 - dev-python/rope
115 - dev-python/ropemode
116 - "
117 -
118 -src_prepare() {
119 - # debundling fun
120 - rm -rf pylibs/pylama/{pep8.py,pyflakes} pylibs/{autopep8.py}
121 - #rm -rf pylibs/{rope,ropemode} #475686
122 - sed -e 's/from .pep8/from pep8/g' \
123 - -e 's/from .pyflakes/from pyflakes/g' \
124 - -i pylibs/pylama/utils.py || die
125 - # there's still pylint left, I failed to debundle it :/
126 -
127 - mv pylint.ini "${T}" || die
128 - sed -e "s|expand(\"<sfile>:p:h:h\")|\"${EPREFIX}/usr/share/${PN}\"|" \
129 - -i autoload/pymode.vim || die # use custom path
130 -}
131 -
132 -src_install() {
133 - vim-plugin_src_install
134 - insinto usr/share/${PN}
135 - doins "${T}"/pylint.ini
136 -}
137 -
138 -pkg_postinst() {
139 - vim-plugin_pkg_postinst
140 - einfo "If you use custom pylintrc make sure you append the contents of"
141 - einfo " ${EPREFIX}/usr/share/${PN}/pylint.ini"
142 - einfo "to it. Otherwise PyLint command will not work properly."
143 -}