Index: root_numpy-2.1.0.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-python/root_numpy/root_numpy-2.1.0.ebuild,v retrieving revision 1.1 diff -u -B -r1.1 root_numpy-2.1.0.ebuild --- root_numpy-2.1.0.ebuild 12 Aug 2013 17:12:01 -0000 1.1 +++ root_numpy-2.1.0.ebuild 14 Sep 2013 11:57:16 -0000 @@ -4,6 +4,7 @@ EAPI=5 +DISTUTILS_SINGLE_IMPL=1 PYTHON_COMPAT=( python{2_6,2_7} ) inherit distutils-r1 @@ -19,20 +20,17 @@ RDEPEND=" dev-python/numpy[${PYTHON_USEDEP}] - sci-physics/root[${PYTHON_USEDEP}]" + sci-physics/root[python,${PYTHON_USEDEP}]" DEPEND="${RDEPEND} test? ( dev-python/nose[${PYTHON_USEDEP}] )" python_test() { cd ${BUILD_DIR} || die - nosetests-${EPYTHON} -v || die "Testing failed with ${EPYTHON}" + nosetests -v || die "Testing failed with ${EPYTHON}" } python_install_all() { + use examples && local EXAMPLES=( tutorial/. ) distutils-r1_python_install_all - if use examples; then - insinto /usr/share/doc/${PF}/examples - doins -r tutorial/* - fi }