summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-01-21 06:25:59 +0000
committerSam James <sam@gentoo.org>2023-01-21 06:48:29 +0000
commitf7e8bbee8d970a41b4f0cc16a1d691025654c6fd (patch)
treeb0c7fdf8ee9658c5bf721280d6f7c3c920316864 /dev-libs/pocl
parentapp-portage/unsymlink-lib: Sync compatible python versions with sys-apps/portage (diff)
downloadgentoo-f7e8bbee8d970a41b4f0cc16a1d691025654c6fd.tar.gz
gentoo-f7e8bbee8d970a41b4f0cc16a1d691025654c6fd.tar.bz2
gentoo-f7e8bbee8d970a41b4f0cc16a1d691025654c6fd.zip
dev-libs/pocl: drop incomplete docs support
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/pocl')
-rw-r--r--dev-libs/pocl/pocl-3.1.ebuild31
1 files changed, 8 insertions, 23 deletions
diff --git a/dev-libs/pocl/pocl-3.1.ebuild b/dev-libs/pocl/pocl-3.1.ebuild
index f5e877a39aea..29653f03a564 100644
--- a/dev-libs/pocl/pocl-3.1.ebuild
+++ b/dev-libs/pocl/pocl-3.1.ebuild
@@ -3,13 +3,9 @@
EAPI=8
-DOCS_AUTODOC=0
-DOCS_BUILDER="sphinx"
-DOCS_DIR="doc/sphinx/source"
-PYTHON_COMPAT=( python3_{9..10} pypy3 )
LLVM_MAX_SLOT=15
-inherit cmake llvm python-any-r1 docs
+inherit cmake llvm
DESCRIPTION="Portable Computing Language (an implementation of OpenCL)"
HOMEPAGE="http://portablecl.org https://github.com/pocl/pocl"
@@ -26,8 +22,10 @@ RESTRICT="!test? ( test ) test"
# TODO: add dependencies for cuda
# Note: No := on LLVM because it pulls in Clang
# see llvm.eclass for why
-CLANG_DEPS="!cuda? ( <sys-devel/clang-$((${LLVM_MAX_SLOT} + 1)):= )
- cuda? ( <sys-devel/clang-$((${LLVM_MAX_SLOT} + 1)):=[llvm_targets_NVPTX] )"
+CLANG_DEPS="
+ !cuda? ( <sys-devel/clang-$((${LLVM_MAX_SLOT} + 1)):= )
+ cuda? ( <sys-devel/clang-$((${LLVM_MAX_SLOT} + 1)):=[llvm_targets_NVPTX] )
+"
RDEPEND="
dev-libs/libltdl
<sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):*
@@ -38,15 +36,10 @@ RDEPEND="
hwloc? ( sys-apps/hwloc:=[cuda?] )
"
DEPEND="${RDEPEND}"
-BDEPEND="${CLANG_DEPS}
+BDEPEND="
+ ${CLANG_DEPS}
virtual/pkgconfig
- doc? (
- $(python_gen_any_dep '<dev-python/markupsafe-2.0[${PYTHON_USEDEP}]')
- )"
-
-python_check_deps() {
- python_has_version "<dev-python/markupsafe-2.0[${PYTHON_USEDEP}]"
-}
+"
llvm_check_deps() {
local usedep=$(usex cuda "[llvm_targets_NVPTX]" '')
@@ -62,8 +55,6 @@ PATCHES=(
)
pkg_setup() {
- use doc && python-any-r1_pkg_setup
-
llvm_pkg_setup
}
@@ -111,7 +102,6 @@ src_configure() {
src_compile() {
cmake_src_compile
- docs_compile
}
src_test() {
@@ -128,11 +118,6 @@ src_test() {
src_install() {
cmake_src_install
- if use doc; then
- dodoc -r _build/html
- docompress -x /usr/share/doc/${P}/html
- fi
-
if use examples; then
dodoc -r examples
docompress -x /usr/share/doc/${P}/examples