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

Bug 484420

Summary: dev-python/wxpython: does magic on top of Python script wrapping
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Gentoo wxWidgets project <wxwidgets>
Status: CONFIRMED ---    
Severity: QA CC: jospezial, python, wxwidgets
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
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 21:38:32 UTC
python_install() {
#...
    cd "${ED}"usr/bin || die
    for file in *-"${EPYTHON}"; do
        local wrapper=${file%-${EPYTHON}}

        mv "${file}" "${file/-/-${SLOT}-}" || die

        # wrappers are common to all impls, so a parallel run may
        # move it for us. ln+rm is more failure-proof.
        ln -fs python-exec "${wrapper}-${SLOT}" || die
        rm -f "${wrapper}"
    done
}

Yeah, I know it's my fault. Please keep this open, I'll either try to do it in a less hacky way or just make sure to fix the ebuild if we change wrapping method.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-09-17 20:46:33 UTC
FYI: I've forced python-exec:0 in the ebuild now. We will probably revisit this near python-exec:2 going stable, so please keep the bug open.
Comment 2 jospezial 2024-02-05 23:10:54 UTC
Michal, does it still make sense to keep this bug open or do you wanna close it now after more then 10 years?
It is the last open bug that blocks the tracker bug.