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

Bug 348669

Summary: dev-util/pida-0.6.2 ebuild missing dev-python/argparse as a dependency
Product: Gentoo Linux Reporter: siefkenj
Component: New packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: skrattaren
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description siefkenj 2010-12-14 01:37:16 UTC
The ebuild for dev-util/pida-0.6.2 does not pull in dev-python/argparse as a dependency, which is required for pida 0.6.2 to run.

Reproducible: Always

Steps to Reproduce:
1. Ensure dev-python/argparse is not emerged
2. emerge =dev-util/pida-0.6.2
3. Run pida from the command line.

Actual Results:  
Traceback (most recent call last):
  File "/usr/bin/pida-2.6", line 27, in <module>
    from pida.core import application
  File "/usr/lib64/python2.6/site-packages/pida/core/__init__.py", line 3, in <module>
    import pida.core.environment
  File "/usr/lib64/python2.6/site-packages/pida/core/environment.py", line 14, in <module>
    from argparse import ArgumentParser
ImportError: No module named argparse


Expected Results:  
Pida should start.
Comment 1 Nikolaj Šujskij 2011-02-23 18:42:46 UTC
|| ( dev-python/argparse dev-lang/python:2.7 )

argparse made its way into standard library in 2.7/3.1 and up.
Comment 2 Nikolaj Šujskij 2011-02-23 19:59:50 UTC
(In reply to comment #1)
> || ( dev-python/argparse dev-lang/python:2.7 )
> 
> argparse made its way into standard library in 2.7/3.1 and up.
> 

Actually it is really fixed, but not closed here.
Comment 3 Dirkjan Ochtman (RETIRED) gentoo-dev 2011-02-24 07:08:41 UTC
I'll close this, then.