commit:     19975f88124c85d8a28e5b8a4f734edb93ea9f15
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 19 18:27:14 2017 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Fri Jul 21 00:22:29 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19975f88

dev-python/numba: version bump

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-python/numba/numba-0.34.0.ebuild | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

diff --git a/dev-python/numba/numba-0.34.0.ebuild 
b/dev-python/numba/numba-0.34.0.ebuild
index 7435caa4386..40122f0ca61 100644
--- a/dev-python/numba/numba-0.34.0.ebuild
+++ b/dev-python/numba/numba-0.34.0.ebuild
@@ -14,17 +14,19 @@ 
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples test"
+IUSE="examples test"
 
 RDEPEND="
        >=dev-python/llvmlite-0.19[${PYTHON_USEDEP}]
-       >=dev-python/numpy-1.7[${PYTHON_USEDEP}]
+       dev-python/numpy[${PYTHON_USEDEP}]
        virtual/python-enum34[${PYTHON_USEDEP}]
-       virtual/python-funcsigs[${PYTHON_USEDEP}]"
+       virtual/python-funcsigs[${PYTHON_USEDEP}]
+       virtual/python-singledispatch[${PYTHON_USEDEP}]
+"
 DEPEND="${RDEPEND}
-       test? ( virtual/python-singledispatch[${PYTHON_USEDEP}] )
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       test? ( dev-python/pytest[${PYTHON_USEDEP}] )
 "
-# doc building highly broken
 
 python_test() {
        cd "${BUILD_DIR}"/lib* || die
@@ -32,6 +34,10 @@ python_test() {
 }
 
 python_install_all() {
-       use examples && local EXAMPLES=( examples/. )
        distutils-r1_python_install_all
+       if use examples; then
+               insinto /usr/share/doc/${PF}
+               doins -r examples
+               docompress -x /usr/share/doc/${PF}/examples
+       fi
 }

Reply via email to