commit: b49c7e4d491ad7636adc4c461fbae95c86a59ca5
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 5 14:42:52 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Wed Oct 5 14:43:28 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b49c7e4d
sci-libs/clblas: EAPI8, python3_{10,11}, use docs.eclass
Closes: https://bugs.gentoo.org/846251
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
.../{clblas-2.12.ebuild => clblas-2.12-r1.ebuild} | 32 ++++++++++------------
1 file changed, 15 insertions(+), 17 deletions(-)
diff --git a/sci-libs/clblas/clblas-2.12.ebuild
b/sci-libs/clblas/clblas-2.12-r1.ebuild
similarity index 81%
rename from sci-libs/clblas/clblas-2.12.ebuild
rename to sci-libs/clblas/clblas-2.12-r1.ebuild
index ccbad57cc802..15afdee6a00e 100644
--- a/sci-libs/clblas/clblas-2.12.ebuild
+++ b/sci-libs/clblas/clblas-2.12-r1.ebuild
@@ -1,36 +1,39 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..11} )
+DOCS_BUILDER="doxygen"
+DOCS_DEPEND="dev-libs/mathjax"
+DOCS_CONFIG_NAME="clBLAS.doxy"
+DOCS_DIR="doc"
-inherit python-any-r1 toolchain-funcs cmake
+inherit python-any-r1 toolchain-funcs cmake docs
MYPN="clBLAS"
DESCRIPTION="Library containing BLAS routines for OpenCL"
HOMEPAGE="https://github.com/clMathLibraries/clBLAS"
SRC_URI="https://github.com/clMathLibraries/${MYPN}/archive/v${PV}.tar.gz ->
${P}.tar.gz"
+S="${WORKDIR}/${MYPN}-${PV}"
LICENSE="Apache-2.0"
SLOT="0/2" # soname version
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="+client doc examples ktest performance test"
+IUSE="+client examples ktest performance test"
# the testsuite is hopelessly broken and upstream is pretty much dead
RESTRICT="test"
RDEPEND="
virtual/opencl
client? ( virtual/cblas )
- doc? ( dev-libs/mathjax )"
+"
DEPEND="${RDEPEND}"
-BDEPEND="
- ${PYTHON_DEPS}
- doc? ( app-doc/doxygen )
- client? ( virtual/pkgconfig )"
+BDEPEND="${PYTHON_DEPS}
+ client? ( virtual/pkgconfig )
+"
-S="${WORKDIR}/${MYPN}-${PV}"
CMAKE_USE_DIR="${S}/src"
PATCHES=(
@@ -62,12 +65,7 @@ src_configure() {
src_compile() {
cmake_src_compile
-
- if use doc; then
- cd doc || die
- doxygen clBLAS.doxy || die
- HTML_DOCS=( doc/html/. )
- fi
+ docs_compile
}
src_install() {