summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-perl/Snowball-Swedish/ChangeLog8
-rw-r--r--dev-perl/Snowball-Swedish/Snowball-Swedish-1.01-r1.ebuild41
-rw-r--r--dev-perl/Snowball-Swedish/Snowball-Swedish-1.01.ebuild26
-rw-r--r--dev-perl/Snowball-Swedish/files/digest-Snowball-Swedish-1.01-r13
4 files changed, 75 insertions, 3 deletions
diff --git a/dev-perl/Snowball-Swedish/ChangeLog b/dev-perl/Snowball-Swedish/ChangeLog
index cd441227aade..30e67c204d9e 100644
--- a/dev-perl/Snowball-Swedish/ChangeLog
+++ b/dev-perl/Snowball-Swedish/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-perl/Snowball-Swedish
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/Snowball-Swedish/ChangeLog,v 1.10 2007/01/19 15:45:59 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Snowball-Swedish/ChangeLog,v 1.11 2007/03/12 16:58:24 mcummings Exp $
+
+*Snowball-Swedish-1.01-r1 (12 Mar 2007)
+
+ 12 Mar 2007; Michael Cummings <mcummings@gentoo.org>
+ Snowball-Swedish-1.01.ebuild, +Snowball-Swedish-1.01-r1.ebuild:
+ Version bump to capture change for collision-protect
19 Jan 2007; Michael Cummings <mcummings@gentoo.org>
Snowball-Swedish-1.01.ebuild:
diff --git a/dev-perl/Snowball-Swedish/Snowball-Swedish-1.01-r1.ebuild b/dev-perl/Snowball-Swedish/Snowball-Swedish-1.01-r1.ebuild
new file mode 100644
index 000000000000..5323f020235d
--- /dev/null
+++ b/dev-perl/Snowball-Swedish/Snowball-Swedish-1.01-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Snowball-Swedish/Snowball-Swedish-1.01-r1.ebuild,v 1.1 2007/03/12 16:58:24 mcummings Exp $
+
+inherit perl-module multilib
+
+DESCRIPTION="Porters stemming algorithm for Swedish"
+HOMEPAGE="http://search.cpan.org/~asksh/"
+SRC_URI="mirror://cpan/authors/id/A/AS/ASKSH/${P}.tar.gz"
+
+LICENSE="Artistic"
+SLOT="0"
+KEYWORDS="amd64 ia64 ~ppc sparc x86"
+IUSE=""
+
+SRC_TEST="do"
+
+
+DEPEND="dev-lang/perl"
+
+src_install() {
+ perl-module_src_install
+ local version
+ eval `perl '-V:version'`
+ perl_version=${version}
+ local myarch
+ eval `perl '-V:archname'`
+ myarch=${archname}
+
+ if [ -f ${D}/usr/$(get_libdir)/perl5/vendor_perl/${perl_version}/Lingua/Stem/Snowball/stemmer.pl ]; then
+ mv \
+ ${D}/usr/$(get_libdir)/perl5/vendor_perl/${perl_version}/Lingua/Stem/Snowball/stemmer.pl \
+ ${D}/usr/$(get_libdir)/perl5/vendor_perl/${perl_version}/Lingua/Stem/Snowball/se-stemmer.pl
+ fi
+}
+
+pkg_postinst() {
+ perl-module_pkg_postinst
+ elog "The stemmer.pl that ships with this distribution has been renamed to"
+ elog "se-stemmer.pl to avoid collisions with other Lingua::Stem packages."
+}
diff --git a/dev-perl/Snowball-Swedish/Snowball-Swedish-1.01.ebuild b/dev-perl/Snowball-Swedish/Snowball-Swedish-1.01.ebuild
index adce5b2d08da..1a6d5124fad0 100644
--- a/dev-perl/Snowball-Swedish/Snowball-Swedish-1.01.ebuild
+++ b/dev-perl/Snowball-Swedish/Snowball-Swedish-1.01.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/Snowball-Swedish/Snowball-Swedish-1.01.ebuild,v 1.10 2007/01/19 15:45:59 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Snowball-Swedish/Snowball-Swedish-1.01.ebuild,v 1.11 2007/03/12 16:58:24 mcummings Exp $
-inherit perl-module
+inherit perl-module multilib
DESCRIPTION="Porters stemming algorithm for Swedish"
HOMEPAGE="http://search.cpan.org/~asksh/"
@@ -17,3 +17,25 @@ SRC_TEST="do"
DEPEND="dev-lang/perl"
+
+src_install() {
+ perl-module_src_install
+ local version
+ eval `perl '-V:version'`
+ perl_version=${version}
+ local myarch
+ eval `perl '-V:archname'`
+ myarch=${archname}
+
+ if [ -f ${D}/usr/$(get_libdir)/perl5/vendor_perl/${perl_version}/Lingua/Stem/Snowball/stemmer.pl ]; then
+ mv \
+ ${D}/usr/$(get_libdir)/perl5/vendor_perl/${perl_version}/Lingua/Stem/Snowball/stemmer.pl \
+ ${D}/usr/$(get_libdir)/perl5/vendor_perl/${perl_version}/Lingua/Stem/Snowball/se-stemmer.pl
+ fi
+}
+
+pkg_postinst() {
+ perl-module_pkg_postinst
+ elog "The stemmer.pl that ships with this distribution has been renamed to"
+ elog "se-stemmer.pl to avoid collisions with other Lingua::Stem packages."
+}
diff --git a/dev-perl/Snowball-Swedish/files/digest-Snowball-Swedish-1.01-r1 b/dev-perl/Snowball-Swedish/files/digest-Snowball-Swedish-1.01-r1
new file mode 100644
index 000000000000..9acec7e54bba
--- /dev/null
+++ b/dev-perl/Snowball-Swedish/files/digest-Snowball-Swedish-1.01-r1
@@ -0,0 +1,3 @@
+MD5 59c1b9f82422e27846e2e50db2f8a9a7 Snowball-Swedish-1.01.tar.gz 175939
+RMD160 916e77e4b055b71afa0f4c6fed78318576ce8845 Snowball-Swedish-1.01.tar.gz 175939
+SHA256 8f311daeb872c2fb7eec6f7fd9a047216f20a7898687e0727e4bfdc2085bc4b7 Snowball-Swedish-1.01.tar.gz 175939