Created attachment 397296 [details, diff] diff -u patch dev-vcs/mercurial-server inherits distutils and requires a conversion to the new eclass and EAPI upgrade. Patches to be committed if there is no response in 2 weeks." DISTUTILS_SINGLE_IMPL=1 is optional. It's python2_7 only so it's quite apt. distutils_src_install --install-scripts="/usr/share/${PN}" from mercurial-server-1.2.ebuild installs scripts into /usr/share/. We have no idea what's going on here. This patched ebuild installs them into the usual location. Correct at your leisure. mercurial-server-9999.ebuild will require similar treatment. Please purge old versions 1.2 & 1.2 post conversion.
*** Bug 435266 has been marked as a duplicate of this bug. ***
commit 3a6bd2277d50ef53eb50676b0749d3bce91277dd Author: Michał Górny <mgorny@gentoo.org> AuthorDate: Fri Feb 17 15:40:21 2017 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: Fri Feb 17 15:47:26 2017 dev-vcs/mercurial-server: distutils-r1, EAPI=6