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