Gentoo Archives: gentoo-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] [RFC] New PROPERTIES=virtual value to identify meta-packages?
Date: Wed, 06 Aug 2008 05:15:18
Message-Id: 4899335F.1000803@gentoo.org
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Hi everyone,
5
6 I'd like you all to consider a PROPERTIES=virtual setting that
7 allows an ebuild to indicate that it installs no files and serves
8 only as a layer of dependency indirection. This will be another use
9 for the new PROPERTIES metadata variable that's already been
10 proposed to be added to the set of variables distributed via
11 ${PORTDIR}/metadata/cache/ as part of the implementation of
12 PROPERTIES=live-sources [1].
13
14 The PROPERTIES=virtual attribute is useful as a means to indicate
15 that a package costs practically nothing to install. This knowledge
16 plays a vital role in distinguishing the most optimal state, when
17 deciding which packages should be chosen to satisfy the dependencies
18 of a virtual. Knowledge of this property is what allows bug #141118
19 [2] to be solved.
20
21 In the past it was possible to infer the property represented by
22 PROPERTIES=virtual from the fact that a package was in the virtual
23 category [3]. However, a java-virtuals category [4] has since been
24 added. Also, we have some other meta-packages like kde-*-meta or
25 whatnot that could legitimately advertise this attribute.
26
27 Does this seem like a desirable way to represent the "virtual"
28 attribute? Any suggestions?
29
30 Zac
31
32 [1]
33 http://archives.gentoo.org/gentoo-dev/msg_187585c5d49b69034183719ff473710d.xml
34 [2] http://bugs.gentoo.org/show_bug.cgi?id=141118
35 [3] http://packages.gentoo.org/category/virtual
36 [4] http://packages.gentoo.org/category/java-virtuals
37 -----BEGIN PGP SIGNATURE-----
38 Version: GnuPG v2.0.9 (GNU/Linux)
39
40 iEYEARECAAYFAkiZM14ACgkQ/ejvha5XGaMCGwCeJdcO2dGeqsLyDJ8dhDquw8Hm
41 Hm0An3WdGcsKJWjt0jaxrrTDXsgBBoNW
42 =c/WK
43 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-dev] [RFC] New PROPERTIES=virtual value to identify meta-packages? Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>