commit:     2d23636b1725bc009f44ff4c1911a3095e3eb14b
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sat May  8 14:23:14 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat May  8 14:23:14 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=2d23636b

dev-python/numba: fix patch

Closes: https://github.com/gentoo/sci/issues/1079
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 dev-python/numba/numba-0.53.1.ebuild | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/dev-python/numba/numba-0.53.1.ebuild 
b/dev-python/numba/numba-0.53.1.ebuild
index c7c99c247..3088b99eb 100644
--- a/dev-python/numba/numba-0.53.1.ebuild
+++ b/dev-python/numba/numba-0.53.1.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 PYTHON_COMPAT=( python3_{7..9} )
 
 DISTUTILS_USE_SETUPTOOLS=rdepend
-inherit eutils multiprocessing distutils-r1
+inherit multiprocessing distutils-r1
 
 DESCRIPTION="NumPy aware dynamic Python compiler using LLVM"
 HOMEPAGE="https://numba.pydata.org/
@@ -18,7 +18,7 @@ SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 IUSE="openmp threads"
 
-RDEPEND="${PYTHON_DEPS}
+RDEPEND="
        >=dev-python/llvmlite-0.36.0[${PYTHON_USEDEP}]
        <dev-python/llvmlite-0.37.0
        dev-python/numpy[${PYTHON_USEDEP}]
@@ -30,10 +30,11 @@ DEPEND="${RDEPEND}"
 
 DISTUTILS_IN_SOURCE_BUILD=1
 distutils_enable_tests unittest
+# Only works in a git repository
+#distutils_enable_sphinx docs/source dev-python/numpydoc
 
-# doc system is another huge mess, skip it
 PATCHES=(
-       "${FILESDIR}/${P}-skip_tests.patch"
+       "${FILESDIR}/${PN}-0.52.0-skip_tests.patch"
 )
 
 pkg_setup() {
@@ -59,11 +60,6 @@ python_test() {
                "${EPYTHON} failed unittests"
 }
 
-# https://numba.pydata.org/numba-doc/latest/user/installing.html
-python_install_all() {
-       distutils-r1_python_install_all
-}
-
 pkg_postinst() {
        optfeature "compile cuda code" dev-util/nvidia-cuda-sdk
 }

Reply via email to