Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88700 - python-mode-4.63-r1.ebuild does not install pycomplete.py reliably
Summary: python-mode-4.63-r1.ebuild does not install pycomplete.py reliably
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-11 04:28 UTC by dan
Modified: 2005-05-03 01:56 UTC (History)
2 users (show)

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


Attachments
new ebuild (python-mode.ebuild,978 bytes, text/plain)
2005-04-11 04:49 UTC, dan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dan 2005-04-11 04:28:48 UTC
python-mode-4.63-r1 installs the pycomplete.py file into a semi-hardcoded path: "/usr/lib/...", which is assumed to be in the system's python path. This usually works, but not on a standard OSX install for example.

I have attached a patch to the ebuild which generates a 'setup.py' file that distutils can use to install the pycomplete.py file into the correct system-wide python site-packages directory. 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 dan 2005-04-11 04:49:01 UTC
Created attachment 55975 [details]
new ebuild
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2005-04-20 08:11:55 UTC
i would suggest add the setup.py as a patch (or seperate file in FILESDIR) rather than inline in the ebuild.

handing over to emacs heard
Comment 3 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-05-03 01:56:39 UTC
Fixed in CVS (I added setup.py to FILESDIR). Thanks for the report.