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 |