Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 147655

Summary: ebuild for perl module: String-Approx
Product: Gentoo Linux Reporter: Robert S <robert.spam.me.senseless>
Component: New packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED FIXED    
Severity: enhancement CC: egore, jabapi
Priority: High Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: Other   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: perl-core/String-Approx-3.26

Description Robert S 2006-09-15 00:01:59 UTC
I recently created this ebuild.  Its required to install the FuzzyOcrPlugin spamassassin module.  I've tested it on amd64.

Its simple stuff but somebody might find this useful.

$ cat /usr/local/portage/dev-perl/String-Approx/String-Approx-3.26.ebuild
inherit perl-module
DESCRIPTION="Perl extension for approximate matching (fuzzy matching)"
HOMEPAGE="http://search.cpan.org/search?query=${PN}"
SRC_URI="mirror://cpan/authors/id/J/JH/JHI/${P}.tar.gz"
LICENSE="Artistic"
SLOT="0"
KEYWORDS="amd64"
IUSE=""
SRC_TEST="do"
DEPEND="dev-lang/perl"
RDEPEND="${DEPEND}"
Comment 1 Christoph Brill (egore) (RESIGNED) 2006-11-12 14:28:24 UTC
Created attachment 101784 [details]
perl-core/String-Approx-3.26

Another approach of String-Approx, based on Digest-MD5.
Comment 2 Janne Pikkarainen 2006-11-28 23:59:22 UTC
The current String-Approx module in Portage is keyworded only ~amd64. Why is that? I modified the build to be ~amd64 ~x86 keyworded, and it installed & worked fine on my server. My use case was also FuzzyOCR SpamAssassin module.
Comment 3 Robert S 2006-11-29 01:13:31 UTC
I agree with your choice of "~x86 ~amd64".  I've been using it on my amd64 machine and was too lazy to summon up the energy to enter the extra keystrokes.  Come to think of it I've also installed it on my x86 machine and it works fine.  You're also right that ebuilds in bugzilla should be keyworded "~".
Comment 4 Michael Cummings (RETIRED) gentoo-dev 2007-01-09 12:58:52 UTC
closing since it's in portage. if you need it keyworded for an arch, take it up with the arch.