Bug 158511 - dev-python/pyopengl installs documentation into wrong location
Bug#: 158511 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: python@gentoo.org Reported By: rico32@gmx.net
Component: Ebuilds
URL: 
Summary: dev-python/pyopengl installs documentation into wrong location
Keywords:  
Status Whiteboard: 
Opened: 2006-12-18 19:16 0000
Description:   Opened: 2006-12-18 19:16 0000
User-Agent:       Opera/9.02 (X11; Linux x86_64; U; en)
Build Identifier: 

Hi,
the ebuilds for dev-python/pyopengl (2.0.0.44 and 2.0.1.09) install the html/
xml documentation to the wrong location, namely the site-package directory of 
python.


Reproducible: Always

Steps to Reproduce:
1. emerge dev-python/pyopengl
2. emerge app-portage/gentoolkit
3. equery files pyopengl | grep doc

Actual Results:  
The contents of PyOpenGL-2.0.1.09/OpenGL/doc are installed to /usr/lib/
python2.4/site-packages/OpenGL/doc .

Expected Results:  
Documentation should be installed into /usr/share/doc/${P}/ .

------- Comment #1 From Andreas Niederl 2006-12-18 19:20:24 0000 -------
Created an attachment (id=104336) [details]
pyopengl-2.0.1.09-r1.ebuild.patch

Patch for pyopengl-2.0.1.09.ebuild to install the html/xml documentation under
/usr/share/doc/${P}/. Didn't find a better way than removing OpenGL/doc before
calling distutils_src_install for keeping distutils from installing doc into
/usr/lib/python2.4/site-packages.

------- Comment #2 From Lukasz Strzygowski (RETIRED) 2007-01-27 22:42:33 0000 -------
Fixed in -r1. Thanks for reporting.