Bump, bug #76748
authorCiaran McCreesh <ciaranm@gentoo.org>
Thu, 6 Jan 2005 05:17:05 +0000 (05:17 +0000)
committerCiaran McCreesh <ciaranm@gentoo.org>
Thu, 6 Jan 2005 05:17:05 +0000 (05:17 +0000)
app-vim/vimspell/ChangeLog
app-vim/vimspell/Manifest
app-vim/vimspell/files/digest-vimspell-1.95 [new file with mode: 0644]
app-vim/vimspell/vimspell-1.95.ebuild [new file with mode: 0644]

index 5daa8d613827d8ead547bf6c1c2f28bcd94b6827..acaf6fefc49b69d20ddebbfac65b7da4b7d8ad5c 100644 (file)
@@ -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
index 8ad9cae95268dc38c9191bb4c7d03eb5fd58e36b..29cd71ae425ac79272688c6124c65cc974f6b7c7 100644 (file)
@@ -1,12 +1,24 @@
-MD5 53943ec7dc12ed8aedac59103cb4931f ChangeLog 2396
-MD5 9771ca4ff90b56dddc4acfadc6f6a01e metadata.xml 250
-MD5 729e825228035b73f2266eaafc36ed7f vimspell-1.70.ebuild 2310
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 MD5 3b08bffa34c4609e648f370a18bc29a1 vimspell-1.84-r1.ebuild 2478
+MD5 4f23e26f88034cb737d70e5aeda73482 ChangeLog 2518
 MD5 e5837d99738147ac8bc95e7d4a4f1de4 vimspell-1.84.ebuild 2319
 MD5 ffff775b7813d3f67bfc8c6971891a2f vimspell-1.84-r2.ebuild 2580
+MD5 26d265b087eb144a17f256aaf6a01b0e vimspell-1.95.ebuild 2357
+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
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.6 (GNU/Linux)
+
+iD8DBQFB3MoMLLFUmVNQ7rkRAmf4AJ9jfK7+QFkPHOCn9hTtf1JDsWNEGACgx4QU
+n5zi8phZ+e9c42PR425ss0k=
+=WXEf
+-----END PGP SIGNATURE-----
diff --git a/app-vim/vimspell/files/digest-vimspell-1.95 b/app-vim/vimspell/files/digest-vimspell-1.95
new file mode 100644 (file)
index 0000000..2b3d474
--- /dev/null
@@ -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 (file)
index 0000000..8ef51eb
--- /dev/null
@@ -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"
+}