public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/nanoflann/
@ 2021-11-02 19:43 Sam James
  0 siblings, 0 replies; 7+ messages in thread
From: Sam James @ 2021-11-02 19:43 UTC (permalink / raw
  To: gentoo-commits

commit:     65182e68bcb6b04bdd38230b74f9c5ff4d9b04c4
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Nov  2 19:42:18 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Nov  2 19:42:18 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65182e68

sci-libs/nanoflann: fix github EGIT_REPO_URI

GitHub no longer supports git://, let's switch to https://.

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/nanoflann/nanoflann-1.3.2.ebuild | 2 +-
 sci-libs/nanoflann/nanoflann-9999.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/nanoflann/nanoflann-1.3.2.ebuild b/sci-libs/nanoflann/nanoflann-1.3.2.ebuild
index 0e91a4124d0..c18cb819c4f 100644
--- a/sci-libs/nanoflann/nanoflann-1.3.2.ebuild
+++ b/sci-libs/nanoflann/nanoflann-1.3.2.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://github.com/jlblancoc/nanoflann"
 
 if [[ ${PV} = *9999 ]]; then
 	inherit git-r3
-	EGIT_REPO_URI="git://github.com/jlblancoc/nanoflann.git"
+	EGIT_REPO_URI="https://github.com/jlblancoc/nanoflann.git"
 else
 	SRC_URI="https://github.com/jlblancoc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 	KEYWORDS="~amd64 ~x86"

diff --git a/sci-libs/nanoflann/nanoflann-9999.ebuild b/sci-libs/nanoflann/nanoflann-9999.ebuild
index 0e91a4124d0..c18cb819c4f 100644
--- a/sci-libs/nanoflann/nanoflann-9999.ebuild
+++ b/sci-libs/nanoflann/nanoflann-9999.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://github.com/jlblancoc/nanoflann"
 
 if [[ ${PV} = *9999 ]]; then
 	inherit git-r3
-	EGIT_REPO_URI="git://github.com/jlblancoc/nanoflann.git"
+	EGIT_REPO_URI="https://github.com/jlblancoc/nanoflann.git"
 else
 	SRC_URI="https://github.com/jlblancoc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 	KEYWORDS="~amd64 ~x86"


^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/nanoflann/
@ 2021-01-24 13:49 David Seifert
  0 siblings, 0 replies; 7+ messages in thread
From: David Seifert @ 2021-01-24 13:49 UTC (permalink / raw
  To: gentoo-commits

commit:     52523d3e273166ed0cb46ab6825cb2d1845a6fb0
Author:     Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Sun Jan 24 13:48:17 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Jan 24 13:48:17 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52523d3e

sci-libs/nanoflann: Remove old

Closes: https://github.com/gentoo/gentoo/pull/19177
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sci-libs/nanoflann/Manifest               |  1 -
 sci-libs/nanoflann/nanoflann-1.2.3.ebuild | 35 -------------------------------
 2 files changed, 36 deletions(-)

diff --git a/sci-libs/nanoflann/Manifest b/sci-libs/nanoflann/Manifest
index cfe4b96dabc..a11624ff8c3 100644
--- a/sci-libs/nanoflann/Manifest
+++ b/sci-libs/nanoflann/Manifest
@@ -1,2 +1 @@
-DIST nanoflann-1.2.3.tar.gz 1157793 BLAKE2B e6b3947c5c99689da5d3759e0217deca691bada8089cdd1e3cd41902b0db2533908fab1ff5474851064d3f2ab6a5a70429320bbf432a0381df4aec0139a6b2f4 SHA512 01d5226fb669c9ef21e1bd36bddb07c7bf8bbbf9798e90bfa7966de4ae01e05c669c33a73d37340c41c79fcab81c91c3991077d799a211985b2d0a2a365a8878
 DIST nanoflann-1.3.2.tar.gz 685060 BLAKE2B 2dd1ed9ae3f766099d86b00e1c84a11d9162930dba91053746177ff39b7c84f770120734a235b25196620f637b94986106d364db300f51c873171e7805849b7c SHA512 937d3787df389efe530060cd2723130251e2ca7937b10f8d770c7b0d21ffd972e6da21b2b9e655c5740d57b4af8f76f0cc6d9ae39527c440be8863be0deaa7ed

diff --git a/sci-libs/nanoflann/nanoflann-1.2.3.ebuild b/sci-libs/nanoflann/nanoflann-1.2.3.ebuild
deleted file mode 100644
index 4db99558405..00000000000
--- a/sci-libs/nanoflann/nanoflann-1.2.3.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils
-
-DESCRIPTION="C++ header-only library for Nearest Neighbor (NN) search wih KD-trees"
-HOMEPAGE="https://github.com/jlblancoc/nanoflann"
-
-if [[ ${PV} = *9999 ]]; then
-	inherit git-r3
-	EGIT_REPO_URI="git://github.com/jlblancoc/nanoflann.git"
-else
-	SRC_URI="https://github.com/jlblancoc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="BSD"
-SLOT="0"
-IUSE=""
-
-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
-}


^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/nanoflann/
@ 2021-01-24 13:49 David Seifert
  0 siblings, 0 replies; 7+ messages in thread
From: David Seifert @ 2021-01-24 13:49 UTC (permalink / raw
  To: gentoo-commits

commit:     f6823ceffa4968a9d87088687439f17d68fd7c64
Author:     Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Sun Jan 24 13:48:15 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Jan 24 13:48:15 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6823cef

sci-libs/nanoflann: Bump to 1.3.2

Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sci-libs/nanoflann/Manifest               |  1 +
 sci-libs/nanoflann/nanoflann-1.3.2.ebuild | 33 +++++++++++++++++++++++++++++++
 2 files changed, 34 insertions(+)

diff --git a/sci-libs/nanoflann/Manifest b/sci-libs/nanoflann/Manifest
index 231a1015624..cfe4b96dabc 100644
--- a/sci-libs/nanoflann/Manifest
+++ b/sci-libs/nanoflann/Manifest
@@ -1 +1,2 @@
 DIST nanoflann-1.2.3.tar.gz 1157793 BLAKE2B e6b3947c5c99689da5d3759e0217deca691bada8089cdd1e3cd41902b0db2533908fab1ff5474851064d3f2ab6a5a70429320bbf432a0381df4aec0139a6b2f4 SHA512 01d5226fb669c9ef21e1bd36bddb07c7bf8bbbf9798e90bfa7966de4ae01e05c669c33a73d37340c41c79fcab81c91c3991077d799a211985b2d0a2a365a8878
+DIST nanoflann-1.3.2.tar.gz 685060 BLAKE2B 2dd1ed9ae3f766099d86b00e1c84a11d9162930dba91053746177ff39b7c84f770120734a235b25196620f637b94986106d364db300f51c873171e7805849b7c SHA512 937d3787df389efe530060cd2723130251e2ca7937b10f8d770c7b0d21ffd972e6da21b2b9e655c5740d57b4af8f76f0cc6d9ae39527c440be8863be0deaa7ed

diff --git a/sci-libs/nanoflann/nanoflann-1.3.2.ebuild b/sci-libs/nanoflann/nanoflann-1.3.2.ebuild
new file mode 100644
index 00000000000..0e91a4124d0
--- /dev/null
+++ b/sci-libs/nanoflann/nanoflann-1.3.2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="C++ header-only library for Nearest Neighbor (NN) search wih KD-trees"
+HOMEPAGE="https://github.com/jlblancoc/nanoflann"
+
+if [[ ${PV} = *9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="git://github.com/jlblancoc/nanoflann.git"
+else
+	SRC_URI="https://github.com/jlblancoc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="examples test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-cpp/eigen:3"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+	local mycmakeargs=(
+		-DBUILD_EXAMPLES=$(usex examples)
+		-DBUILD_TESTS=$(usex test)
+	)
+	cmake_src_configure
+}


^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/nanoflann/
@ 2021-01-24 13:49 David Seifert
  0 siblings, 0 replies; 7+ messages in thread
From: David Seifert @ 2021-01-24 13:49 UTC (permalink / raw
  To: gentoo-commits

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
 }


^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/nanoflann/
@ 2017-11-26 23:33 David Seifert
  0 siblings, 0 replies; 7+ messages in thread
From: David Seifert @ 2017-11-26 23:33 UTC (permalink / raw
  To: gentoo-commits

commit:     eb4a7f129dfe3acbc85a72262dbc3a55caf1d45b
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 26 14:37:46 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Nov 26 23:33:10 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb4a7f12

sci-libs/nanoflann: [QA] Add cmake-utils_src_prepare

Closes: https://bugs.gentoo.org/638490
Package-Manager: Portage-2.3.16, Repoman-2.3.6

 sci-libs/nanoflann/Manifest               |  2 +-
 sci-libs/nanoflann/nanoflann-1.2.3.ebuild | 22 ++++++++++++----------
 sci-libs/nanoflann/nanoflann-9999.ebuild  | 16 +++++-----------
 3 files changed, 18 insertions(+), 22 deletions(-)

diff --git a/sci-libs/nanoflann/Manifest b/sci-libs/nanoflann/Manifest
index 09abb93da95..231a1015624 100644
--- a/sci-libs/nanoflann/Manifest
+++ b/sci-libs/nanoflann/Manifest
@@ -1 +1 @@
-DIST nanoflann-1.2.3.tar.gz 1157793 SHA256 5ef4dfb23872379fe9eb306aabd19c9df4cae852b72a923af01aea5e8d7a59c3 SHA512 01d5226fb669c9ef21e1bd36bddb07c7bf8bbbf9798e90bfa7966de4ae01e05c669c33a73d37340c41c79fcab81c91c3991077d799a211985b2d0a2a365a8878 WHIRLPOOL 2a1c9a21dbd7571e4c680a2b5e3636086df4e06142d885b390983228a3cf3d36f01d0389fe712f1d9a9106a55887353a1ea7c057a289c727e98b9bf5308c1b20
+DIST nanoflann-1.2.3.tar.gz 1157793 BLAKE2B e6b3947c5c99689da5d3759e0217deca691bada8089cdd1e3cd41902b0db2533908fab1ff5474851064d3f2ab6a5a70429320bbf432a0381df4aec0139a6b2f4 SHA512 01d5226fb669c9ef21e1bd36bddb07c7bf8bbbf9798e90bfa7966de4ae01e05c669c33a73d37340c41c79fcab81c91c3991077d799a211985b2d0a2a365a8878

diff --git a/sci-libs/nanoflann/nanoflann-1.2.3.ebuild b/sci-libs/nanoflann/nanoflann-1.2.3.ebuild
index e82a84965d8..4db99558405 100644
--- a/sci-libs/nanoflann/nanoflann-1.2.3.ebuild
+++ b/sci-libs/nanoflann/nanoflann-1.2.3.ebuild
@@ -7,27 +7,29 @@ inherit cmake-utils
 
 DESCRIPTION="C++ header-only library for Nearest Neighbor (NN) search wih KD-trees"
 HOMEPAGE="https://github.com/jlblancoc/nanoflann"
-SRC_URI="https://github.com/jlblancoc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+if [[ ${PV} = *9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="git://github.com/jlblancoc/nanoflann.git"
+else
+	SRC_URI="https://github.com/jlblancoc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
 IUSE=""
 
-RDEPEND="dev-cpp/eigen:*"
+RDEPEND="dev-cpp/eigen:3"
 DEPEND="${RDEPEND}"
 
 src_prepare() {
-	eapply_user
+	cmake-utils_src_prepare
 
 	# do not compile examples
-	sed -ie 's/add_subdirectory(examples)//g' CMakeLists.txt || die "sed failed"
+	cmake_comment_add_subdirectory examples
 }
 
 src_test() {
-	cd "${BUILD_DIR}" && emake -j1 test
-}
-
-src_compile() {
-	:
+	"${CMAKE_MAKEFILE_GENERATOR}" -C "${BUILD_DIR}" -j1 test
 }

diff --git a/sci-libs/nanoflann/nanoflann-9999.ebuild b/sci-libs/nanoflann/nanoflann-9999.ebuild
index 2c8467c0046..4db99558405 100644
--- a/sci-libs/nanoflann/nanoflann-9999.ebuild
+++ b/sci-libs/nanoflann/nanoflann-9999.ebuild
@@ -8,11 +8,9 @@ inherit cmake-utils
 DESCRIPTION="C++ header-only library for Nearest Neighbor (NN) search wih KD-trees"
 HOMEPAGE="https://github.com/jlblancoc/nanoflann"
 
-if [[ ${PV} = *9999* ]]; then
+if [[ ${PV} = *9999 ]]; then
 	inherit git-r3
 	EGIT_REPO_URI="git://github.com/jlblancoc/nanoflann.git"
-	SRC_URI=""
-	KEYWORDS=""
 else
 	SRC_URI="https://github.com/jlblancoc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 	KEYWORDS="~amd64 ~x86"
@@ -22,20 +20,16 @@ LICENSE="BSD"
 SLOT="0"
 IUSE=""
 
-RDEPEND="dev-cpp/eigen:*"
+RDEPEND="dev-cpp/eigen:3"
 DEPEND="${RDEPEND}"
 
 src_prepare() {
-	eapply_user
+	cmake-utils_src_prepare
 
 	# do not compile examples
-	sed -ie 's/add_subdirectory(examples)//g' CMakeLists.txt || die "sed failed"
+	cmake_comment_add_subdirectory examples
 }
 
 src_test() {
-	cd "${BUILD_DIR}" && emake -j1 test
-}
-
-src_compile() {
-	:
+	"${CMAKE_MAKEFILE_GENERATOR}" -C "${BUILD_DIR}" -j1 test
 }


^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/nanoflann/
@ 2017-08-14 16:04 Matthias Maier
  0 siblings, 0 replies; 7+ messages in thread
From: Matthias Maier @ 2017-08-14 16:04 UTC (permalink / raw
  To: gentoo-commits

commit:     9475103e8faf002aef0a0e4e877b9d28936391e2
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 14 15:57:59 2017 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Mon Aug 14 16:01:03 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9475103e

sci-libs/nanoflann: initial commit; add version 1.2.3 to the tree

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 sci-libs/nanoflann/Manifest               |  1 +
 sci-libs/nanoflann/metadata.xml           | 22 +++++++++++++++++++++
 sci-libs/nanoflann/nanoflann-1.2.3.ebuild | 33 +++++++++++++++++++++++++++++++
 3 files changed, 56 insertions(+)

diff --git a/sci-libs/nanoflann/Manifest b/sci-libs/nanoflann/Manifest
new file mode 100644
index 00000000000..09abb93da95
--- /dev/null
+++ b/sci-libs/nanoflann/Manifest
@@ -0,0 +1 @@
+DIST nanoflann-1.2.3.tar.gz 1157793 SHA256 5ef4dfb23872379fe9eb306aabd19c9df4cae852b72a923af01aea5e8d7a59c3 SHA512 01d5226fb669c9ef21e1bd36bddb07c7bf8bbbf9798e90bfa7966de4ae01e05c669c33a73d37340c41c79fcab81c91c3991077d799a211985b2d0a2a365a8878 WHIRLPOOL 2a1c9a21dbd7571e4c680a2b5e3636086df4e06142d885b390983228a3cf3d36f01d0389fe712f1d9a9106a55887353a1ea7c057a289c727e98b9bf5308c1b20

diff --git a/sci-libs/nanoflann/metadata.xml b/sci-libs/nanoflann/metadata.xml
new file mode 100644
index 00000000000..054bd6c64eb
--- /dev/null
+++ b/sci-libs/nanoflann/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>tamiko@gentoo.org</email>
+		<name>Matthias Maier</name>
+	</maintainer>
+	<maintainer type="project">
+		<email>sci@gentoo.org</email>
+		<name>Gentoo Science Project</name>
+	</maintainer>
+	<longdescription lang="en">
+		nanoflann is a C++ header-only library for building KD-Trees,
+		mostly optimized for 2D or 3D point clouds. This library is a fork
+		(and a subset) of the <pkg>sci-libs/flann</pkg> library.
+	</longdescription>
+	<use>
+	</use>
+	<upstream>
+		<remote-id type="github">jlblancoc/nanoflann</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/sci-libs/nanoflann/nanoflann-1.2.3.ebuild b/sci-libs/nanoflann/nanoflann-1.2.3.ebuild
new file mode 100644
index 00000000000..e82a84965d8
--- /dev/null
+++ b/sci-libs/nanoflann/nanoflann-1.2.3.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="C++ header-only library for Nearest Neighbor (NN) search wih KD-trees"
+HOMEPAGE="https://github.com/jlblancoc/nanoflann"
+SRC_URI="https://github.com/jlblancoc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-cpp/eigen:*"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+	eapply_user
+
+	# do not compile examples
+	sed -ie 's/add_subdirectory(examples)//g' CMakeLists.txt || die "sed failed"
+}
+
+src_test() {
+	cd "${BUILD_DIR}" && emake -j1 test
+}
+
+src_compile() {
+	:
+}


^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/nanoflann/
@ 2017-08-14 16:04 Matthias Maier
  0 siblings, 0 replies; 7+ messages in thread
From: Matthias Maier @ 2017-08-14 16:04 UTC (permalink / raw
  To: gentoo-commits

commit:     1bcd2a8084e8fc53227d9cf6a9e44dac5a08bd46
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 14 16:00:43 2017 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Mon Aug 14 16:01:03 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bcd2a80

sci-libs/nanoflann: add a live ebuild

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 sci-libs/nanoflann/nanoflann-9999.ebuild | 41 ++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/sci-libs/nanoflann/nanoflann-9999.ebuild b/sci-libs/nanoflann/nanoflann-9999.ebuild
new file mode 100644
index 00000000000..2c8467c0046
--- /dev/null
+++ b/sci-libs/nanoflann/nanoflann-9999.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="C++ header-only library for Nearest Neighbor (NN) search wih KD-trees"
+HOMEPAGE="https://github.com/jlblancoc/nanoflann"
+
+if [[ ${PV} = *9999* ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="git://github.com/jlblancoc/nanoflann.git"
+	SRC_URI=""
+	KEYWORDS=""
+else
+	SRC_URI="https://github.com/jlblancoc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+
+RDEPEND="dev-cpp/eigen:*"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+	eapply_user
+
+	# do not compile examples
+	sed -ie 's/add_subdirectory(examples)//g' CMakeLists.txt || die "sed failed"
+}
+
+src_test() {
+	cd "${BUILD_DIR}" && emake -j1 test
+}
+
+src_compile() {
+	:
+}


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-11-02 19:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-02 19:43 [gentoo-commits] repo/gentoo:master commit in: sci-libs/nanoflann/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2021-01-24 13:49 David Seifert
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox