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/
Date: Mon, 06 Mar 2017 11:34:05
Message-Id: 1488800038.8fa9c240f0d868b7665c6287fec9c98a00a79361.monsieurp@gentoo
1 commit: 8fa9c240f0d868b7665c6287fec9c98a00a79361
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 6 11:31:03 2017 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 6 11:33:58 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fa9c240
7
8 app-vim/alternate: install documentation.
9
10 Gentoo-Bug: https://bugs.gentoo.org/483552
11
12 Package-Manager: Portage-2.3.3, Repoman-2.3.1
13
14 app-vim/alternate/Manifest | 1 +
15 app-vim/alternate/alternate-2.18-r2.ebuild | 33 ++++++++++++++++++++++++++++++
16 2 files changed, 34 insertions(+)
17
18 diff --git a/app-vim/alternate/Manifest b/app-vim/alternate/Manifest
19 index abb5770c189..a745ca0763b 100644
20 --- a/app-vim/alternate/Manifest
21 +++ b/app-vim/alternate/Manifest
22 @@ -1 +1,2 @@
23 DIST alternate-2.18.tar.bz2 7907 SHA256 2367638f93c6ce3681a6ad6d5c83f586cd6598abd9f0b20bf02c740ac0efb59e SHA512 397d39a5c5fd186f32f3e0a1651f9b9f739899ffcfdd344e85117c4bb676d8fb8c668410754fefe8934ff1a57537387d49d115dfa17bdca896e423935840ae3f WHIRLPOOL d7635d1812b311232fcbee42d94ad9a0b86176f789d5f9336eb40d2efe5c1a2f660008b8facf5dbba8c094946a574e6b379dd7262dea4aff278c34b7cbe25ec7
24 +DIST alternate.txt 8897 SHA256 a8fb8daabeee00b7a5c22b65f76dc0758b3e5fcfb95297235ec3ce102bdc4eb3 SHA512 92b24aef5fe1fb459b4cb85ca780ae20126bc79138ac15dec652c15a89b688d40bedc00bdae8fce912c8805b24b8805e45ddbd9e6b1ec10c20e61eed11d37651 WHIRLPOOL 780ae8514b65158a4872821f6847d0186d0ccfdd8b2b232617926aa2d907fb59a7d55abfceac96118565799cf6fc14b4def15ba32c1017126f4ff9f948ae3882
25
26 diff --git a/app-vim/alternate/alternate-2.18-r2.ebuild b/app-vim/alternate/alternate-2.18-r2.ebuild
27 new file mode 100644
28 index 00000000000..53430a53691
29 --- /dev/null
30 +++ b/app-vim/alternate/alternate-2.18-r2.ebuild
31 @@ -0,0 +1,33 @@
32 +# Copyright 1999-2017 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +inherit vim-plugin
38 +
39 +DESCRIPTION="vim plugin: quickly switch between .c and .h files"
40 +HOMEPAGE="https://github.com/vim-scripts/a.vim"
41 +SRC_URI="
42 + https://github.com/vim-scripts/a.vim/archive/${PV}.tar.bz2 -> ${P}.tar.bz2
43 + http://www.vim.org/scripts/download_script.php?src_id=6347 -> ${PN}.txt
44 +"
45 +
46 +LICENSE="alternate"
47 +KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
48 +
49 +VIM_PLUGIN_HELPTEXT=\
50 +"This plugin provides a new :A command which will switch between a .c
51 +file and the associated .h file. There is also :AS to split windows and
52 +:AV to split windows vertiically."
53 +
54 +VIM_PLUGIN_HELPFILES="${PN}.txt"
55 +
56 +PATCHES=(
57 + "${FILESDIR}"/${P}-hh-cc-alternation.patch
58 +)
59 +
60 +src_prepare() {
61 + default
62 + mkdir -p "${S}/doc" || die
63 + cp "${DISTDIR}/${PN}.txt" "${S}/doc" || die
64 +}