Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 298118 - dev-python/python-yadis missing dependencies
Summary: dev-python/python-yadis missing dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-23 15:57 UTC by Johan Bergström
Modified: 2011-11-16 15:37 UTC (History)
0 users

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


Attachments
python-yadis-1.1.0.ebuild (python-yadis-1.1.0.ebuild,721 bytes, text/plain)
2009-12-23 20:19 UTC, Johan Bergström
Details
python-yadis-1.1.0-elementtree.patch (python-yadis-1.1.0-elementtree.patch,1006 bytes, patch)
2009-12-23 20:20 UTC, Johan Bergström
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Johan Bergström 2009-12-23 15:57:51 UTC
* The test suite of python-yadis (at least 1.1.0) requires python-urljr to run, which seems missing from DEPEND.
 * Also, dev-python/elementtree seems required regardless use flag. This should probably be fixed by wrapping the ElementTree import in a try/catch which imports xml.etree if ElementTree fails (or the opposite). DEPEND also needs minor changes

I'll do an updated ebuild with patch (and notify upstream which most likely knows about it?) tomorrow.
Comment 1 Johan Bergström 2009-12-23 20:19:18 UTC
Created attachment 213965 [details]
python-yadis-1.1.0.ebuild

Ok, couldn't wait an entire day for this :-)  New ebuild attached.
Changes:
 * minor nits/reordering
 * removed test patch. We shouldn't run pyflakes as part of a test suite anyway - so now we directly call the test runner instead of the wrapper.
 * added a patch that tries to import >python2.5 elementtree before falling back to the non-bundled one
 * Updated dependencies for test suite
 
I guess one could add ABI support while at it; haven't had the time to look at python 3 for this package just yet..
Comment 2 Johan Bergström 2009-12-23 20:20:09 UTC
Created attachment 213967 [details, diff]
python-yadis-1.1.0-elementtree.patch

Here's the patch for >= python 2.6 xml.etree adaption
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2011-11-16 15:37:16 UTC
not any more

gentoo64 python-yadis # grep urljr python-yadis-1.1.0.ebuild           
        dev-python/python-urljr"