1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
On 01/23/2014 11:28 AM, Michał Górny wrote: |
5 |
> Dnia 2014-01-23, o godz. 11:24:41 Chris Reffett |
6 |
> <creffett@g.o> napisał(a): |
7 |
> |
8 |
>> After some discussion on good ways to communicate optional |
9 |
>> dependencies to users, I was shown the optfeature() function in |
10 |
>> net-misc/netctl. Gentoo contributor Andrew Hamilton and I came up |
11 |
>> with a cleaned up and expanded version of it, and I would like to |
12 |
>> add it to eutils.eclass to provide a standard way of notifying |
13 |
>> users of optional dependencies. The patch to eutils.eclass is |
14 |
>> attached. |
15 |
> |
16 |
> This was discussed already: |
17 |
> |
18 |
> http://thread.gmane.org/gmane.linux.gentoo.devel/72162 |
19 |
> |
20 |
First of all, this is a short patch for a function, not a full eclass. |
21 |
Further, people are doing this sort of thing already (printing |
22 |
messages to say "if you want support for x, install y," this is just |
23 |
making it easier to do so. Of course full support for an SDEPEND |
24 |
variable would be much better, but unless you have a patch for that |
25 |
ready to go for the next EAPI I don't see that happening anytime soon, |
26 |
so a short function in eutils seems like a reasonable choice to me. |
27 |
|
28 |
Chris Reffett |
29 |
-----BEGIN PGP SIGNATURE----- |
30 |
Version: GnuPG v2.0.22 (GNU/Linux) |
31 |
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ |
32 |
|
33 |
iKYEARECAGYFAlLhRPZfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl |
34 |
bnBncC5maWZ0aGhvcnNlbWFuLm5ldEM2NzU5RjUyMDczREJDQkVDQTBDRkE1NERC |
35 |
Nzk1QThBNDI2MTgzNTQACgkQ23laikJhg1QaawCeM3GnYAc83Czei2r1l2XHFFB4 |
36 |
sAgAn21yARrui9E+ZsNnk75UCk0j0oEp |
37 |
=VTT0 |
38 |
-----END PGP SIGNATURE----- |