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.
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