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

Bug 528662

Summary: dev-python/python-bugzilla should depend on || ( dev-python/python-magic sys-apps/file[python] )
Product: Gentoo Linux Reporter: Sławomir Nizio <slawomir.nizio>
Component: [OLD] DevelopmentAssignee: Andreas K. Hüttel <dilfridge>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sławomir Nizio 2014-11-08 15:59:06 UTC
Pretty please: python-magic depends on sys-apps/file[-python] and it's nasty.

Also, python-bugzilla seems to work with sys-apps/file[python] and dev-python/python-magic not installed. I didn't test python-bugzilla (and esp. the code path using the 'magic' module), but I pasted parts of the code in the Python 3.4 REPL (code ending with mimemagic.file('/bin/ls')) and it worked.

Please change the dependency to sys-apps/file[python]. Or, if ineed it works with dev-python/python-magic too, please make a this-or-this dependency.

Reproducible: Always
Comment 1 Pavel Šimerda 2015-02-06 21:11:46 UTC
I got the same issue with my life ebuilds of Fedora packaging tools in the ixit[1] overlay, python-bugzilla live ebuild is among those as well. I'll use the suggested dependency syntax for my ebuilds.

[1] http://gpo.zugaina.org/Overlays/ixit
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2015-05-24 18:48:31 UTC
Done, thanks