Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152282 - Patch for cheetah to lay a .egg - dev-python/cheetah-2.0_rc6.ebuild
Summary: Patch for cheetah to lay a .egg - dev-python/cheetah-2.0_rc6.ebuild
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Python Gentoo Team
URL: http://www.cheetahtemplate.org/
Whiteboard:
Keywords:
Depends on:
Blocks: 54161 130866
  Show dependency tree
 
Reported: 2006-10-21 11:29 UTC by Tim Cera
Modified: 2006-11-19 18:38 UTC (History)
0 users

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


Attachments
Edited dev-python/cheetah-2.0_rc6.ebuild (cheetah-2.0_rc6.ebuild,818 bytes, text/plain)
2006-10-21 11:31 UTC, Tim Cera
Details
diff against original ebuild (ebuild_diffs_against_original,410 bytes, patch)
2006-10-21 11:34 UTC, Tim Cera
Details | Diff
files/cheetah-2.0rc6.diff (cheetah-2.0rc6.diff,500 bytes, patch)
2006-10-21 11:36 UTC, Tim Cera
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.