# ChangeLog for app-vim/gentoo-syntax
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-vim/gentoo-syntax/ChangeLog,v 1.127 2011/05/03 09:34:13 grobian Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-vim/gentoo-syntax/ChangeLog,v 1.128 2012/01/10 04:37:33 radhermit Exp $
+
+*gentoo-syntax-20120109 (10 Jan 2012)
+
+ 10 Jan 2012; Tim Harder <radhermit@gentoo.org>
+ +gentoo-syntax-20120109.ebuild:
+ Version bump.
03 May 2011; Fabian Groffen <grobian@gentoo.org>
gentoo-syntax-20101212.ebuild:
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA512
DIST gentoo-syntax-20101212.tar.bz2 18927 RMD160 f17bc03506037dd1c5236ec97a3292b4a4e65f5a SHA1 a1d29bb9cc93b1307ef4c665127d4fceacfa363d SHA256 70bb59acb00a726941e43d8f99d63ee9feb9335de9eb6d36e66917f2a2d3416f
+DIST gentoo-syntax-20120109.tar.bz2 19526 RMD160 17630802e8bc1c59be9e2d37b11e7584a9c99d1d SHA1 b2d478ce3646ea8126ea9c25e5223b4d2e810744 SHA256 dabab1a569ec84286d15feb93652f044888d92c0e0c8c1f298f8dec80fcab4c5
EBUILD gentoo-syntax-20101212.ebuild 1832 RMD160 2cabb811c008a4204f0a2adef0012ba645090799 SHA1 48de6d413470fe27dc63ca6c4204ce333590136f SHA256 062df6e1ae52eba16910b0418ec989d2760139cb69bd036dbbf716d577fd0b53
-MISC ChangeLog 20048 RMD160 0904f7608b089c7de561ddd82fa8c96cb629daa3 SHA1 ddddd189433357cde4e1a7840a794ac0854474db SHA256 26a522627af3a0d7056a2411d0b41adb8ad069339c11efaa044e1bdc942e06cb
+EBUILD gentoo-syntax-20120109.ebuild 1823 RMD160 49f8b715d18105c77efa85086dc726a47812b1f1 SHA1 1c74faccd6aede4b232b5494e9d2c15aeef1eae8 SHA256 fe38e140f44df68c7f279fe97901b75f0b2279308d5b9adeacc794a666867b88
+MISC ChangeLog 20189 RMD160 892f726105f5abf4ad31db1aa219c2c0a012c0ad SHA1 d53dc569f42c356353f4358690dfa66196d1df8a SHA256 a1dbc22d6dfa12a5520bdbf3e001cc665c336ba4e0427d24a46cabe37df06805
MISC metadata.xml 466 RMD160 a8e6cb336ce41f69a23d1ed0841b81beac168835 SHA1 316e6499ef539833e15d2c630dadf18c8b46ba96 SHA256 63ef3370b3d478298382f31eb22b6d30d6f3ab4c7cfbed31e144a9dd5062326e
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (SunOS)
+Version: GnuPG v2.0.18 (GNU/Linux)
-iEYEARECAAYFAk2/zBsACgkQX3X2B8XHTonEkACfVZ1l0DxkZ089sd2X9EiebTal
-kI0AnjGLUYEehcxS4FeprVV4i7Fdw1i8
-=59TB
+iQEcBAEBCgAGBQJPC8CYAAoJEEqz6FtPBkyjHckIAKy6TCNH/v4zWjt4WrTjbxoR
+U2EraMFumGWj6DZiMLFceh1AQ4OwuP/2KSMGWD75fGStGBTQBoPbjret0zGQm7ix
+Ou/rdyM168wWvnseb42gm5zCfLfQesHWdjaHSDItF9NPaxOE4b9gVNzmEFWZOJ/2
+sa+J40h/2Bq3ElY3wCSSUCMITdjnvunmOU7eR8vqFAn+ZUF0Htu9L17F6DmSvVil
+4U0aR+cuQqmzcM0FKgc6y5nLy9JT0aPUyUhVaH5neSbHnyXjnad/N6KSyiDcfP13
+tJoO96O3pnuweHCyLQUdhiEufxcBHRT8IrxfSSCdyoBHZzvZv+asQblEV1Sqb+k=
+=O4Hr
-----END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-vim/gentoo-syntax/gentoo-syntax-20120109.ebuild,v 1.1 2012/01/10 04:37:33 radhermit Exp $
+
+EAPI=4
+
+inherit vim-plugin
+
+DESCRIPTION="vim plugin: Gentoo Ebuild, Eclass, GLEP, ChangeLog and Portage Files syntax highlighting, filetype and indent settings"
+HOMEPAGE="http://www.gentoo.org/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="vim"
+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"
+IUSE="ignore-glep31"
+
+VIM_PLUGIN_HELPFILES="gentoo-syntax"
+VIM_PLUGIN_MESSAGES="filetype"
+
+src_prepare() {
+ if use ignore-glep31 ; then
+ for f in ftplugin/*.vim ; do
+ ebegin "Removing UTF-8 rules from ${f} ..."
+ sed -i -e 's~\(setlocal fileencoding=utf-8\)~" \1~' ${f} \
+ || die "waah! bad sed voodoo. need more goats."
+ eend $?
+ done
+ fi
+}
+
+pkg_postinst() {
+ vim-plugin_pkg_postinst
+ if use ignore-glep31 1>/dev/null ; then
+ ewarn "You have chosen to disable the rules which ensure GLEP 31"
+ ewarn "compliance. When editing ebuilds, please make sure you get"
+ ewarn "the character set correct."
+ else
+ elog "Note for developers and anyone else who edits ebuilds:"
+ elog " This release of gentoo-syntax now contains filetype rules to set"
+ elog " fileencoding for ebuilds and ChangeLogs to utf-8 as per GLEP 31."
+ elog " If you find this feature breaks things, please submit a bug and"
+ elog " assign it to vim@gentoo.org. You can use the 'ignore-glep31' USE"
+ elog " flag to remove these rules."
+ fi
+ echo
+}