Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#22900 - [python2] manpage not included in python 2.7 package

Attached to Project: Arch Linux
Opened by Simon Malinge (Tapi) - Tuesday, 15 February 2011, 14:31 GMT
Last edited by Stéphane Gaudreault (stephane) - Wednesday, 16 February 2011, 21:09 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Allan McRae (Allan)
Stéphane Gaudreault (stephane)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Package python2 does not include its manpage.

Additional info:
* tested with python2 2.7.1-5

Steps to reproduce:
$ sudo pacman -Sy python2
[...]
$ pacman -Ql python2 | grep man/
$

Attached is a PKGBUILD patch creating a "python2.7" manpage in section 1.
This task depends upon

Closed by  Stéphane Gaudreault (stephane)
Wednesday, 16 February 2011, 21:09 GMT
Reason for closing:  Fixed
Additional comments about closing:  python2-2.7.1-6 in [extra]
Comment by Stéphane Gaudreault (stephane) - Tuesday, 15 February 2011, 21:57 GMT
As our executables are /usr/bin/python{2,2.7}, I prefer something like

# Install the manual page
install -dm755 ${pkgdir}/usr/share/man/man1/
install -m644 Misc/python.man ${pkgdir}/usr/share/man/man1/python${_pybasever}.1
ln -sf python${_pybasever}.1 ${pkgdir}/usr/share/man/man1/python2.1

and similar for the python3 pkg.

Loading...