Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 610364 - dev-python/pyftpdlib-1.5.1 needs DEPEND="test? dev-python/mock[${PYTHON_USEDEP}]"
Summary: dev-python/pyftpdlib-1.5.1 needs DEPEND="test? dev-python/mock[${PYTHON_USEDE...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Paweł Hajdan, Jr. (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 606282
  Show dependency tree
 
Reported: 2017-02-21 13:09 UTC by Tobias Klausmann (RETIRED)
Modified: 2017-02-23 13:16 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 Tobias Klausmann (RETIRED) gentoo-dev 2017-02-21 13:09:27 UTC
...otherwise the tests fail:

>>> Source compiled.                                                              
>>> Test phase: dev-python/pyftpdlib-1.5.1                                        
 * python2_7: running distutils-r1_run_phase python_test                          
Traceback (most recent call last):                                                
  File "pyftpdlib/test/runner.py", line 32, in <module>                           
    if not main():                                                                
  File "pyftpdlib/test/runner.py", line 26, in main                               
    suite.addTest(unittest.defaultTestLoader.loadTestsFromName(t))                
  File "/usr/lib/python2.7/unittest/loader.py", line 91, in loadTestsFromName     
    module = __import__('.'.join(parts_copy))                                     
  File "/var/tmp/portage/dev-python/pyftpdlib-1.5.1/work/pyftpdlib-1.5.1/pyftpdlib/test/test_servers.py", line 21, in <module>                                      
    from pyftpdlib.test.test_functional import TestCallbacks                      
  File "/var/tmp/portage/dev-python/pyftpdlib-1.5.1/work/pyftpdlib-1.5.1-python2_7/lib/pyftpdlib/test/test_functional.py", line 23, in <module>                     
    import mock                                                                   
ImportError: No module named mock                                                 
 * ERROR: dev-python/pyftpdlib-1.5.1::gentoo failed (test phase):
Comment 1 Michael Weber (RETIRED) gentoo-dev 2017-02-23 13:16:37 UTC
commit 333ad5704b3e12e4cebe9c1e534e94519d77b289
Author: Michael Weber <xmw@gentoo.org>
Date:   Thu Feb 23 14:15:53 2017 +0100

    dev-python/pyftpdlib: Add depend dev-python/mock (bug 610364).
    
    Package-Manager: Portage-2.3.3, Repoman-2.3.1

dev-python/pyftpdlib/pyftpdlib-1.5.1.ebuild