Gentoo Archives: gentoo-dev

From: Arun Raghavan <arunisgod@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: [RFC] Eclass for gnome-python* split
Date: Sat, 24 May 2008 20:56:44
Message-Id: c1c082b90805241356n56a44473j7dfe8b7ffb165a3a@mail.gmail.com
In Reply to: [gentoo-dev] Re: [RFC] Eclass for gnome-python* split by Christian Faulhammer
1 On Sat, May 24, 2008 at 9:02 PM, Christian Faulhammer <opfer@g.o> wrote:
2 > "Arun Raghavan" <arunisgod@×××××.com>:
3 >
4 >> Feedback and comments (and even brickbats ;)) on the eclass are
5 >> invited.
6 >
7 > * Don't install the COPYING file via the DOCS variable.
8 > * The LICENSE should be kept per ebuild in my opinion
9
10 Changes made and committed -- thanks!
11
12 There was one interesting observation while I was looking at the
13 license for the gtkspell module. gtkspell-2 is licensed GPL-2, but
14 gtkspell-3 (which is not yet released and has only recently picked up
15 a little steam upstream) is licensed LGPL-2.1. Based on this
16 gtkspell-python needs to be conditionally licensed based on which
17 version of gtkspell it is linked against (GPL-2 if against gtkspell-2,
18 LGPL-2.1 if against gtkspell-3).
19
20 Something like:
21
22 if has_version =dev-python/gtkspell-2*; then
23 LICENSE="GPL-2"
24 else
25 LICENSE="LGPL-2.1"
26 fi
27
28 There is currently *no* way to express this in an ebuild without
29 invalidating the cache. For now this is just a theoretical problem,
30 but worthy of consideration nonetheless.
31
32 Cheers!
33 --
34 Arun Raghavan
35 (http://nemesis.accosted.net)
36 v2sw5Chw4+5ln4pr6$OFck2ma4+9u8w3+1!m?l7+9GSCKi056
37 e6+9i4b8/9HTAen4+5g4/8APa2Xs8r1/2p5-8 hackerkey.com
38 --
39 gentoo-dev@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Re: [RFC] Eclass for gnome-python* split Jeroen Roovers <jer@g.o>