python-r1 fixes

https://bugs.gentoo.org/show_bug.cgi?id=484426

Also, this repo seems to be mis-synced to git.overlays.gentoo.org.