Gentoo Archives: gentoo-dev

From: Ciaran McCreesh <ciaran.mccreesh@×××××××××××××.uk>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Ranged licenses
Date: Sat, 24 Nov 2007 15:03:25
Message-Id: 20071124150027.732f8f6b@blueyonder.co.uk
1 CRAN (like CPAN, Gems etc for GNU R) has a rather interesting way of
2 specifying licenses:
3
4 License: GPL-2
5 License: GPL (>= 2) | BSD
6 License: LGPL (>= 2.0, < 3) | Eclipse Public License
7
8 Is this something worth pinching for a future EAPI? If we go with the
9 postfix [] form for ranged deps, it'd translate into:
10
11 LICENSE="=GPL-2" (or equivalently, LICENSE="GPL[=2]")
12 LICENSE="|| ( GPL[>=2] BSD )" (or equivalently, ">=GPL-2")
13 LICENSE="|| ( LGPL[>=2&<3] Eclipse )"
14
15 One thing that would need to be decided:
16
17 LICENSE="GPL-2"
18
19 Would that require an = prefix? To simplify things, we could say that
20 *only* the postfix [] form counts for licenses...
21
22 --
23 Ciaran McCreesh

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
[gentoo-dev] Re: Ranged licenses Christian Faulhammer <opfer@g.o>