New version of pyrex is out. Attached ebuild plus simple patch to get it to work.
Created attachment 30536 [details] pyrex-0.9.1.1.ebuild
Created attachment 30537 [details] pyrex-0.9.1.1-gentoo.patch Simple patch. Adds "import sys" to the "setup.py" file for distutils.
Added to portage, thanks for the ebuild.