Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 484426 - [science] dev-python/healpy: plays with python wrapping internals (unnecessarily)
Summary: [science] dev-python/healpy: plays with python wrapping internals (unnecessar...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal QA (vote)
Assignee: Gentoo Astronomy project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 484398
  Show dependency tree
 
Reported: 2013-09-09 21:54 UTC by Michał Górny
Modified: 2013-09-17 09:46 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:54:00 UTC
python_test() {
    cd "${BUILD_DIR}"/lib*
#                          ^ '|| die' missing!
    echo "backend: Agg" > matplotlibrc
#                                      ^ '|| die' missing!
    MPLCONFIGDIR=. PYTHONPATH=. nosetests-"${EPYTHON}" || die
#                  ^^^^^^^^^^^^          ^^^^^^^^^^^^^
#                  unnecessary           unnecessary
    rm matplotlibrc
#                   ^ '|| die' missing!
}

'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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-09-17 09:46:29 UTC
Merged via PR.