commit:     72ccc3c040c0007ed33000b516a12abaf889b052
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat May 20 07:13:27 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat May 20 07:15:13 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72ccc3c0

dev-python/numpy: Use pypi.eclass in older version(s)

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/numpy/numpy-1.24.0.ebuild | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/dev-python/numpy/numpy-1.24.0.ebuild 
b/dev-python/numpy/numpy-1.24.0.ebuild
index 4fd3798cde38..f5328932d6a2 100644
--- a/dev-python/numpy/numpy-1.24.0.ebuild
+++ b/dev-python/numpy/numpy-1.24.0.ebuild
@@ -8,7 +8,7 @@ PYTHON_REQ_USE="threads(+)"
 
 FORTRAN_NEEDED=lapack
 
-inherit distutils-r1 flag-o-matic fortran-2 toolchain-funcs
+inherit distutils-r1 flag-o-matic fortran-2 pypi toolchain-funcs
 
 DOC_PV=${PV}
 DESCRIPTION="Fast array and numerical python library"
@@ -17,9 +17,6 @@ HOMEPAGE="
        https://github.com/numpy/numpy/
        https://pypi.org/project/numpy/
 "
-SRC_URI="
-       mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
-"
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~x64-solaris ~x86-solaris"

Reply via email to