diff options
author | Jakov Smolic <jakov.smolic@sartura.hr> | 2021-02-21 15:29:00 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-02-22 22:18:42 +0000 |
commit | 8ef12c71be4d27bc75025d65b9dbd9b8dee8d08f (patch) | |
tree | fd8c93620bb85bf34b8e1a4c63d46b9748ce634f /sci-libs/blis | |
parent | sci-libs/numkit: Port to python 3.{8,9} (diff) | |
download | gentoo-8ef12c71be4d27bc75025d65b9dbd9b8dee8d08f.tar.gz gentoo-8ef12c71be4d27bc75025d65b9dbd9b8dee8d08f.tar.bz2 gentoo-8ef12c71be4d27bc75025d65b9dbd9b8dee8d08f.zip |
sci-libs/blis: Port to python 3.{8.9}
Closes: https://bugs.gentoo.org/764101
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-libs/blis')
-rw-r--r-- | sci-libs/blis/blis-0.6.0.ebuild | 33 |
1 files changed, 19 insertions, 14 deletions
diff --git a/sci-libs/blis/blis-0.6.0.ebuild b/sci-libs/blis/blis-0.6.0.ebuild index c8cf8bfe37e8..dab2e5c96017 100644 --- a/sci-libs/blis/blis-0.6.0.ebuild +++ b/sci-libs/blis/blis-0.6.0.ebuild @@ -1,8 +1,9 @@ -# Copyright 2019-2020 Gentoo Authors +# Copyright 2019-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_7 ) + +PYTHON_COMPAT=( python3_{7..9} ) inherit python-any-r1 DESCRIPTION="BLAS-like Library Instantiation Software Framework" @@ -12,19 +13,23 @@ SRC_URI="https://github.com/flame/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~ppc64 ~x86" -IUSE="openmp pthread serial static-libs eselect-ldso doc 64bit-index" -REQUIRED_USE="?? ( openmp pthread serial ) ?? ( eselect-ldso 64bit-index )" +IUSE="doc eselect-ldso openmp pthread serial 64bit-index" +REQUIRED_USE=" + ?? ( openmp pthread serial ) + ?? ( eselect-ldso 64bit-index )" -RDEPEND="eselect-ldso? ( !app-eselect/eselect-cblas - >=app-eselect/eselect-blas-0.2 )" +DEPEND=" + eselect-ldso? ( + !app-eselect/eselect-cblas + >=app-eselect/eselect-blas-0.2 + )" -DEPEND="${RDEPEND} - ${PYTHON_DEPS} -" +RDEPEND="${DEPEND}" +BDEPEND="${PYTHON_DEPS}" PATCHES=( - "${FILESDIR}/${P}-rpath.patch" - "${FILESDIR}/${P}-blas-provider.patch" + "${FILESDIR}"/${P}-rpath.patch + "${FILESDIR}"/${P}-blas-provider.patch ) src_configure() { @@ -53,7 +58,7 @@ src_configure() { --enable-verbose-make \ --prefix="${BROOT}"/usr \ --libdir="${BROOT}"/usr/$(get_libdir) \ - $(use_enable static-libs static) \ + --disable-static \ --enable-blas \ --enable-cblas \ "${BLIS_FLAGS[@]}" \ @@ -63,8 +68,8 @@ src_configure() { src_compile() { DEB_LIBBLAS=libblas.so.3 DEB_LIBCBLAS=libcblas.so.3 \ - LDS_BLAS="${FILESDIR}"/blas.lds LDS_CBLAS="${FILESDIR}"/cblas.lds \ - default + LDS_BLAS="${FILESDIR}"/blas.lds LDS_CBLAS="${FILESDIR}"/cblas.lds \ + default } src_test() { |