Despite the useflag, the current ebuild requires doc and sphinx. The useflag should be honored to build without docs. Reproducible: Always Steps to Reproduce: 1. 2. 3.despite
Created attachment 657440 [details, diff] Patch for alot-0.9.1.ebuild
Fails to run without dev-python/mock as well, but that's technically a different bug. Should be added as runtime depend.
Please attach the failing build log to this bug report, or at the very least the part that shows why the patch is required.
Hello, not sure it is a real issue because I intented it that way, to me it seems logical to have the man page available by default, and they are generated with sphinx so sphinx always needed. (I am open to talk about it) (In reply to tonemgub from comment #0) > Despite the useflag, the current ebuild requires doc and sphinx. The useflag > should be honored to build without docs. Yes this use flag control the installation of the HTML_DOCS, not the man page, but they are both generated with sphinx. (In reply to tonemgub from comment #2) > Fails to run without dev-python/mock as well, but that's technically a > different bug. Should be added as runtime depend. Yes it a BDEPEND, behind the test use flag so if you build without it, you should not need mock, if it is not working please open an other issue.
(In reply to Guillaume Seren from comment #4) > Hello, > not sure it is a real issue because I intented it that way, > to me it seems logical to have the man page available by default, > and they are generated with sphinx so sphinx always needed. > (I am open to talk about it) Thanks for the reply. To save extra space (I'm building for very minimal embedded system), I generally use a system wide -doc. This prevents installing all unneeded man pages, html docs, etc. I am used to this behavior since many other packages do it this way under the doc use flag. For example this package which does not install any manpages if -doc is set: https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-libs/ldb/ldb-2.0.12-r1.ebuild#n101
Man pages should be installed by default, one way or another (even if you have to pre-generate them and provide via SRC_URI). If it's a heavy dep, provide a USE flag to actually generate, but otherwise grab pre-generated ones. Use INSTALL_MASK as a user if you don't want them installed.
Hello, so I think we can say it is more a use-case question than a package issue, please keep me updated on how you end-up fixing that. Don't hesitate to open issue it is good to see more alot test/usage in gentoo.
Let's close this, feel free to contact me if you want to talk about it.