diff options
author | Ciaran McCreesh <ciaranm@gentoo.org> | 2005-01-06 05:17:05 +0000 |
---|---|---|
committer | Ciaran McCreesh <ciaranm@gentoo.org> | 2005-01-06 05:17:05 +0000 |
commit | 9e4243eb735265e6ce808883f5c4bcd810dc2d49 (patch) | |
tree | 94316833b120136209eede5205e16c779801a9ad /app-vim | |
parent | fixed URI (Manifest recommit) (diff) | |
download | gentoo-2-9e4243eb735265e6ce808883f5c4bcd810dc2d49.tar.gz gentoo-2-9e4243eb735265e6ce808883f5c4bcd810dc2d49.tar.bz2 gentoo-2-9e4243eb735265e6ce808883f5c4bcd810dc2d49.zip |
Bump, bug #76748
Diffstat (limited to 'app-vim')
-rw-r--r-- | app-vim/vimspell/ChangeLog | 7 | ||||
-rw-r--r-- | app-vim/vimspell/Manifest | 12 | ||||
-rw-r--r-- | app-vim/vimspell/files/digest-vimspell-1.95 | 1 | ||||
-rw-r--r-- | app-vim/vimspell/vimspell-1.95.ebuild | 59 |
4 files changed, 73 insertions, 6 deletions
diff --git a/app-vim/vimspell/ChangeLog b/app-vim/vimspell/ChangeLog index 5daa8d613827..acaf6fefc49b 100644 --- a/app-vim/vimspell/ChangeLog +++ b/app-vim/vimspell/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-vim/vimspell # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-vim/vimspell/ChangeLog,v 1.19 2005/01/01 16:56:24 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-vim/vimspell/ChangeLog,v 1.20 2005/01/06 05:17:05 ciaranm Exp $ + +*vimspell-1.95 (06 Jan 2005) + + 06 Jan 2005; Ciaran McCreesh <ciaranm@gentoo.org> +vimspell-1.95.ebuild: + Bump, bug #76748 28 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> : Change encoding to UTF-8 for GLEP 31 compliance diff --git a/app-vim/vimspell/Manifest b/app-vim/vimspell/Manifest index 8ad9cae95268..3ba4bfc0f03f 100644 --- a/app-vim/vimspell/Manifest +++ b/app-vim/vimspell/Manifest @@ -1,12 +1,14 @@ -MD5 53943ec7dc12ed8aedac59103cb4931f ChangeLog 2396 -MD5 9771ca4ff90b56dddc4acfadc6f6a01e metadata.xml 250 -MD5 729e825228035b73f2266eaafc36ed7f vimspell-1.70.ebuild 2310 MD5 3b08bffa34c4609e648f370a18bc29a1 vimspell-1.84-r1.ebuild 2478 +MD5 53943ec7dc12ed8aedac59103cb4931f ChangeLog 2396 MD5 e5837d99738147ac8bc95e7d4a4f1de4 vimspell-1.84.ebuild 2319 MD5 ffff775b7813d3f67bfc8c6971891a2f vimspell-1.84-r2.ebuild 2580 +MD5 aa355fd5f339968739bfebf5fda2408a vimspell-1.95.ebuild 2363 +MD5 729e825228035b73f2266eaafc36ed7f vimspell-1.70.ebuild 2310 +MD5 9771ca4ff90b56dddc4acfadc6f6a01e metadata.xml 250 +MD5 20fccc61346c6688affc87332b25c0e3 files/digest-vimspell-1.95 65 +MD5 520de6488ff85f36d4f694cff73dd30b files/vimspell-1.84-explorersyntax.patch 509 +MD5 7101dd811b1925b8c3eb3c8544a289c0 files/digest-vimspell-1.84-r2 65 MD5 6a4ee637c8498ba26e82c61844aa5e55 files/digest-vimspell-1.70 65 MD5 7101dd811b1925b8c3eb3c8544a289c0 files/digest-vimspell-1.84 65 MD5 7101dd811b1925b8c3eb3c8544a289c0 files/digest-vimspell-1.84-r1 65 -MD5 520de6488ff85f36d4f694cff73dd30b files/vimspell-1.84-explorersyntax.patch 509 -MD5 7101dd811b1925b8c3eb3c8544a289c0 files/digest-vimspell-1.84-r2 65 MD5 bff67b402df306aff4515298e7472816 files/vimspell-1.84-aspell-0.6.patch 6219 diff --git a/app-vim/vimspell/files/digest-vimspell-1.95 b/app-vim/vimspell/files/digest-vimspell-1.95 new file mode 100644 index 000000000000..2b3d474c1fea --- /dev/null +++ b/app-vim/vimspell/files/digest-vimspell-1.95 @@ -0,0 +1 @@ +MD5 1cca19167b06a595db303689e7481b02 vimspell-1.95.tar.bz2 19186 diff --git a/app-vim/vimspell/vimspell-1.95.ebuild b/app-vim/vimspell/vimspell-1.95.ebuild new file mode 100644 index 000000000000..8ef51eb4be7d --- /dev/null +++ b/app-vim/vimspell/vimspell-1.95.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-vim/vimspell/vimspell-1.95.ebuild,v 1.1 2005/01/06 05:17:05 ciaranm Exp $ + +inherit eutils vim-plugin + +DESCRIPTION="vim plugin: on-the-fly spell checking with aspell" +HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=465" +LICENSE="|| ( GPL-1 GPL-2 )" +KEYWORDS="~x86 ~sparc ~alpha ~ia64 ~ppc ~amd64 ~mips" +IUSE="" + +VIM_PLUGIN_HELPFILES="vimspell" + +# In theory, this plugin supports either aspell or ispell. However, +# virtual/spell has been removed by seemant in favour of just using +# app-text/aspell: +# 20:06 <@seemant> ciaranm: I think I might have removed it, come to +# think of it, because I was on a kick to get everything converted +# to aspell instead of ispell +# 20:06 <@seemant> for the simple reason that ispell blows dogs +# So we'll just force people to use aspell... +RDEPEND="$RDEPEND app-text/aspell" + +function src_unpack() { + unpack ${A} + cd ${S}/plugin + + # This plugin needs to be told which spell program to use. The default + # is hard-coded as 'ispell' in the plugin file. We can fix that with a + # bit of sed magic. + OLD_DEFAULT='s:SpellGetOption("spell_executable","ispell")' + NEW_DEFAULT='s:SpellGetOption("spell_executable","aspell")' + sed -e "s/$OLD_DEFAULT/$NEW_DEFAULT/g" \ + -i vimspell.vim || die "default setting fix failed" + + # This plugin also tries to install its own documentation automatically + # upon load. This breaks emerge unmerge, so we'll install the docs + # manually. + mkdir ${S}/doc || die + cd ${S}/doc + cp ${S}/plugin/vimspell.vim vimspell.txt + + sed -e "1,/^=== \+START_DOC/d" \ + -e "/^=== \+END_DOC/,\$d" \ + -e "s/{{{[1-9]/ /g" \ + -e "s/#version#/v${PV}/g" \ + -i vimspell.txt || die "docs failed" + echo -ne "\n vim:tw=78:ts=8:ft=help:norl:\n" >> vimspell.txt + + # Unfortunately, there's a rather large logic error in the documentation + # installation code. If vim can't write to /usr/share/vim/vimfiles/doc/ + # then the plugin will try to install a copy of the docs locally, even if + # the global directory has an up-to-date copy. To get around this we'll + # make the SpellInstallDocumentation function do nothing. + cd ${S}/plugin + sed -e "/^function! s:SpellInstallDocumentation/a\ return 0" \ + -i vimspell.vim || die "install fix failed" +} |