Created attachment 457294 [details, diff] Example fix The man page can be generated at runtime by running `make youtube-dl.1`. I've verified that adding `emake ${PN}.1` to src_compile() and `dodoc ${PN}.1` to python_install_all() produces a correct man page, but note that this requires `pandoc` as a build dependency. I've attached an example patch to fix this issue.
please add the version in the title. net-misc/youtube-dl-2016.09.19 works fine.
The only version that does not install the man page is the old stable 2016.01.01. The newly stabilised 2016.09.19 does install the man page.
I noticed that some of the older ebuilds have ‘dodoc youtube-dl.1’ in them as well, but I'm not sure how this is supposed to work, seeing as the man page never actually gets built (‘emake youtube-dl.1’). At any rate, the -9999999.ebuild doesn't seem to contain this line to begin with one way or the other, so some sort of fix is definitely needed, at least for the ‘live’ ebuild. Perhaps the youtube-dl ‘releases’, used by the normal (versioned) ebuilds, include the generated man page already? If so, that would explain why it doesn't work for the live ebuild.