Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Eclass for prime numbers
Date: Sun, 12 Feb 2006 17:56:49
Message-Id: 200602121252.14250.vapier@gentoo.org
In Reply to: [gentoo-dev] Eclass for prime numbers by Michael Hanselmann
1 On Sunday 12 February 2006 12:22, Michael Hanselmann wrote:
2 > For an ebuild I'm working on, I need a function to test wether a number
3 > is a prime number. For that, I wrote an Eclass you find attached to this
4 > e-mail. Can this be commited?
5
6 i cant really see how this would be useful to anything, but i guess you found
7 something :p
8
9 also, your eclass has bugs, remove these three lines completely:
10 ECLASS="prime"
11 INHERITED="$INHERITED $ECLASS"
12 EXPORT_FUNCTIONS primes is_prime
13 -mike
14 --
15 gentoo-dev@g.o mailing list