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

Bug 182498

Summary: net-dns/avahi-0.6.19 ebuild omits __init__.py file from python site-packages
Product: Gentoo Linux Reporter: Mark Feldhousen Jr. <markf.gentoo>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mark Feldhousen Jr. 2007-06-18 19:01:40 UTC
Avahi-0.6.19 ebuild omits __init__.py file from python site-packages.  This causes "import avahi" to fail in python. 

Reproducible: Always

Steps to Reproduce:
1. emerge avahi
2. start python interpreter
3. import avahi

Actual Results:  
>>> import avahi
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named avahi

Expected Results:  
successful import of avahi module

Python 2.4.4
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-06-18 20:08:27 UTC
$ equery f avahi | grep __init__.py
/usr/lib/python2.5/site-packages/avahi/__init__.py
/usr/lib/python2.5/site-packages/avahi/__init__.pyc
/usr/lib/python2.5/site-packages/avahi/__init__.pyo

[ebuild   R   ] net-dns/avahi-0.6.19  USE="autoipd bookmarks dbus -doc gdbm gtk howl-compat mdnsresponder-compat -mono python qt3 -qt4 -test" 0 kB 

Besides, it's p.masked.
Comment 2 Mark Feldhousen Jr. 2007-06-19 02:26:52 UTC
Thanks for looking at it. 

Just for posterity:

$ equery f avahi | grep py
/usr/lib/python2.4
/usr/lib/python2.4/site-packages
/usr/lib/python2.4/site-packages/avahi
/usr/lib/python2.4/site-packages/avahi/ServiceTypeDatabase.py

[ebuild   R   ] net-dns/avahi-0.6.19  USE="dbus gdbm mdnsresponder-compat python -autoipd -bookmarks -doc -gtk -howl-compat -mono -qt3 -qt4 -test" 0 kB