From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-lisp+bounces-73-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1JR8Tv-0004jU-Jz
	for garchives@archives.gentoo.org; Mon, 18 Feb 2008 16:04:39 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 05AF9E0563;
	Mon, 18 Feb 2008 16:04:39 +0000 (UTC)
Received: from gv-out-0910.google.com (gv-out-0910.google.com [216.239.58.189])
	by pigeon.gentoo.org (Postfix) with ESMTP id B8D3FE0563
	for <gentoo-lisp@lists.gentoo.org>; Mon, 18 Feb 2008 16:04:38 +0000 (UTC)
Received: by gv-out-0910.google.com with SMTP id n40so189879gve.39
        for <gentoo-lisp@lists.gentoo.org>; Mon, 18 Feb 2008 08:04:37 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
        bh=0o5frbj+MOO8rZx9O+qOly3ciJ5DHFMZaxBNyALgZ6k=;
        b=mCXOfcV8tLuARmgsT+EwFOSrp4y8nF/9xQYsj7PHfWowuqFIMIcgUH2GBbl8dkAPE720e478gGofoM3RG44Gb+EyO58r3giDnQY35IgSDr7US5oE3/TZOEqgYtqZ/MmXhTvli9IJA9dnsEhvWvTZVl1/wJp2Mh5YGTQnfJnjvww=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
        b=GDoO3u3cgsgwNJtiAyBsb4P/9/sKGmhLh60FbuNUlNZx9OJRFnJIAHCOpiTehpzlNmJuwfY7zomwmu9D7b+ulNxiMd7ifgP5OijpaW1DJodJ+IcDHuu+NghfE7UYt02nejeLMva8YQQtKkpFq5KnDXUtekCuyebpPzYQQdGR9W0=
Received: by 10.143.37.20 with SMTP id p20mr4414894wfj.236.1203350676098;
        Mon, 18 Feb 2008 08:04:36 -0800 (PST)
Received: by 10.143.174.10 with HTTP; Mon, 18 Feb 2008 08:04:36 -0800 (PST)
Message-ID: <b78397880802180804m28b03d4ev3a4eb86fb8b8fb7@mail.gmail.com>
Date: Mon, 18 Feb 2008 17:04:36 +0100
From: "Leonardo Valeri Manera" <l.valerimanera@gmail.com>
To: gentoo-lisp@lists.gentoo.org
Subject: [gentoo-lisp] [announce] Chicken Egg ebuilds
Precedence: bulk
List-Post: <mailto:gentoo-lisp@lists.gentoo.org>
List-Help: <mailto:gentoo-lisp+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-lisp+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-lisp+subscribe@lists.gentoo.org>
List-Id: Gentoo Lisp mail <gentoo-lisp.gentoo.org>
X-BeenThere: gentoo-lisp@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Archives-Salt: 4951c04c-631d-407e-bfa1-d473e655667e
X-Archives-Hash: 64d68d779fe59b1d729fe6b78a89e1e9

I've completed preliminary work on an eclass and a few demo ebuilds
for installing chicken-scheme's eggs via package managers, and will be
pushing them to the gentoo-lisp overlay in a few minutes.

Testing would be greatly appreciated.

The packages live dev-chicken, if you don't like that blame hkBst, he
gave the OK ;)

The eclass automates pretty much everything regarding compilation and
testing, but it /is/ my first eclass, so please be kind; it does work
correctly with non-trivial eggs though.

Currently there are 3 optional variables that should be set before
inheriting the 'eggs' eclass:

OLD_EGGPAGE - any non-nil value will make it generate a HOMEPAGE
variable for eggs with docs haven't been ported to the wiki.
EGG_TESTABLE - enables test phase... I'm not sure if this is
necessary, but chicken-setup does make some noise if one tried to run
tests on an egg with no test phase.
NEED_CHICKEN - This might not be necessary /ever/, but I took a page
out of the elisp eclass here and decided to put it in 'just in case'.
The effect is the same.

The eclass defines the DEPEND/RDEPEND to dev-scheme/chicken, the
SRC_URI for the egg, the HOMEPAGE line, and takes care of all
compilation/installation.

Documentation is currently installed to
/usr/share/doc/chicken-eggs/${PN}... the development is fast enough
that using he version as well would mean breaking people's bookmarks
to their own filesystems every week, but if that goes against some
unbreakable rule, its easy enough to change... it would make usage of
the html docs fairly inconvenient however.

Left to the ebuild - because they would require reading a scheme file
in the egg subversion repository, or doing the same in ${S} after the
egg is unpacked - are any dependencies to other eggs, as well as
description and license.

Also, obviously, any dependencies to system packages.

Keywords should in theory be the same as those of the main chicken
package, but I'm only keywording them for x86 unstable since that's
all I can claim to have tested upon.

Cheers,
Leo
-- 
gentoo-lisp@lists.gentoo.org mailing list