Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 484412 - dev-python/root_numpy: plays with python wrapping internals (unnecessarily)
Summary: dev-python/root_numpy: plays with python wrapping internals (unnecessarily)
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 Physics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 484398
  Show dependency tree
 
Reported: 2013-09-09 21:23 UTC by Michał Górny
Modified: 2013-09-17 07:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to ebuild (root_numpy-2.1.0.ebuild.diff,1.04 KB, patch)
2013-09-14 11:59 UTC, Michał Górny
Details | Diff

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:23:08 UTC
python_test() {
    cd ${BUILD_DIR} || die
    nosetests-${EPYTHON} -v || die "Testing failed with ${EPYTHON}"
             ^^^^^^^^^^^
}


Please don't play with internals like this. 'nosetests' is a wrapper, and eclass sets up environment properly, so the wrapper will choose correct implementation.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-09-14 11:59:28 UTC
Created attachment 358640 [details, diff]
patch to ebuild

Please let me know if this patch is ok to commit.

Changes:

1. enforced a single impl since sci-physics/root supports that only,

2. required USE=python on sci-physics/root,

3. fixed the nosetests invocation,

4. fixed EXAMPLES not to be compressed.
Comment 2 Sébastien Fabbro (RETIRED) gentoo-dev 2013-09-17 05:34:26 UTC
(In reply to Michał Górny from comment #1)
> Created attachment 358640 [details, diff] [details, diff]
> patch to ebuild
> 
> Please let me know if this patch is ok to commit.

yes please do and feel free to do the same to all the other similar python bugs you filed
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-09-17 07:33:58 UTC
Committed.