1 |
I've completed preliminary work on an eclass and a few demo ebuilds |
2 |
for installing chicken-scheme's eggs via package managers, and will be |
3 |
pushing them to the gentoo-lisp overlay in a few minutes. |
4 |
|
5 |
Testing would be greatly appreciated. |
6 |
|
7 |
The packages live dev-chicken, if you don't like that blame hkBst, he |
8 |
gave the OK ;) |
9 |
|
10 |
The eclass automates pretty much everything regarding compilation and |
11 |
testing, but it /is/ my first eclass, so please be kind; it does work |
12 |
correctly with non-trivial eggs though. |
13 |
|
14 |
Currently there are 3 optional variables that should be set before |
15 |
inheriting the 'eggs' eclass: |
16 |
|
17 |
OLD_EGGPAGE - any non-nil value will make it generate a HOMEPAGE |
18 |
variable for eggs with docs haven't been ported to the wiki. |
19 |
EGG_TESTABLE - enables test phase... I'm not sure if this is |
20 |
necessary, but chicken-setup does make some noise if one tried to run |
21 |
tests on an egg with no test phase. |
22 |
NEED_CHICKEN - This might not be necessary /ever/, but I took a page |
23 |
out of the elisp eclass here and decided to put it in 'just in case'. |
24 |
The effect is the same. |
25 |
|
26 |
The eclass defines the DEPEND/RDEPEND to dev-scheme/chicken, the |
27 |
SRC_URI for the egg, the HOMEPAGE line, and takes care of all |
28 |
compilation/installation. |
29 |
|
30 |
Documentation is currently installed to |
31 |
/usr/share/doc/chicken-eggs/${PN}... the development is fast enough |
32 |
that using he version as well would mean breaking people's bookmarks |
33 |
to their own filesystems every week, but if that goes against some |
34 |
unbreakable rule, its easy enough to change... it would make usage of |
35 |
the html docs fairly inconvenient however. |
36 |
|
37 |
Left to the ebuild - because they would require reading a scheme file |
38 |
in the egg subversion repository, or doing the same in ${S} after the |
39 |
egg is unpacked - are any dependencies to other eggs, as well as |
40 |
description and license. |
41 |
|
42 |
Also, obviously, any dependencies to system packages. |
43 |
|
44 |
Keywords should in theory be the same as those of the main chicken |
45 |
package, but I'm only keywording them for x86 unstable since that's |
46 |
all I can claim to have tested upon. |
47 |
|
48 |
Cheers, |
49 |
Leo |
50 |
-- |
51 |
gentoo-lisp@l.g.o mailing list |