Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 183977
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Python Gentoo Team <python@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Gergan Penkov <gpp666_999@yahoo.de>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 183977 depends on: 184039 Show dependency tree
Bug 183977 blocks: 148333
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-07-02 13:37 0000
src_unpack() {
        unpack ${A}
        cd "${S}"

        sed -i \
                -e '/extras_require/, /},/d' \
                setup.py || die "sed failed"
}
breaks genshi on python-2.5 in the following manner:
Genshi-0.4.2-py2.5.egg-info # cat entry_points.txt 

    [babel.extractors]
    genshi = genshi.filters.i18n:extract[i18n]

    [python.templating.engines]
    genshi = genshi.template.plugin:MarkupTemplateEnginePlugin[plugin]
    genshi-markup = genshi.template.plugin:MarkupTemplateEnginePlugin[plugin]
    genshi-text = genshi.template.plugin:TextTemplateEnginePlugin[plugin]

with the portage ebuild there is no feature called plugin, because of the sed
expression, which removes the requires. This breaks at least turbogears with
python-2.5 (tg-admin just spits that the feature plugin does not exists in
Genshi). Removing the whole src_unpack leads to a correct requires file:

[i18n]
Babel>=0.8

[plugin]
setuptools>=0.6a2

and tg-admin works. So the question is, is this sed at all needed on
python-2.4, and if yes probably stop running it on python-2.5.

------- Comment #1 From Rob Cakebread 2007-07-04 15:56:25 0000 -------
Thanks for the report, Gergan.

The seds are all being removed as they are no longer needed due to a change in
setuptools. Fixed in genshi-0.4.2-r1

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug