Gentoo Archives: gentoo-commits

From: "Kacper Kowalik (xarthisius)" <xarthisius@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-vim/python-mode: python-mode-0.6.18-r1.ebuild ChangeLog python-mode-0.6.18.ebuild
Date: Sun, 30 Jun 2013 13:48:26
Message-Id: 20130630134823.9F0C52171C@flycatcher.gentoo.org
1 xarthisius 13/06/30 13:48:23
2
3 Modified: ChangeLog
4 Added: python-mode-0.6.18-r1.ebuild
5 Removed: python-mode-0.6.18.ebuild
6 Log:
7 Debundle most of the dependencies
8
9 (Portage version: 2.2.0_alpha179/cvs/Linux x86_64, signed Manifest commit with key 895192F9)
10
11 Revision Changes Path
12 1.7 app-vim/python-mode/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-vim/python-mode/ChangeLog?rev=1.7&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-vim/python-mode/ChangeLog?rev=1.7&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-vim/python-mode/ChangeLog?r1=1.6&r2=1.7
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-vim/python-mode/ChangeLog,v
21 retrieving revision 1.6
22 retrieving revision 1.7
23 diff -u -r1.6 -r1.7
24 --- ChangeLog 28 May 2013 19:17:48 -0000 1.6
25 +++ ChangeLog 30 Jun 2013 13:48:23 -0000 1.7
26 @@ -1,6 +1,12 @@
27 # ChangeLog for app-vim/python-mode
28 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-vim/python-mode/ChangeLog,v 1.6 2013/05/28 19:17:48 radhermit Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-vim/python-mode/ChangeLog,v 1.7 2013/06/30 13:48:23 xarthisius Exp $
31 +
32 +*python-mode-0.6.18-r1 (30 Jun 2013)
33 +
34 + 30 Jun 2013; Kacper Kowalik <xarthisius@g.o>
35 + +python-mode-0.6.18-r1.ebuild, -python-mode-0.6.18.ebuild:
36 + Debundle most of the dependencies
37
38 *python-mode-0.6.18 (28 May 2013)
39
40
41
42
43 1.1 app-vim/python-mode/python-mode-0.6.18-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-vim/python-mode/python-mode-0.6.18-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-vim/python-mode/python-mode-0.6.18-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: python-mode-0.6.18-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2013 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $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 $
53
54 EAPI=5
55
56 VIM_PLUGIN_MESSAGES="filetype"
57 VIM_PLUGIN_HELPFILES="PythonModeCommands"
58 VIM_PLUGIN_HELPURI="https://github.com/klen/python-mode"
59
60 inherit vim-plugin
61
62 DESCRIPTION="Provide python code looking for bugs, refactoring and other useful things"
63 HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=3770 https://github.com/klen/python-mode"
64 SRC_URI="https://github.com/klen/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
65
66 LICENSE="LGPL-3"
67 KEYWORDS="~amd64 ~x86"
68
69 RDEPEND="
70 dev-python/astng
71 dev-python/autopep8
72 dev-python/pyflakes
73 dev-python/pylint
74 dev-python/rope
75 dev-python/ropemode
76 "
77
78 src_prepare() {
79 # debundling fun
80 rm -rf pylibs/pylama/{pep8.py,pyflakes} pylibs/{autopep8.py,rope,ropemode}
81 sed -e 's/from .pep8/from pep8/g' \
82 -e 's/from .pyflakes/from pyflakes/g' \
83 -i pylibs/pylama/utils.py || die
84 # there's still pylint left, I failed to debundle it :/
85
86 mv pylint.ini "${T}" || die
87 sed -e "s|expand(\"<sfile>:p:h:h\")|\"${EPREFIX}/usr/share/${PN}\"|" \
88 -i autoload/pymode.vim || die # use custom path
89 }
90
91 src_install() {
92 vim-plugin_src_install
93 insinto usr/share/${PN}
94 doins "${T}"/pylint.ini
95 }
96
97 pkg_postinst() {
98 vim-plugin_pkg_postinst
99 einfo "If you use custom pylintrc make sure you append the contents of"
100 einfo " ${EPREFIX}/usr/share/${PN}/pylint.ini"
101 einfo "to it. Otherwise PyLint command will not work properly."
102 }