* Re: [gentoo-dev] [PATCH] eutils.eclass: add optfeature() function
@ 2014-01-23 16:36 99% ` Chris Reffett
0 siblings, 0 replies; 1+ results
From: Chris Reffett @ 2014-01-23 16:36 UTC (permalink / raw
To: gentoo-dev
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 01/23/2014 11:28 AM, Michał Górny wrote:
> Dnia 2014-01-23, o godz. 11:24:41 Chris Reffett
> <creffett@gentoo.org> napisał(a):
>
>> After some discussion on good ways to communicate optional
>> dependencies to users, I was shown the optfeature() function in
>> net-misc/netctl. Gentoo contributor Andrew Hamilton and I came up
>> with a cleaned up and expanded version of it, and I would like to
>> add it to eutils.eclass to provide a standard way of notifying
>> users of optional dependencies. The patch to eutils.eclass is
>> attached.
>
> This was discussed already:
>
> http://thread.gmane.org/gmane.linux.gentoo.devel/72162
>
First of all, this is a short patch for a function, not a full eclass.
Further, people are doing this sort of thing already (printing
messages to say "if you want support for x, install y," this is just
making it easier to do so. Of course full support for an SDEPEND
variable would be much better, but unless you have a patch for that
ready to go for the next EAPI I don't see that happening anytime soon,
so a short function in eutils seems like a reasonable choice to me.
Chris Reffett
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iKYEARECAGYFAlLhRPZfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl
bnBncC5maWZ0aGhvcnNlbWFuLm5ldEM2NzU5RjUyMDczREJDQkVDQTBDRkE1NERC
Nzk1QThBNDI2MTgzNTQACgkQ23laikJhg1QaawCeM3GnYAc83Czei2r1l2XHFFB4
sAgAn21yARrui9E+ZsNnk75UCk0j0oEp
=VTT0
-----END PGP SIGNATURE-----
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2014-01-23 16:24 [gentoo-dev] [PATCH] eutils.eclass: add optfeature() function Chris Reffett
2014-01-23 16:28 ` Michał Górny
2014-01-23 16:36 99% ` Chris Reffett
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox