Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 182498 - net-dns/avahi-0.6.19 ebuild omits __init__.py file from python site-packages
Summary: net-dns/avahi-0.6.19 ebuild omits __init__.py file from python site-packages
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-18 19:01 UTC by Mark Feldhousen Jr.
Modified: 2007-06-19 02:26 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 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