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

Bug 425152

Summary: dev-python/genshi-0.6: ebuild does not expose speedups c module
Product: Gentoo Linux Reporter: Leho Kraav (:macmaN @lkraav) <leho>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED OBSOLETE    
Severity: normal CC: leho
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://packages.python.org/Genshi/install.html
Whiteboard:
Package list:
Runtime testing required: ---

Description Leho Kraav (:macmaN @lkraav) 2012-07-07 11:42:45 UTC
Noticed today my Trac installation reports my Gentoo Genshi installation as "0.6 (without speedups)". Ebuild does not seem to compile the necessary module by default nor have a USE flag. Am I missing something or does the ebuild need improvement?

Reproducible: Always
Comment 1 Leho Kraav (:macmaN @lkraav) 2012-07-07 11:43:19 UTC
Ref: http://packages.python.org/Genshi/install.html
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2012-07-10 06:37:14 UTC
archtester ipython # emerge genshi

>>> Emerging (1 of 1) dev-python/genshi-0.6
>>> Installing (1 of 1) dev-python/genshi-0.6
>>> Recording dev-python/genshi in "world" favorites file...

Is this a naive question.  Did you the portage's emerge to install?
Your link cites $ easy_install Genshi
note genshi with uppercase g which portage has re-named to genshi as such.
and what is a Trac installation?
Comment 3 Marien Zwart (RETIRED) gentoo-dev 2012-07-10 11:32:12 UTC
The documentation lies: speedups are only built if --with-speedups is passed to setup.py in genshi 0.6. Genshi trunk does build the speedups by default on non-pypy, but also has at least one bugfix to the speedups (and several python 3 compat fixes). I would prefer to wait for a new release of genshi over passing a non-standard configure switch and backporting bugfixes. If you have upstream documentation indicating we should turn this on *in 0.6* (other than the "install" documentation, which lies) please link to it.
Comment 4 Leho Kraav (:macmaN @lkraav) 2012-07-27 20:44:20 UTC
OK fair enough. I'll be back when I find out more about this.
Comment 5 Mathy Vanvoorden 2016-11-03 22:16:18 UTC
This bug can be closed I think. 

With version 0.7 currently in the tree

* For Python 2.7 the speedups module builds fine
* For Python 3.4 the speedups module fails to build but upstream disabled it anyway (see https://genshi.edgewall.org/ticket/555), it is targeted for version 0.8 (if that ever comes)