Calculating dependencies ...done! >>> emerge (1 of 24) dev-python/pyopengl-2.0.1.09 to / >>> md5 src_uri ;-) PyOpenGL-2.0.1.09.tar.gz >>> Unpacking source... >>> Unpacking PyOpenGL-2.0.1.09.tar.gz to /var/tmp/portage/pyopengl-2.0.1.09/work >>> Source unpacked. Traceback (most recent call last): File "setup.py", line 44, in ? from setup.togl_setup import install, build_togl File "/var/tmp/portage/pyopengl-2.0.1.09/work/PyOpenGL-2.0.1.09/setup/togl_setup.py", line 89 os.path.join(/usr/lib/, '..', '..', 'include'), ^ SyntaxError: invalid syntax !!! ERROR: dev-python/pyopengl-2.0.1.09 failed. !!! Function distutils_src_compile, Line 38, Exitcode 1 !!! compilation failed !!! If you need support, post the topmost build error, NOT this status message. The problem is in the sed patching if tcltk isn't in USE. The attached patch fixes this.
Created attachment 50719 [details, diff] pyopengl-sed.patch
My mistake. Fixed in CVS. Thanks for the diff.