Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-pms
| Navigation: |
|
Lists:
gentoo-pms:
< Prev
By Thread
Next >
< Prev
By Date
Next >
|
| Headers: |
|
To:
|
Ciaran McCreesh <ciaran.mccreesh@...>
|
|
From:
|
Ulrich Mueller <ulm@g.o>
|
|
Subject:
|
Re: [PATCH] pkg_setup() can rely on packages common to DEPEND & RDEPEND.
|
|
Date:
|
Sat, 13 Aug 2011 12:10:45 +0200
|
|
>>>>> On Sat, 13 Aug 2011, Ciaran McCreesh wrote:
>> Except that large parts of the tree rely on packages in RDEPEND
>> being available in pkg_*.
> Then those packages are broken.
Welcome to reality. ;-)
>> > If there's a need for dependencies that will definitely be
>> > installed for pkg_setup, we should introduce an IDEPEND (for
>> > 'install').
>>
>> And then at some point we will have circular IDEPEND dependencies
>> and the package manager will have to break such cycles, as it does
>> for RDEPEND now.
> No, IDEPEND will simply not allow cycle breaking, in the same way as
> DEPEND. IDEPEND would be, in effect, DEPEND that is also honoured
> for binary packages.
I'm not convinced. IDEPEND would cover a very specific usage case, and
IMHO it wouldn't be so different from an intersection of DEPEND and
RDEPEND. Not different enough to justify introduction of another
variable.
Maybe package managers could introduce it as an internal variable
(containing packages common to DEPEND and RDEPEND)? And in case that
we should at some point switch to an Exherbo-style syntax for
dependencies, then it could be specified explicitly?
Ulrich
|
|