FS#37981 - [python-docs] PYTHONDOCS environment variable set to wrong location in PKGBUILD

Attached to Project: Community Packages
Opened by Marcin Kościelnicki (koriakin) - Monday, 02 December 2013, 15:41 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 03 December 2013, 09:31 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The PKGBUILD for python-docs sets PYTHONDOCS environment variable through /etc/profile.d to python documentation root, /usr/share/doc/python/html, while the pydoc system expects the variable to point to the Library Documentation subdirectory, /usr/share/doc/python/html/library. This causes broken links to be generated by help() function in python interpreter.

Additional info:
* package version(s): python-docs 3.3.2-1


Steps to reproduce:

$ python
Python 3.3.2 (default, Sep 6 2013, 09:30:10)
[GCC 4.8.1 20130725 (prerelease)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> help('sys')
Help on built-in module sys:

NAME
sys

MODULE REFERENCE
/usr/share/doc/python/html/sys.html

[...]

Should be: /usr/share/doc/python/html/library/sys.html
This task depends upon

Closed by  Sergej Pupykin (sergej)
Tuesday, 03 December 2013, 09:31 GMT
Reason for closing:  Fixed

Loading...