From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/nanoflann/
Date: Sun, 24 Jan 2021 13:49:41 +0000 (UTC) [thread overview]
Message-ID: <1611496096.4df9e749ae042a6b21c69195d1b44cad46a3029f.soap@gentoo> (raw)
commit: 4df9e749ae042a6b21c69195d1b44cad46a3029f
Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Sun Jan 24 13:48:16 2021 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Jan 24 13:48:16 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4df9e749
sci-libs/nanoflann: Sync live ebuild
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Signed-off-by: David Seifert <soap <AT> gentoo.org>
sci-libs/nanoflann/nanoflann-9999.ebuild | 24 +++++++++++-------------
1 file changed, 11 insertions(+), 13 deletions(-)
diff --git a/sci-libs/nanoflann/nanoflann-9999.ebuild b/sci-libs/nanoflann/nanoflann-9999.ebuild
index 4db99558405..0e91a4124d0 100644
--- a/sci-libs/nanoflann/nanoflann-9999.ebuild
+++ b/sci-libs/nanoflann/nanoflann-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit cmake-utils
+inherit cmake
DESCRIPTION="C++ header-only library for Nearest Neighbor (NN) search wih KD-trees"
HOMEPAGE="https://github.com/jlblancoc/nanoflann"
@@ -18,18 +18,16 @@ fi
LICENSE="BSD"
SLOT="0"
-IUSE=""
+IUSE="examples test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-cpp/eigen:3"
DEPEND="${RDEPEND}"
-src_prepare() {
- cmake-utils_src_prepare
-
- # do not compile examples
- cmake_comment_add_subdirectory examples
-}
-
-src_test() {
- "${CMAKE_MAKEFILE_GENERATOR}" -C "${BUILD_DIR}" -j1 test
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_EXAMPLES=$(usex examples)
+ -DBUILD_TESTS=$(usex test)
+ )
+ cmake_src_configure
}
next reply other threads:[~2021-01-24 13:49 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-24 13:49 David Seifert [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-08-30 16:59 [gentoo-commits] repo/gentoo:master commit in: sci-libs/nanoflann/ Matthias Maier
2025-08-30 16:59 Matthias Maier
2021-11-02 19:43 Sam James
2021-01-24 13:49 David Seifert
2021-01-24 13:49 David Seifert
2017-11-26 23:33 David Seifert
2017-08-14 16:04 Matthias Maier
2017-08-14 16:04 Matthias Maier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1611496096.4df9e749ae042a6b21c69195d1b44cad46a3029f.soap@gentoo \
--to=soap@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox