summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-libs/clhpp/clhpp-2023.02.06.ebuild35
1 files changed, 5 insertions, 30 deletions
diff --git a/dev-libs/clhpp/clhpp-2023.02.06.ebuild b/dev-libs/clhpp/clhpp-2023.02.06.ebuild
index c1fdbf09eb6d..366b4f04fcb7 100644
--- a/dev-libs/clhpp/clhpp-2023.02.06.ebuild
+++ b/dev-libs/clhpp/clhpp-2023.02.06.ebuild
@@ -3,10 +3,7 @@
EAPI=8
-USE_RUBY="ruby26 ruby27 ruby30"
-RUBY_OPTIONAL="yes"
-
-inherit cmake ruby-ng
+inherit cmake
MY_PN="OpenCL-CLHPP"
MY_P="${MY_PN}-${PV}"
@@ -20,40 +17,18 @@ SLOT="0"
KEYWORDS="amd64 ~ppc64 x86"
IUSE="test"
-# Tests require CMock (NOT cmocka), which is currently unpackaged
+# Tests require CMock (NOT cmocka), which is currently not in Gentoo
+# and has been found to be extremely awkward to package.
+# Should it ever get packaged, consult git history for how to set things up
+# for the clhpp test suite.
RESTRICT="test"
RDEPEND="virtual/opencl"
DEPEND="${RDEPEND}
>=dev-util/opencl-headers-${PV}"
-BDEPEND="test? ( $(ruby_implementations_depend) )"
S="${WORKDIR}"/${MY_P}
-pkg_setup() {
- use test && ruby-ng_pkg_setup
-}
-
-src_unpack() {
- # suppress ruby-ng export
- default
-}
-
-src_prepare() {
- # suppress ruby-ng export
- cmake_src_prepare
-}
-
-src_compile() {
- # suppress ruby-ng export
- cmake_src_compile
-}
-
-src_install() {
- # suppress ruby-ng export
- cmake_src_install
-}
-
src_configure() {
local mycmakeargs=(
-DBUILD_DOCS=OFF