From 01e5f244bafadb352276e25499db75224195caf3 Mon Sep 17 00:00:00 2001 From: Marek Szuba Date: Sun, 9 Apr 2023 10:28:52 +0100 Subject: dev-libs/clhpp: remove all the Ruby bits CMock has turned out to be extremely awkward to package and without it, none of the Ruby stuff in this ebuild is needed. Closes: https://bugs.gentoo.org/904058 Signed-off-by: Marek Szuba --- dev-libs/clhpp/clhpp-2023.02.06.ebuild | 35 +++++----------------------------- 1 file changed, 5 insertions(+), 30 deletions(-) (limited to 'dev-libs/clhpp') 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 -- cgit v1.2.3-65-gdbad