summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2023-04-09 10:28:52 +0100
committerMarek Szuba <marecki@gentoo.org>2023-04-09 10:31:19 +0100
commit01e5f244bafadb352276e25499db75224195caf3 (patch)
tree2f5c73b88864a863f08e08397f587df45a367d87 /dev-libs/clhpp
parentdev-python/django-debug-toolbar: new package, add 3.8.1 (diff)
downloadgentoo-01e5f244bafadb352276e25499db75224195caf3.tar.gz
gentoo-01e5f244bafadb352276e25499db75224195caf3.tar.bz2
gentoo-01e5f244bafadb352276e25499db75224195caf3.zip
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 <marecki@gentoo.org>
Diffstat (limited to 'dev-libs/clhpp')
-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