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: Fri, 21 Jul 2017 22:36:16
Message-Id: 1500676570.614cea5b7e5bd73013debda1ea192342ead88cb9.monsieurp@gentoo
1 commit: 614cea5b7e5bd73013debda1ea192342ead88cb9
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 21 22:35:52 2017 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 21 22:36:10 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=614cea5b
7
8 app-vim/python-mode: version bump.
9
10 Gentoo-Bug: https://bugs.gentoo.org/580676
11
12 Package-Manager: Portage-2.3.6, Repoman-2.3.1
13
14 app-vim/python-mode/Manifest | 1 +
15 app-vim/python-mode/python-mode-0.9.0.ebuild | 43 ++++++++++++++++++++++++++++
16 2 files changed, 44 insertions(+)
17
18 diff --git a/app-vim/python-mode/Manifest b/app-vim/python-mode/Manifest
19 index 015780cc231..b2af0c50214 100644
20 --- a/app-vim/python-mode/Manifest
21 +++ b/app-vim/python-mode/Manifest
22 @@ -1 +1,2 @@
23 DIST python-mode-0.6.18.tar.gz 386846 SHA256 d46ff14b7ee639b698d1b0ae0e7ca0dcfa95a315ffb25e523ae720461f399c1d SHA512 0e3159a055304443c8b15590c424ac0f4a4303e343882ff91f01f5b959274931dea83969ab1dcd19ce95894c7da5be60699d51b852dc73165a99a271feec4e64 WHIRLPOOL 1a6114999c1b832335268dd7dd3e9ebfd48ce9e35cdc7058e4a1011d3ac0aeb36df85ab52599460e449c0ee645303aca17a8ecb44533a5d137a9b904c426b1da
24 +DIST python-mode-0.9.0.tar.gz 671985 SHA256 5a6c9ea3cd8e094318cc2acbbbf1f81e37b41a67d00eedcb1a6968f8524c8e5e SHA512 03aef010a95241abf9605ca334d95a2c0b917c61aea23f794e574acd56ba5d958032975d17d1af40a5edccd90f0172783a26fc301d799fd619bfd263da685161 WHIRLPOOL 1d8f9a3a74cc6ba4ab45267dfa8366e78e313a6b8a38f66a1b7c70e0e226b1f79b5b8a162cd841666ddbf663dbbd7a9df847d2b428b80a03ecb39126d375f1d5
25
26 diff --git a/app-vim/python-mode/python-mode-0.9.0.ebuild b/app-vim/python-mode/python-mode-0.9.0.ebuild
27 new file mode 100644
28 index 00000000000..1992f3c0658
29 --- /dev/null
30 +++ b/app-vim/python-mode/python-mode-0.9.0.ebuild
31 @@ -0,0 +1,43 @@
32 +# Copyright 1999-2017 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +VIM_PLUGIN_MESSAGES="filetype"
38 +VIM_PLUGIN_HELPFILES="PythonModeCommands"
39 +VIM_PLUGIN_HELPURI="https://github.com/klen/python-mode"
40 +
41 +inherit vim-plugin eutils
42 +
43 +DESCRIPTION="Provide python code looking for bugs, refactoring and other useful things"
44 +HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=3770 https://github.com/klen/python-mode"
45 +SRC_URI="https://github.com/klen/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
46 +
47 +LICENSE="LGPL-3"
48 +KEYWORDS="~amd64 ~x86"
49 +
50 +RDEPEND="
51 + dev-python/rope
52 + dev-python/astng
53 + dev-python/pylint
54 + dev-python/pyflakes
55 + dev-python/autopep8
56 + dev-python/ropemode"
57 +
58 +RESTRICT="test"
59 +
60 +src_prepare() {
61 + default
62 +
63 + sed -e "s|expand(\"<sfile>:p:h:h\")|\"${EPREFIX}/usr/share/${PN}\"|" \
64 + -i autoload/pymode.vim || die # use custom path
65 +}
66 +
67 +src_install() {
68 + vim-plugin_src_install
69 + insinto usr/share/${PN}
70 +}
71 +
72 +pkg_postinst() {
73 + vim-plugin_pkg_postinst
74 +}