1 |
On Friday 01 July 2005 14:28, Dan Armak wrote: |
2 |
> On Friday 01 July 2005 12:15, Paul de Vrieze wrote: |
3 |
> > On Thursday 30 June 2005 23:11, Dan Armak wrote: |
4 |
> > > Instead of 'exit 1', qt_min_version should use die. I use that in |
5 |
> > > deprange and it does work inside $DEPEND. |
6 |
> > |
7 |
> > Wouldn't this be a good time to implement actual dependency ranges in |
8 |
> > portage. |
9 |
> |
10 |
> Wouldn't any time be a good time? :-) |
11 |
> |
12 |
> > Btw. I normally use the following hack that portage might |
13 |
> > actually be made to understand: |
14 |
> > |
15 |
> > DEPEND="<x11-libs/qt-4.0 !<x11-libs/qt-3.2.1" |
16 |
> |
17 |
> This depends on the fact that we don't actually have different-slotted |
18 |
> versions of QT <3.2.1 in portage. If we still had eg qt 2.x, this would |
19 |
> block it. So it's a temporary hack that'll only work for QT based on |
20 |
> the fact that all qt 3.x versions have the same slot. |
21 |
|
22 |
I agree. What would be necessary is next to the "||" operator an "&&" |
23 |
operator that would select a single package that has both conditions, but |
24 |
that does not restrict what is installed. |
25 |
|
26 |
Paul |
27 |
|
28 |
-- |
29 |
Paul de Vrieze |
30 |
Gentoo Developer |
31 |
Mail: pauldv@g.o |
32 |
Homepage: http://www.devrieze.net |