Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158511 - dev-python/pyopengl installs documentation into wrong location
Summary: dev-python/pyopengl installs documentation into wrong location
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-18 19:16 UTC by Andreas Niederl
Modified: 2007-01-27 22:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
pyopengl-2.0.1.09-r1.ebuild.patch (pyopengl-2.0.1.09-r1.ebuild.patch,380 bytes, patch)
2006-12-18 19:20 UTC, Andreas Niederl
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Niederl 2006-12-18 19:16:05 UTC
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 Andreas Niederl 2006-12-18 19:20:24 UTC
Created attachment 104336 [details, diff]
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 Lukasz Strzygowski (RETIRED) gentoo-dev 2007-01-27 22:42:33 UTC
Fixed in -r1. Thanks for reporting.