Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 152282

Summary: Patch for cheetah to lay a .egg - dev-python/cheetah-2.0_rc6.ebuild
Product: Gentoo Linux Reporter: Tim Cera <tim>
Component: New packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED WONTFIX    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.cheetahtemplate.org/
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 54161, 130866    
Attachments: Edited dev-python/cheetah-2.0_rc6.ebuild
diff against original ebuild
files/cheetah-2.0rc6.diff

Description Tim Cera 2006-10-21 11:29:56 UTC
Currently dev-python/cheetah-2.0_rc6 doesn't lay a .egg which means that ez_setup/.egg packages that depends on cheetah, like paste and turbogears don't find cheetah whether it is installed or not.

All that has to be done is to add the 'ez_setup.py' file and a few lines to the 'setup.py'.  I did this all from a patch file.
Comment 1 Tim Cera 2006-10-21 11:31:50 UTC
Created attachment 100149 [details]
Edited dev-python/cheetah-2.0_rc6.ebuild
Comment 2 Tim Cera 2006-10-21 11:34:51 UTC
Created attachment 100150 [details, diff]
diff against original ebuild
Comment 3 Tim Cera 2006-10-21 11:36:17 UTC
Created attachment 100151 [details, diff]
files/cheetah-2.0rc6.diff
Comment 4 Tim Cera 2006-10-21 11:38:59 UTC
(In reply to comment #0)
> All that has to be done is to add the 'ez_setup.py' file and a few lines to the
> 'setup.py'.  I did this all from a patch file.

Actually, there is already an 'ez_setup.py' so the patch just adds the lines to 'setup.py'.

Comment 5 Tim Cera 2006-11-19 18:38:58 UTC
I now get around this problem by removing the 'requires.txt' when installing python code that uses setuptools (for example 'paste' and 'turbogears').  In Gentoo the ebuild should specify the dependencies, not setuptools.