Community Packages

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#16594 - [docutils] remove .py extensions scripts

Attached to Project: Community Packages
Opened by Peter Bui (pnutzh4x0r) - Monday, 12 October 2009, 19:26 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 13 October 2009, 13:20 GMT
Task Type Feature Request
Category
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:

Scripts in docutils package contain .py extensions. Most other distros remove these extensions. I would like for arch's package also to remove them to make things like Makefiles cross-distro compatible.

Additional info:

* Currently in docutils 0.5-3, scripts such as rst2html have the .py extension, so they are in the filesystem as:
/usr/bin/rst2html.py

I'm proposing to strip the .py extensions in the PKGBUILD.


Steps to reproduce:

pacman -Ql docutils

I currently do this by rolling my own docutils package with the following lines:

for f in $startdir/pkg/usr/bin/*.py; do
mv $f $startdir/pkg/usr/bin/$(basename $f .py)
done

This strips the extensions from all the rst2* scripts, which most other distributions do. I've attached the full PKGBUILD.


   PKGBUILD (0.8 KiB)
This task depends upon

Closed by  Sergej Pupykin (sergej)
Tuesday, 13 October 2009, 13:20 GMT
Reason for closing:  Fixed

Loading...