Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 341505 - dev-python/pygraphviz-1.0: ebuild deletes /tests/ dir which is required by pygraphviz
Summary: dev-python/pygraphviz-1.0: ebuild deletes /tests/ dir which is required by py...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High normal with 1 vote (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-17 20:30 UTC by Piotr Hajduga
Modified: 2010-10-29 21:40 UTC (History)
1 user (show)

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 Piotr Hajduga 2010-10-17 20:30:15 UTC
import pygraphiz fails due to a lack of tests module which should be included in the sources. I checked the ebuild and found that the /tests/ dir is deleted during installation.

Reproducible: Always

Steps to Reproduce:
enter the python interactive shell
>> import pygraphviz
Actual Results:  
Python 2.6.4 (r264:75706, Apr 29 2010, 09:44:29) 
[GCC 4.3.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygraphviz
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python2.6/site-packages/pygraphviz/__init__.py", line 72, in <module>
    from tests import run as test
ImportError: No module named tests
Comment 1 ploutos 2010-10-26 09:24:14 UTC
confirm
Comment 2 Johan Bergström 2010-10-26 12:09:43 UTC
So, either keep it in or remove references to test. (Why on earth include tests on a basic library init?)
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-10-29 21:40:47 UTC
Fixed in dev-python/pygraphviz-1.0-r1.