Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-vim/gentoo-syntax: ChangeLog gentoo-syntax-20120109.ebuild
Date: Tue, 10 Jan 2012 05:02:12
Message-Id: 20120110043734.150D02004B@flycatcher.gentoo.org
1 radhermit 12/01/10 04:37:34
2
3 Modified: ChangeLog
4 Added: gentoo-syntax-20120109.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.128 app-vim/gentoo-syntax/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-vim/gentoo-syntax/ChangeLog?rev=1.128&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-vim/gentoo-syntax/ChangeLog?rev=1.128&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-vim/gentoo-syntax/ChangeLog?r1=1.127&r2=1.128
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-vim/gentoo-syntax/ChangeLog,v
20 retrieving revision 1.127
21 retrieving revision 1.128
22 diff -u -r1.127 -r1.128
23 --- ChangeLog 3 May 2011 09:34:13 -0000 1.127
24 +++ ChangeLog 10 Jan 2012 04:37:33 -0000 1.128
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-vim/gentoo-syntax
27 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-vim/gentoo-syntax/ChangeLog,v 1.127 2011/05/03 09:34:13 grobian Exp $
29 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/app-vim/gentoo-syntax/ChangeLog,v 1.128 2012/01/10 04:37:33 radhermit Exp $
31 +
32 +*gentoo-syntax-20120109 (10 Jan 2012)
33 +
34 + 10 Jan 2012; Tim Harder <radhermit@g.o>
35 + +gentoo-syntax-20120109.ebuild:
36 + Version bump.
37
38 03 May 2011; Fabian Groffen <grobian@g.o>
39 gentoo-syntax-20101212.ebuild:
40
41
42
43 1.1 app-vim/gentoo-syntax/gentoo-syntax-20120109.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-vim/gentoo-syntax/gentoo-syntax-20120109.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-vim/gentoo-syntax/gentoo-syntax-20120109.ebuild?rev=1.1&content-type=text/plain
47
48 Index: gentoo-syntax-20120109.ebuild
49 ===================================================================
50 # Copyright 1999-2012 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-vim/gentoo-syntax/gentoo-syntax-20120109.ebuild,v 1.1 2012/01/10 04:37:33 radhermit Exp $
53
54 EAPI=4
55
56 inherit vim-plugin
57
58 DESCRIPTION="vim plugin: Gentoo Ebuild, Eclass, GLEP, ChangeLog and Portage Files syntax highlighting, filetype and indent settings"
59 HOMEPAGE="http://www.gentoo.org/"
60 SRC_URI="mirror://gentoo/${P}.tar.bz2"
61
62 LICENSE="vim"
63 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
64 IUSE="ignore-glep31"
65
66 VIM_PLUGIN_HELPFILES="gentoo-syntax"
67 VIM_PLUGIN_MESSAGES="filetype"
68
69 src_prepare() {
70 if use ignore-glep31 ; then
71 for f in ftplugin/*.vim ; do
72 ebegin "Removing UTF-8 rules from ${f} ..."
73 sed -i -e 's~\(setlocal fileencoding=utf-8\)~" \1~' ${f} \
74 || die "waah! bad sed voodoo. need more goats."
75 eend $?
76 done
77 fi
78 }
79
80 pkg_postinst() {
81 vim-plugin_pkg_postinst
82 if use ignore-glep31 1>/dev/null ; then
83 ewarn "You have chosen to disable the rules which ensure GLEP 31"
84 ewarn "compliance. When editing ebuilds, please make sure you get"
85 ewarn "the character set correct."
86 else
87 elog "Note for developers and anyone else who edits ebuilds:"
88 elog " This release of gentoo-syntax now contains filetype rules to set"
89 elog " fileencoding for ebuilds and ChangeLogs to utf-8 as per GLEP 31."
90 elog " If you find this feature breaks things, please submit a bug and"
91 elog " assign it to vim@g.o. You can use the 'ignore-glep31' USE"
92 elog " flag to remove these rules."
93 fi
94 echo
95 }