Please update HOMEPAGE and/or SRC_URI since bitbucket hg-based sites not available anymore (see #737896).
Moved to x265_git like: HOMEPAGE="http://x265.org/ https://bitbucket.org/multicoreware/x265_git/wiki/Home" SRC_URI="https://bitbucket.org/multicoreware/x265_git/downloads/${PN}_${PV}.tar.gz" But the SRC_URI is, as of the writing of this, missing 2.8 and 3.4 tarballs, so may want to migrate to: SRC_URI="https://bitbucket.org/multicoreware/${PN}_git/get/${PV}.tar.gz" If used those tarballs are slightly different so will need further updating. x265-9999 already migrated to EGIT_REPO_URI, but 2nd HOMEPAGE link is still wrong.
That bug report should block stabilization request (https://bugs.gentoo.org/729628) as the current 3.4 tar.gz is no longer available
http://x265.org/ and https://www.videolan.org/developers/x265.html and http://hg.videolan.org/x265 are not up-to-date. https://x265.org expired certificate https://bitbucket.org/multicoreware/x265_git/ is the only way to go at the moment. Please stabilize media-libs/x265-3.5 and remove 3.4!
Fixed in https://github.com/gentoo/gentoo/commit/7788f2443c1b21a25dec1b996ac7af941926cb17