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/showmarks/
Date: Fri, 02 Sep 2016 13:49:42
Message-Id: 1472824163.ce8366c34b3dc993f4a40e96136d5cd2c2c44e2b.monsieurp@gentoo
1 commit: ce8366c34b3dc993f4a40e96136d5cd2c2c44e2b
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 2 13:19:40 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 2 13:49:23 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce8366c3
7
8 app-vim/showmarks: EAPI 6 bump.
9
10 Package-Manager: portage-2.2.28
11
12 app-vim/showmarks/showmarks-2.2-r1.ebuild | 31 +++++++++++++++++++++++++++++++
13 1 file changed, 31 insertions(+)
14
15 diff --git a/app-vim/showmarks/showmarks-2.2-r1.ebuild b/app-vim/showmarks/showmarks-2.2-r1.ebuild
16 new file mode 100644
17 index 00000000..2c5da04
18 --- /dev/null
19 +++ b/app-vim/showmarks/showmarks-2.2-r1.ebuild
20 @@ -0,0 +1,31 @@
21 +# Copyright 1999-2016 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +# $Id$
24 +
25 +EAPI=6
26 +
27 +inherit vim-plugin
28 +
29 +DESCRIPTION="vim plugin: show location marks visually"
30 +HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=152"
31 +
32 +LICENSE="public-domain"
33 +KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~sparc ~x86"
34 +IUSE=""
35 +
36 +VIM_PLUGIN_HELPFILES="showmarks.txt"
37 +
38 +src_prepare() {
39 + default
40 +
41 + mkdir "${S}"/doc || die "can't make doc dir"
42 +
43 + # This plugin uses an 'automatic HelpExtractor' variant. This causes
44 + # problems for us during the unmerge. Fortunately, sed can fix this
45 + # for us.
46 + sed -e '1,/^" HelpExtractorDoc:$/d' \
47 + "${S}"/plugin/showmarks.vim > "${S}"/doc/showmarks.txt \
48 + || die "help extraction failed"
49 + sed -i -e '/^" HelpExtractor:$/,$d' "${S}"/plugin/showmarks.vim \
50 + || die "help extract remove failed"
51 +}