public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: sci-libs/mlpack/
@ 2022-05-06  0:36 Alessandro Barbieri
  0 siblings, 0 replies; 3+ messages in thread
From: Alessandro Barbieri @ 2022-05-06  0:36 UTC (permalink / raw
  To: gentoo-commits

commit:     26626b7283d6a04121ab5ef8495d3527a2600cbd
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Fri May  6 00:18:41 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Fri May  6 00:18:41 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=26626b72

sci-libs/mlpack: buld tests, system catch

Closes: https://bugs.gentoo.org/842801
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sci-libs/mlpack/mlpack-3.4.2_p20220501.ebuild | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/sci-libs/mlpack/mlpack-3.4.2_p20220501.ebuild b/sci-libs/mlpack/mlpack-3.4.2_p20220501.ebuild
index 8c4e12677..5073d26cc 100644
--- a/sci-libs/mlpack/mlpack-3.4.2_p20220501.ebuild
+++ b/sci-libs/mlpack/mlpack-3.4.2_p20220501.ebuild
@@ -84,6 +84,7 @@ RDEPEND="
 DEPEND="
 	${RDEPEND}
 	R? ( dev-R/pkgbuild )
+	test? ( dev-cpp/catch:0 )
 "
 BDEPEND="
 	app-arch/unzip
@@ -111,6 +112,7 @@ src_unpack() {
 }
 
 src_prepare() {
+	rm src/mlpack/tests/catch.hpp
 	rm -r src/mlpack/core/std_backport || die
 	rm -r src/mlpack/core/cereal/{pair_associative_container,unordered_map}.hpp || die
 
@@ -121,12 +123,9 @@ src_prepare() {
 	cmake_src_prepare
 }
 
-src_compile() {
-	cmake_src_compile
-}
-
 src_configure() {
 	use R && append-cxxflags "-larmadillo"
+	append-cxxflags "-I/usr/include/catch2"
 
 	local mycmakeargs=(
 		-DBUILD_CLI_EXECUTABLES=ON
@@ -158,6 +157,11 @@ src_configure() {
 	cmake_src_configure
 }
 
+src_compile() {
+	cmake_src_compile
+	use test && cmake_src_compile mlpack_test
+}
+
 src_install() {
 	cmake_src_install
 


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

* [gentoo-commits] repo/proj/guru:dev commit in: sci-libs/mlpack/
@ 2022-05-24 17:52 Alessandro Barbieri
  0 siblings, 0 replies; 3+ messages in thread
From: Alessandro Barbieri @ 2022-05-24 17:52 UTC (permalink / raw
  To: gentoo-commits

commit:     6e2326fbc2ecb277d99bf92da00e01ccbe9e9acd
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Tue May 24 17:52:14 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Tue May 24 17:52:14 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6e2326fb

sci-libs/mlpack: fix catch removal

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sci-libs/mlpack/mlpack-3.4.2_p20220501.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/mlpack/mlpack-3.4.2_p20220501.ebuild b/sci-libs/mlpack/mlpack-3.4.2_p20220501.ebuild
index 0ff16375f..29b2f8f45 100644
--- a/sci-libs/mlpack/mlpack-3.4.2_p20220501.ebuild
+++ b/sci-libs/mlpack/mlpack-3.4.2_p20220501.ebuild
@@ -113,7 +113,7 @@ src_unpack() {
 }
 
 src_prepare() {
-	rm src/mlpack/tescatch.hpp
+	rm src/mlpack/tests/catch.hpp || die
 	rm -r src/mlpack/core/std_backport || die
 	rm -r src/mlpack/core/cereal/{pair_associative_container,unordered_map}.hpp || die
 


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

* [gentoo-commits] repo/proj/guru:dev commit in: sci-libs/mlpack/
@ 2022-05-28 12:53 Alessandro Barbieri
  0 siblings, 0 replies; 3+ messages in thread
From: Alessandro Barbieri @ 2022-05-28 12:53 UTC (permalink / raw
  To: gentoo-commits

commit:     03023bffa4518a2d0bed5ab8c1e4f146bf4f127a
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat May 28 12:51:55 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat May 28 12:53:33 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=03023bff

sci-libs/mlpack: enable py3.10

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sci-libs/mlpack/mlpack-3.4.2_p20220501.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/mlpack/mlpack-3.4.2_p20220501.ebuild b/sci-libs/mlpack/mlpack-3.4.2_p20220501.ebuild
index 29b2f8f45..0b59057d3 100644
--- a/sci-libs/mlpack/mlpack-3.4.2_p20220501.ebuild
+++ b/sci-libs/mlpack/mlpack-3.4.2_p20220501.ebuild
@@ -28,7 +28,7 @@ EGO_SUM=(
 	"rsc.io/pdf v0.1.1/go.mod"
 	)
 GO_OPTIONAL=1
-PYTHON_COMPAT=( python3_{8..9} )
+PYTHON_COMPAT=( python3_{8..10} )
 
 inherit cmake flag-o-matic go-module python-single-r1
 


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

end of thread, other threads:[~2022-05-28 12:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-24 17:52 [gentoo-commits] repo/proj/guru:dev commit in: sci-libs/mlpack/ Alessandro Barbieri
  -- strict thread matches above, loose matches on Subject: below --
2022-05-28 12:53 Alessandro Barbieri
2022-05-06  0:36 Alessandro Barbieri

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