Gentoo Archives: gentoo-dev

From: Ian Stakenvicius <axs@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFC: l10n.eclass
Date: Fri, 20 Jul 2012 20:13:04
Message-Id: 5009BB76.6020505@gentoo.org
In Reply to: Re: [gentoo-dev] RFC: l10n.eclass by Alexandre Rostovtsev
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA256
3
4 On 20/07/12 03:48 PM, Alexandre Rostovtsev wrote:
5 > On Fri, 2012-07-20 at 20:17 +0100, Ciaran McCreesh wrote:
6 >> On Fri, 20 Jul 2012 15:15:31 -0400 Alexandre Rostovtsev
7 >> <tetromino@g.o> wrote:
8 >>>> That's sensitive to old versions ebuilds being removed from
9 >>>> the tree, so it's utterly unworkable.
10 >>>
11 >>> I do not see why you think it's unworkable. Ebuilds already
12 >>> have dependencies that can be broken by removing an old
13 >>> version; if wombat depends on foo[bar], and you removed the
14 >>> only version of foo that had bar in IUSE, you broke wombat.
15 >>> Adding special LINGUAS handling would not change the fact that
16 >>> before deleting an ebuild, you need to verify that you did not
17 >>> render other ebuilds' dependencies unsatisfiable.
18 >>
19 >> That's not how undefaulted use dependencies work. If wombat
20 >> depends upon foo[bar], it is an error if there is *any* version
21 >> of foo *ever* that doesn't have bar in IUSE_EFFECTIVE.
22 >
23 > Very odd; AFAICT neither portage nor repoman treats that situation
24 > as an error. I am guessing that this is another case where paludis
25 > does things differently?
26
27 After discussion in #-dev I would tend to agree. For instance, a dep
28 on app-cat/foo[flag(-)] resolves identically in portage to
29 app-cat/foo[flag]
30
31 (this means btw that the '(-)' only has meaning when using a negated
32 use dep, ie: app-cat/foo[-flag(-)] does something useful, otherwise
33 it doesnt)
34
35 -----BEGIN PGP SIGNATURE-----
36 Version: GnuPG v2.0.19 (GNU/Linux)
37
38 iF4EAREIAAYFAlAJu3YACgkQ2ugaI38ACPA1ngD9FVbdMb+2jw/+yj/0NIQ28mdz
39 YYmXytaoefN0NaBM4bAA/jFmkgkcvrqbtQARbHUaqfFBgJHLVlM1cjk35KE+gKMS
40 =KZJc
41 -----END PGP SIGNATURE-----