| Summary: | media-video/mpv: only depend on dev-python/docutils when required | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Stefan Valouch <stefan> |
| Component: | Current packages | Assignee: | Coacher <itumaykin+gentoo> |
| Status: | RESOLVED INVALID | ||
| Severity: | minor | CC: | gentoo, maksbotan, media-video, nikoli, proxy-maint, yngwin |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Stefan Valouch
2015-12-25 14:53:48 UTC
You are right, docutils are used for man page creation. `man make.conf` describes 'noman' feature this way: noman Do not install manpages. Please notice that there is nothing here about pulling man deps. Also to avoid pulling man deps we have to add FEATURES-conditional code in the ebuild. And there is no support for this in portage. Moreover, PMS forbids relying on FEATURES variable in ebuilds, because it is portage specific: https://dev.gentoo.org/~ulm/pms/head/pms.html#x1-168000B With all this said. I am closing this as RESOLVED INVALID. (In reply to Coacher from comment #1) > Also to avoid pulling man deps we have to add FEATURES-conditional code in > the ebuild. And there is no support for this in portage. A quick followup. There is actually `has` function (and variants)[0], so there IS support to write FEATURES-conditional code. However, the rest of my previous post still remains as it is, so this is still RESOLVED INVALID. [0]: https://devmanual.gentoo.org/function-reference/query-functions/index.html Stefan, I could hide manpage and doc build under 'minimal' USE. Would this help? Okay, makes sense. I'll simply sed that one line in that machines local overlay then, no trouble. As for "minimal", I believe it wouldn't be consistent with other "minimal"s for other ebuilds which use this flag to only install clients or a subset of the functionality, so maybe better leave it as it is. Thanks, Stefan |