Tests need to be fixed.
https://github.com/gentoo/gentoo/pull/2758
Created attachment 452496 [details] elasticsearch-py-5.0.1.ebuild
Done.
Patrick, some improvements didn't make it to the repo, have you checked the ebuild please? I've opened a new PR on github. https://github.com/gentoo/gentoo/pull/3152