From: Ciaran McCreesh Date: Sun, 21 Nov 2004 19:58:32 +0000 (+0000) Subject: New version. Changes include error highlighting for EXTRA_ECONF and cat abuse, improv... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4d8a87a11a6099f2f194eb933a1045ef5c9883cd;p=gentoo.git New version. Changes include error highlighting for EXTRA_ECONF and cat abuse, improved highlighting for ChangeLogs and package.keywords, new syntax highlighting for make.conf and a bugsummary plugin (move the cursor over a bug number and enter bug for a summary). --- diff --git a/app-vim/gentoo-syntax/ChangeLog b/app-vim/gentoo-syntax/ChangeLog index 32c8aef13cce..68589a97d508 100644 --- a/app-vim/gentoo-syntax/ChangeLog +++ b/app-vim/gentoo-syntax/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for app-vim/gentoo-syntax # Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-vim/gentoo-syntax/ChangeLog,v 1.16 2004/11/14 17:15:37 nerdboy Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-vim/gentoo-syntax/ChangeLog,v 1.17 2004/11/21 19:58:31 ciaranm Exp $ + +*gentoo-syntax-20041121 (21 Nov 2004) + + 21 Nov 2004; Ciaran McCreesh + +gentoo-syntax-20041121.ebuild: + New version. Changes include error highlighting for EXTRA_ECONF and cat + abuse, improved highlighting for ChangeLogs and package.keywords, new syntax + highlighting for make.conf and a bugsummary plugin (move the cursor over a + bug number and enter bug for a summary). 14 Nov 2004; Steve Arnold gentoo-syntax-20041009.ebuild: diff --git a/app-vim/gentoo-syntax/Manifest b/app-vim/gentoo-syntax/Manifest index 29c32c4b6ea5..7620019558c0 100644 --- a/app-vim/gentoo-syntax/Manifest +++ b/app-vim/gentoo-syntax/Manifest @@ -1,6 +1,18 @@ -MD5 2bb9cddb1b2595e6ee7f1db0615155d2 ChangeLog 2804 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 10c3b596c6fd720042927010e97d827b ChangeLog 3211 MD5 abce4f9b88424204b02e80c1174f4c1c gentoo-syntax-20041113.ebuild 1839 -MD5 9771ca4ff90b56dddc4acfadc6f6a01e metadata.xml 250 MD5 a8fcba96f97e87e500b968639f33ed99 gentoo-syntax-20041009.ebuild 649 +MD5 f5c80e20f22edcfe2e30e08177ccdf02 gentoo-syntax-20041121.ebuild 1839 +MD5 9771ca4ff90b56dddc4acfadc6f6a01e metadata.xml 250 MD5 8ae17c577573d3654205f007a4ecb6ce files/digest-gentoo-syntax-20041113 73 +MD5 aec43637a5435dc556d7e4803becaf0e files/digest-gentoo-syntax-20041121 73 MD5 af854ba426622a145f3f786c605ff98c files/digest-gentoo-syntax-20041009 73 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.2.6 (GNU/Linux) + +iD8DBQFBoPNoLLFUmVNQ7rkRAsM2AKDG0nwLU4MESiSZbmtAXeOmHWVotwCbBS37 +F67vn7h5H0HdWHgOvQizr60= +=byaD +-----END PGP SIGNATURE----- diff --git a/app-vim/gentoo-syntax/files/digest-gentoo-syntax-20041121 b/app-vim/gentoo-syntax/files/digest-gentoo-syntax-20041121 new file mode 100644 index 000000000000..46474477a1db --- /dev/null +++ b/app-vim/gentoo-syntax/files/digest-gentoo-syntax-20041121 @@ -0,0 +1 @@ +MD5 2d7923a8ba83cae18ddccbf83b8f2e87 gentoo-syntax-20041121.tar.bz2 9800 diff --git a/app-vim/gentoo-syntax/gentoo-syntax-20041121.ebuild b/app-vim/gentoo-syntax/gentoo-syntax-20041121.ebuild new file mode 100644 index 000000000000..372cbb2e20d9 --- /dev/null +++ b/app-vim/gentoo-syntax/gentoo-syntax-20041121.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-vim/gentoo-syntax/gentoo-syntax-20041121.ebuild,v 1.1 2004/11/21 19:58:32 ciaranm Exp $ + +inherit eutils vim-plugin + +DESCRIPTION="vim plugin: Gentoo Ebuild, Eclass, GLEP, ChangeLog and Portage +Files syntax highlighting, filetype and indent settings" +HOMEPAGE="http://developer.berlios.de/projects/gentoo-syntax" +LICENSE="vim" +KEYWORDS="~x86 ~sparc ~mips ~amd64 ~ppc ~ppc64 ~alpha ~ia64" +SRC_URI="http://download.berlios.de/gentoo-syntax/${P}.tar.bz2" + +# For gathering stats. Evil, I know, but I need to know whether I can +# reasonably add this package in as a PDEPEND of vim-core. -- ciaranm +RESTRICT="nomirror" + +IUSE="ignore-glep31" +VIM_PLUGIN_HELPFILES="gentoo-syntax" +VIM_PLUGIN_MESSAGES="filetype" + +src_unpack() { + unpack ${A} + cd ${S} + 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 + einfo "Note for developers and anyone else who edits ebuilds:" + einfo " This release of gentoo-syntax now contains filetype rules to set" + einfo " fileencoding for ebuilds and ChangeLogs to utf-8 as per GLEP 31." + einfo " If you find this feature breaks things, please submit a bug and" + einfo " assign it to vim@gentoo.org. You can use the 'ignore-glep31' USE" + einfo " flag to remove these rules." + fi + echo + epause 5 +} +