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

Bug 484400

Summary: app-text/pdf2djvu: plays with python wrapping internals (unnecessarily)
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: [OLD] PrintingAssignee: Printing Team <printing>
Status: RESOLVED FIXED    
Severity: QA    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=473990
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 484398    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-09-09 20:56:38 UTC
src_prepare() {
    sed -e "s:nosetests :nosetests-${EPYTHON} :" \
        -i tests/Makefile || die
}

Folks, what the...?! Plus it's completely unnecessary. python-single-r1_pkg_setup() ensures that the environment is set up properly to use the proper variant of nose.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-09-12 21:10:27 UTC
I've just tested it with python3.3 set as global interp and it works fine without the sed. Committed.