summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cummings <mcummings@gentoo.org>2007-03-12 16:58:17 +0000
committerMichael Cummings <mcummings@gentoo.org>2007-03-12 16:58:17 +0000
commit8ee51fc837076d11eded29d178a789c9fe69d5f3 (patch)
tree7d3546b8c520adafa0e7d6d396fa99afe9a484b9 /dev-perl/Snowball-Norwegian
parentVersion bump to capture change for collision-protect (diff)
downloadgentoo-2-8ee51fc837076d11eded29d178a789c9fe69d5f3.tar.gz
gentoo-2-8ee51fc837076d11eded29d178a789c9fe69d5f3.tar.bz2
gentoo-2-8ee51fc837076d11eded29d178a789c9fe69d5f3.zip
Version bump to capture change for collision-protect
(Portage version: 2.1.2.1)
Diffstat (limited to 'dev-perl/Snowball-Norwegian')
-rw-r--r--dev-perl/Snowball-Norwegian/ChangeLog8
-rw-r--r--dev-perl/Snowball-Norwegian/Snowball-Norwegian-1.0-r1.ebuild41
-rw-r--r--dev-perl/Snowball-Norwegian/Snowball-Norwegian-1.0.ebuild26
-rw-r--r--dev-perl/Snowball-Norwegian/files/digest-Snowball-Norwegian-1.0-r13
4 files changed, 75 insertions, 3 deletions
diff --git a/dev-perl/Snowball-Norwegian/ChangeLog b/dev-perl/Snowball-Norwegian/ChangeLog
index 39daeafe18a6..5dbd26df12c0 100644
--- a/dev-perl/Snowball-Norwegian/ChangeLog
+++ b/dev-perl/Snowball-Norwegian/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-perl/Snowball-Norwegian
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/Snowball-Norwegian/ChangeLog,v 1.11 2007/01/19 15:45:42 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Snowball-Norwegian/ChangeLog,v 1.12 2007/03/12 16:58:17 mcummings Exp $
+
+*Snowball-Norwegian-1.0-r1 (12 Mar 2007)
+
+ 12 Mar 2007; Michael Cummings <mcummings@gentoo.org>
+ Snowball-Norwegian-1.0.ebuild, +Snowball-Norwegian-1.0-r1.ebuild:
+ Version bump to capture change for collision-protect
19 Jan 2007; Michael Cummings <mcummings@gentoo.org>
Snowball-Norwegian-1.0.ebuild:
diff --git a/dev-perl/Snowball-Norwegian/Snowball-Norwegian-1.0-r1.ebuild b/dev-perl/Snowball-Norwegian/Snowball-Norwegian-1.0-r1.ebuild
new file mode 100644
index 000000000000..d3de5530cb2b
--- /dev/null
+++ b/dev-perl/Snowball-Norwegian/Snowball-Norwegian-1.0-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-Norwegian/Snowball-Norwegian-1.0-r1.ebuild,v 1.1 2007/03/12 16:58:17 mcummings Exp $
+
+inherit perl-module multilib
+
+DESCRIPTION="Porters stemming algorithm for Norwegian"
+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/no-stemmer.pl
+ fi
+}
+
+pkg_postinst() {
+ perl-module_pkg_postinst
+ elog "The stemmer.pl that ships with this distribution has been renamed to"
+ elog "no-stemmer.pl to avoid collisions with other Lingua::Stem packages."
+}
diff --git a/dev-perl/Snowball-Norwegian/Snowball-Norwegian-1.0.ebuild b/dev-perl/Snowball-Norwegian/Snowball-Norwegian-1.0.ebuild
index 8d85ee7aa9f7..b3b7a1696d11 100644
--- a/dev-perl/Snowball-Norwegian/Snowball-Norwegian-1.0.ebuild
+++ b/dev-perl/Snowball-Norwegian/Snowball-Norwegian-1.0.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-Norwegian/Snowball-Norwegian-1.0.ebuild,v 1.10 2007/01/19 15:45:42 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Snowball-Norwegian/Snowball-Norwegian-1.0.ebuild,v 1.11 2007/03/12 16:58:17 mcummings Exp $
-inherit perl-module
+inherit perl-module multilib
DESCRIPTION="Porters stemming algorithm for Norwegian"
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/no-stemmer.pl
+ fi
+}
+
+pkg_postinst() {
+ perl-module_pkg_postinst
+ elog "The stemmer.pl that ships with this distribution has been renamed to"
+ elog "no-stemmer.pl to avoid collisions with other Lingua::Stem packages."
+}
diff --git a/dev-perl/Snowball-Norwegian/files/digest-Snowball-Norwegian-1.0-r1 b/dev-perl/Snowball-Norwegian/files/digest-Snowball-Norwegian-1.0-r1
new file mode 100644
index 000000000000..443b6509826f
--- /dev/null
+++ b/dev-perl/Snowball-Norwegian/files/digest-Snowball-Norwegian-1.0-r1
@@ -0,0 +1,3 @@
+MD5 71f71bb370b22f5c02b3e4a32b9f8998 Snowball-Norwegian-1.0.tar.gz 127194
+RMD160 7fc5f94de01f55aff91ecdcb9f7d598ca0d063bc Snowball-Norwegian-1.0.tar.gz 127194
+SHA256 a226a02593ecc105ca0e4e4c0dd207ca2a9a703605a04142f803801910b6be3b Snowball-Norwegian-1.0.tar.gz 127194