public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-dev] Ranged licenses
  @ 2007-11-29  2:48 99%           ` Ciaran McCreesh
  0 siblings, 0 replies; 1+ results
From: Ciaran McCreesh @ 2007-11-29  2:48 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 829 bytes --]

On Wed, 28 Nov 2007 18:40:27 -0800
"Robin H. Johnson" <robbat2@gentoo.org> wrote:
> I'm for ranged licenses, but I think attention needs to be paid to the
> syntax. The postfix [] form does nicely separate the version
> information from the actual license name (moreso than the traditional
> CPV atom), but the LGPL[>=2&<3] example looks to be overloading it,
> when we already have AND/OR at the higher level.
> LICENSE="|| ( Eclipse ( LGPL[>=2] LGPL[<3] ) )"
> Which is, Eclipse OR (LGPL v2 up to, but not including LGPLv3).

The ( ) form means something else for package dependencies, and so can't
be used for ranged dependencies. In particular:

    ( >=foo/bar-3 <foo-bar/4 )

will (correctly) be matched if both foo/bar-5 and foo/bar-1 are
installed, which can happen due to slots.

-- 
Ciaran McCreesh

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2007-11-24 15:00     [gentoo-dev] Ranged licenses Ciaran McCreesh
2007-11-28 19:06     ` [gentoo-dev] " Christian Faulhammer
2007-11-28 19:11       ` Ciaran McCreesh
2007-11-28 22:54         ` [gentoo-dev] " Thilo Bangert
2007-11-28 23:02           ` Ciaran McCreesh
2007-11-29  2:40             ` Robin H. Johnson
2007-11-29  2:48 99%           ` Ciaran McCreesh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox