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

Bug 372641

Summary: dev-python/pypy-1.5: src_test() incompatible with Python 3
Product: Gentoo Linux Reporter: Arfrever Frehtes Taifersar Arahesis (RETIRED) <arfrever>
Component: Current packagesAssignee: Dirkjan Ochtman (RETIRED) <djc>
Status: RESOLVED FIXED    
Severity: normal CC: osadchiy.ilya, python
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-06-22 23:35:44 UTC
src_test() would fail when Python 3 is set as main active version of Python.
Probably the following will help:
src_test() {
    $(PYTHON -2) pypy/test_all.py --pypy=pypy-c lib-python
}
Comment 1 Dirkjan Ochtman (RETIRED) gentoo-dev 2011-06-24 09:22:06 UTC
I have fixed this as suggested.