1 |
On Sat, Jul 9, 2016 at 3:54 PM, Neil Bothwick <neil@××××××××××.uk> wrote: |
2 |
> I've created an ebuild for net-misc/zerotier [1]. This has a BDEP on |
3 |
> app-text/ronn, the build system uses it to create the man pages. The |
4 |
> trouble is that ronn is a Ruby program and pulls in a shedload of |
5 |
> dependencies, just to install man pages. |
6 |
> |
7 |
> It seems to me to make more sense to put pre-built man pages in |
8 |
> ${FILESDIR}/${PV} and copy them with doman. Is this considered the |
9 |
> correct or acceptable way to deal with this? |
10 |
|
11 |
In dev-libs/nanomsg, I've hidden building the docs behind the "doc" |
12 |
USE flag. nanomsg builds it docs with AsciiDoc, which also pulls in |
13 |
ruby and a bunch of stuff. Personally, I don't care that much about |
14 |
the ruby packages, but on my servers, I don't generally even need ruby |
15 |
itself, so I'd rather not install it. Since this grants the user the |
16 |
choice of how to use your package, it seems in line with Gentoo's |
17 |
principles. |
18 |
|
19 |
Cheers, |
20 |
|
21 |
Dirkjan |