Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 484428 - [science] sci-libs/scikits_image: plays with python wrapping internals (unnecessarily)
Summary: [science] sci-libs/scikits_image: plays with python wrapping internals (unnec...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal QA (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 484398
  Show dependency tree
 
Reported: 2013-09-09 21:56 UTC by Michał Górny
Modified: 2013-09-18 15:01 UTC (History)
0 users

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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-09-09 21:56:30 UTC
python_test() {
    esetup.py \
        install --root="${T}/test-${EPYTHON}" \
        --no-compile || die "install test failed"
#                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unnecessary
    #distutils_install_for_testing
#   ^^^^ usually it's better to report bugs than comment stuff out
    cd "${T}/test-${EPYTHON}/$(python_get_sitedir)" || die
    echo "backend: Agg" > matplotlibrc
#                                      ^ '|| die' missing!
    MPLCONFIGDIR=. PYTHONPATH=. nosetests-"${EPYTHON}" || die
#                  ^^^^^^^^^^^^          ^^^^^^^^^^^^^
#                  unnecessary            unnecessary
}


'nosetests' is a wrapper script, and distutils-r1 sets up the environment so that it chooses the correct implementation itself. So please don't play with the wrapping.
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2013-09-18 15:00:56 UTC
Seems to be fixed already.