Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 532052 - [ago overlay] app-portage/arch-tools misses a RDEPEND on pybugz with [${PYTHON_USEDEP}]
Summary: [ago overlay] app-portage/arch-tools misses a RDEPEND on pybugz with [${PYTHO...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Agostino Sarubbo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-09 11:33 UTC by Pacho Ramos
Modified: 2014-12-11 10:12 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2014-12-09 11:33:22 UTC
As looks like it needs python2 support from that one (that seems that was removed at some point and, then, I cannot run the plugin now :( )
$ stabilization-candidates 
Traceback (most recent call last):
  File "/usr/bin/stabilization-candidates", line 14, in <module>
    from bugz.bugzilla import BugzillaProxy
ImportError: No module named bugz.bugzilla
Comment 1 Agostino Sarubbo gentoo-dev 2014-12-09 14:15:26 UTC
+  09 Dec 2014; Agostino Sarubbo <ago@gentoo.org> arch-tools-9999.ebuild:                                                                                                                                                                                                      
+  Add PYTHON_USEDEP to fix bug #532052                                                                                                                                                                                                                                        

I'm not a guru with the python eclass stuff, could you test it?

If you guess this will be improved, just tell me.
Comment 2 Pacho Ramos gentoo-dev 2014-12-09 20:17:37 UTC
Thanks for taking care. 

You need to:
- Set ${PYTHON_DEPS} instead of dev-lang/python
- Add REQUIRED_USE=${PYTHON_REQUIRED_USE}
- More RDEPENDs needed (with the PYTHON_USEDEP stuff): dev-python/common.. and I still get:
# stabilization-candidates 
Traceback (most recent call last):
  File "/usr/bin/stabilization-candidates", line 19, in <module>
    from common import login
ImportError: cannot import name login

But I don't know what package provides it, hopefully you will have the module present on your system and will be able to figure out the ebuild providing it :S
Comment 3 Agostino Sarubbo gentoo-dev 2014-12-11 08:19:41 UTC
Done.

Actually to make it works, the ebuild downgrades your pybugz. When arch-tools will be python3 compatible, I'll change the ebuild.
Comment 4 Pacho Ramos gentoo-dev 2014-12-11 10:12:14 UTC
Do you know what could I do for missing dependencies? I still cannot run it due them :| (I mean "common" missing dep and the one providing "login"... looks like I didn't have that problem with the script one year ago because the arch-tools tree was providing its own "common" module that looked to handle all that by itself)