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/alternate/, app-vim/alternate/files/
Date: Sat, 25 Jun 2016 10:44:43
Message-Id: 1466849787.0dc84f69ae7a7845a053fde18cd9a9a49572952e.monsieurp@gentoo
1 commit: 0dc84f69ae7a7845a053fde18cd9a9a49572952e
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 25 10:14:53 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 25 10:16:27 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dc84f69
7
8 app-vim/alternate: EAPI 6 bump.
9
10 Package-Manager: portage-2.2.28
11
12 app-vim/alternate/alternate-2.18-r1.ebuild | 27 ++++++++++++++++++++++
13 .../files/alternate-2.18-hh-cc-alternation.patch | 4 ++--
14 2 files changed, 29 insertions(+), 2 deletions(-)
15
16 diff --git a/app-vim/alternate/alternate-2.18-r1.ebuild b/app-vim/alternate/alternate-2.18-r1.ebuild
17 new file mode 100644
18 index 0000000..9e10a92
19 --- /dev/null
20 +++ b/app-vim/alternate/alternate-2.18-r1.ebuild
21 @@ -0,0 +1,27 @@
22 +# Copyright 1999-2016 Gentoo Foundation
23 +# Distributed under the terms of the GNU General Public License v2
24 +# $Id$
25 +
26 +EAPI=6
27 +
28 +inherit vim-plugin eutils
29 +
30 +DESCRIPTION="vim plugin: quickly switch between .c and .h files"
31 +HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=31"
32 +
33 +LICENSE="alternate"
34 +KEYWORDS="alpha amd64 ia64 ~mips ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
35 +IUSE=""
36 +
37 +VIM_PLUGIN_HELPTEXT=\
38 +"This plugin provides a new :A command which will switch between a .c
39 +file and the associated .h file. There is also :AS to split windows and
40 +:AV to split windows vertiically."
41 +
42 +PATCHES=(
43 + "${FILESDIR}"/${P}-hh-cc-alternation.patch
44 +)
45 +
46 +src_prepare() {
47 + default
48 +}
49
50 diff --git a/app-vim/alternate/files/alternate-2.18-hh-cc-alternation.patch b/app-vim/alternate/files/alternate-2.18-hh-cc-alternation.patch
51 index 3ea591e..14b314a 100644
52 --- a/app-vim/alternate/files/alternate-2.18-hh-cc-alternation.patch
53 +++ b/app-vim/alternate/files/alternate-2.18-hh-cc-alternation.patch
54 @@ -1,5 +1,5 @@
55 ---- plugin/a.vim 2005-05-06 22:20:24.000000000 +0100
56 -+++ plugin/a.vim 2005-06-20 15:45:45.000000000 +0100
57 +--- a/plugin/a.vim 2005-05-06 22:20:24.000000000 +0100
58 ++++ b/plugin/a.vim 2005-06-20 15:45:45.000000000 +0100
59 @@ -57,13 +57,14 @@
60 " Mappings for C and C++
61 call <SID>AddAlternateExtensionMapping('h',"c,cpp,cxx,cc,CC")