[gentoo-commits] repo/proj/guru:master commit in: sci-libs/ensmallen/

2022-05-04 Thread Haelwenn Monnier
commit: 274cf2a12b575170b3d394c15009f910531ce1ad
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Wed May  4 02:37:23 2022 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Wed May  4 02:37:23 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=274cf2a1

sci-libs/ensmallen: bump

Closes: https://bugs.gentoo.org/816804
Signed-off-by: Alessandro Barbieri  gmail.com>

 sci-libs/ensmallen/Manifest|  3 +--
 sci-libs/ensmallen/ensmallen-2.16.2.ebuild | 28 --
 ...allen-2.17.0.ebuild => ensmallen-2.19.0.ebuild} | 26 
 3 files changed, 22 insertions(+), 35 deletions(-)

diff --git a/sci-libs/ensmallen/Manifest b/sci-libs/ensmallen/Manifest
index f69c4c39a..46c0306ef 100644
--- a/sci-libs/ensmallen/Manifest
+++ b/sci-libs/ensmallen/Manifest
@@ -1,2 +1 @@
-DIST ensmallen-2.16.2.tar.gz 1294240 BLAKE2B 
b388f2c99f289dd20f6d94b5b185d872abc553637c6081ea3a80a3c82ce9ac8b1327496bf3eae6dc5cbf5f4ae12a9fd1e8ccf9c296007f9af9cbfc7560cd0301
 SHA512 
290932f8e423be7c57d8ba38783a29798df52a7505ded7683f969fa30391398edcca584daca1b1c42977f06180a802d4c3640a9ec24cd787a3914723e4eb6f8d
-DIST ensmallen-2.17.0.tar.gz 1318322 BLAKE2B 
cb74a3bc0118c9e702cc7e4d17326f12df45d5fadc63c8881c5dd2b9a79b004189369e1c7fcb2fc84e0bf7331da3937bffdf75b982de52314487f25191053164
 SHA512 
49dff47d50beabc74c0eb045f0e995348bc1cc022596de1780cad3e8fc6e6ef6cf97fb23f22c78a0662c377c1dd53d087df799d0fa98ebcc97c03c475b67fd07
+DIST ensmallen-2.19.0.tar.gz 1328515 BLAKE2B 
7e381e3e7b8ea335f681770294b57686957104e6074db431d2e3015711faf62123de5c8fc4ee80d8e2f2092fa71c508156957f291760e32bf52d98da60f320f5
 SHA512 
3c101385d75aa13d21406fd98d4220b5ebd88655ff42039d6d4b22e3a2f21f7dc59dc935c67b8178cbfd104c4c50e611bc787f254973c3410a349648b5ed0342

diff --git a/sci-libs/ensmallen/ensmallen-2.16.2.ebuild 
b/sci-libs/ensmallen/ensmallen-2.16.2.ebuild
deleted file mode 100644
index bd1c0530b..0
--- a/sci-libs/ensmallen/ensmallen-2.16.2.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-DESCRIPTION="header only C++ library for numerical optimization"
-HOMEPAGE="https://ensmallen.org;
-SRC_URI="https://github.com/mlpack/ensmallen/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-
-KEYWORDS="~amd64"
-
-LICENSE="BSD"
-SLOT="0"
-IUSE="openmp test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="sci-libs/armadillo[lapack]"
-DEPEND="${RDEPEND}"
-
-src_configure() {
-   local mycmakeargs=(
-   -DUSE_OPENMP=$(usex openmp)
-   -DBUILD_TESTS=$(usex test)
-   )
-   cmake_src_configure
-}

diff --git a/sci-libs/ensmallen/ensmallen-2.17.0.ebuild 
b/sci-libs/ensmallen/ensmallen-2.19.0.ebuild
similarity index 54%
rename from sci-libs/ensmallen/ensmallen-2.17.0.ebuild
rename to sci-libs/ensmallen/ensmallen-2.19.0.ebuild
index 2dc0d0e83..3c3baedb6 100644
--- a/sci-libs/ensmallen/ensmallen-2.17.0.ebuild
+++ b/sci-libs/ensmallen/ensmallen-2.19.0.ebuild
@@ -1,12 +1,15 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit cmake
+inherit cmake flag-o-matic
 
 DESCRIPTION="header only C++ library for numerical optimization"
-HOMEPAGE="https://ensmallen.org;
+HOMEPAGE="
+   https://ensmallen.org
+   https://github.com/mlpack/ensmallen
+"
 SRC_URI="https://github.com/mlpack/ensmallen/archive/${PV}.tar.gz -> 
${P}.tar.gz"
 
 KEYWORDS="~amd64"
@@ -17,12 +20,25 @@ IUSE="openmp test"
 RESTRICT="!test? ( test )"
 
 RDEPEND="sci-libs/armadillo[lapack]"
-DEPEND="${RDEPEND}"
+DEPEND="
+   ${RDEPEND}
+   test? ( dev-cpp/catch:0 )
+"
+
+src_prepare() {
+   rm tests/catch.hpp || die
+   use test && append-cxxflags "-I/usr/include/catch2"
+   cmake_src_prepare
+}
 
 src_configure() {
local mycmakeargs=(
-DUSE_OPENMP=$(usex openmp)
-   -DBUILD_TESTS=$(usex test)
)
cmake_src_configure
 }
+
+src_compile() {
+   use test && cmake_src_compile ensmallen_tests
+   return
+}



[gentoo-commits] repo/proj/guru:master commit in: sci-libs/ensmallen/

2021-10-05 Thread Theo Anderson
commit: 2761a6c52a0bffbdba01b3bbcefeeba8d7d4e800
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Tue Oct  5 20:53:04 2021 +
Commit: Theo Anderson  posteo  de>
CommitDate: Tue Oct  5 21:24:13 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2761a6c5

sci-libs/ensmallen: add 2.17.0

Signed-off-by: Alessandro Barbieri  gmail.com>

 sci-libs/ensmallen/Manifest|  1 +
 sci-libs/ensmallen/ensmallen-2.17.0.ebuild | 28 
 2 files changed, 29 insertions(+)

diff --git a/sci-libs/ensmallen/Manifest b/sci-libs/ensmallen/Manifest
index a8bcc31fa..f69c4c39a 100644
--- a/sci-libs/ensmallen/Manifest
+++ b/sci-libs/ensmallen/Manifest
@@ -1 +1,2 @@
 DIST ensmallen-2.16.2.tar.gz 1294240 BLAKE2B 
b388f2c99f289dd20f6d94b5b185d872abc553637c6081ea3a80a3c82ce9ac8b1327496bf3eae6dc5cbf5f4ae12a9fd1e8ccf9c296007f9af9cbfc7560cd0301
 SHA512 
290932f8e423be7c57d8ba38783a29798df52a7505ded7683f969fa30391398edcca584daca1b1c42977f06180a802d4c3640a9ec24cd787a3914723e4eb6f8d
+DIST ensmallen-2.17.0.tar.gz 1318322 BLAKE2B 
cb74a3bc0118c9e702cc7e4d17326f12df45d5fadc63c8881c5dd2b9a79b004189369e1c7fcb2fc84e0bf7331da3937bffdf75b982de52314487f25191053164
 SHA512 
49dff47d50beabc74c0eb045f0e995348bc1cc022596de1780cad3e8fc6e6ef6cf97fb23f22c78a0662c377c1dd53d087df799d0fa98ebcc97c03c475b67fd07

diff --git a/sci-libs/ensmallen/ensmallen-2.17.0.ebuild 
b/sci-libs/ensmallen/ensmallen-2.17.0.ebuild
new file mode 100644
index 0..2dc0d0e83
--- /dev/null
+++ b/sci-libs/ensmallen/ensmallen-2.17.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="header only C++ library for numerical optimization"
+HOMEPAGE="https://ensmallen.org;
+SRC_URI="https://github.com/mlpack/ensmallen/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+KEYWORDS="~amd64"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="openmp test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="sci-libs/armadillo[lapack]"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+   local mycmakeargs=(
+   -DUSE_OPENMP=$(usex openmp)
+   -DBUILD_TESTS=$(usex test)
+   )
+   cmake_src_configure
+}



[gentoo-commits] repo/proj/guru:master commit in: sci-libs/ensmallen/

2021-10-05 Thread Theo Anderson
commit: 900ba1d8183a6d92d9886a29d3b54a79ecee4a6a
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Tue Oct  5 20:52:47 2021 +
Commit: Theo Anderson  posteo  de>
CommitDate: Tue Oct  5 21:24:13 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=900ba1d8

sci-libs/ensmallen: drop 2.14.2, 2.15.0, 2.15.1, 2.16.0

Signed-off-by: Alessandro Barbieri  gmail.com>

 sci-libs/ensmallen/Manifest|  4 
 sci-libs/ensmallen/ensmallen-2.14.2.ebuild | 28 
 sci-libs/ensmallen/ensmallen-2.15.0.ebuild | 28 
 sci-libs/ensmallen/ensmallen-2.15.1.ebuild | 28 
 sci-libs/ensmallen/ensmallen-2.16.0.ebuild | 28 
 5 files changed, 116 deletions(-)

diff --git a/sci-libs/ensmallen/Manifest b/sci-libs/ensmallen/Manifest
index d74da89b9..a8bcc31fa 100644
--- a/sci-libs/ensmallen/Manifest
+++ b/sci-libs/ensmallen/Manifest
@@ -1,5 +1 @@
-DIST ensmallen-2.14.2.tar.gz 1262697 BLAKE2B 
c3ecd10271a476cdb03de0a74dd1e7d250273481b540d9cadb44ff7292cdb1f4abbefaf7c1a90bd33c68928f766db8afafd45f253735a36de9def6ab222597bb
 SHA512 
9f29d70f66748d6131b44fc2a580e9fc07131a3aeecaa9f6113fd635eaff8b52db90e487a389393a1976dcccb8c1f5850ea50e03308af90b58ba1c12fde2bd21
-DIST ensmallen-2.15.0.tar.gz 1266409 BLAKE2B 
379ea897d3b29440e89d65cb60c65dca3c34a530dd8a4cee321349d177455b020d4aa19ee1e701b46a325a8f56028c236ab80b0383bee84018952034106f7161
 SHA512 
7e8ea0d64788287e58ee14e922c81c18e1804a23dba3d144fe6e66de8a81dfd3755c9f36a1e8a480aa6e15f0f7b1ff886e0aeecde0be35993db0ba69ca7e12e0
-DIST ensmallen-2.15.1.tar.gz 1266496 BLAKE2B 
7ff803207c59be03fa47e7fddafb49176d307fbea89f5688bd591898fb36d7d8ee018dec933b59a06063dc6c2a7117d3ec0d330cd37d475e4f387528f2d86f6a
 SHA512 
4f0cda1ad0d02e823042fb6af03635677e3d5cac28f7f13fab20fc7f4b3d7fbe1b182777c573187a403eff5e5fd7e1e577e290a4b624a9c2a71cbfd347e14afa
-DIST ensmallen-2.16.0.tar.gz 1264948 BLAKE2B 
a58de7e7d8aa88988b08d76c2a5746daf9074ccc39bc8df9d21b61d745741d6521922b578e01b60e0d1657f84f377f411172a01d50bbcd30cca7142da0baeb7b
 SHA512 
39afc19936710d5595218292f5d6a055b4f644ca157f9fc2329fb18b71318b9f613dc26169921e1fda3dd949d06847dee4f09f13c1902a92e38826e122c1adc5
 DIST ensmallen-2.16.2.tar.gz 1294240 BLAKE2B 
b388f2c99f289dd20f6d94b5b185d872abc553637c6081ea3a80a3c82ce9ac8b1327496bf3eae6dc5cbf5f4ae12a9fd1e8ccf9c296007f9af9cbfc7560cd0301
 SHA512 
290932f8e423be7c57d8ba38783a29798df52a7505ded7683f969fa30391398edcca584daca1b1c42977f06180a802d4c3640a9ec24cd787a3914723e4eb6f8d

diff --git a/sci-libs/ensmallen/ensmallen-2.14.2.ebuild 
b/sci-libs/ensmallen/ensmallen-2.14.2.ebuild
deleted file mode 100644
index bd1c0530b..0
--- a/sci-libs/ensmallen/ensmallen-2.14.2.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-DESCRIPTION="header only C++ library for numerical optimization"
-HOMEPAGE="https://ensmallen.org;
-SRC_URI="https://github.com/mlpack/ensmallen/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-
-KEYWORDS="~amd64"
-
-LICENSE="BSD"
-SLOT="0"
-IUSE="openmp test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="sci-libs/armadillo[lapack]"
-DEPEND="${RDEPEND}"
-
-src_configure() {
-   local mycmakeargs=(
-   -DUSE_OPENMP=$(usex openmp)
-   -DBUILD_TESTS=$(usex test)
-   )
-   cmake_src_configure
-}

diff --git a/sci-libs/ensmallen/ensmallen-2.15.0.ebuild 
b/sci-libs/ensmallen/ensmallen-2.15.0.ebuild
deleted file mode 100644
index bd1c0530b..0
--- a/sci-libs/ensmallen/ensmallen-2.15.0.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-DESCRIPTION="header only C++ library for numerical optimization"
-HOMEPAGE="https://ensmallen.org;
-SRC_URI="https://github.com/mlpack/ensmallen/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-
-KEYWORDS="~amd64"
-
-LICENSE="BSD"
-SLOT="0"
-IUSE="openmp test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="sci-libs/armadillo[lapack]"
-DEPEND="${RDEPEND}"
-
-src_configure() {
-   local mycmakeargs=(
-   -DUSE_OPENMP=$(usex openmp)
-   -DBUILD_TESTS=$(usex test)
-   )
-   cmake_src_configure
-}

diff --git a/sci-libs/ensmallen/ensmallen-2.15.1.ebuild 
b/sci-libs/ensmallen/ensmallen-2.15.1.ebuild
deleted file mode 100644
index bd1c0530b..0
--- a/sci-libs/ensmallen/ensmallen-2.15.1.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-DESCRIPTION="header only C++ library for numerical optimization"
-HOMEPAGE="https://ensmallen.org;
-SRC_URI="https://github.com/mlpack/ensmallen/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-
-KEYWORDS="~amd64"
-
-LICENSE="BSD"
-SLOT="0"
-IUSE="openmp test"
-RESTRICT="!test? ( test )"
-

[gentoo-commits] repo/proj/guru:master commit in: sci-libs/ensmallen/

2021-06-13 Thread Haelwenn Monnier
commit: bc783bcc379c20d3bf645e9fde126d75754a1af8
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Fri Jun 11 15:33:06 2021 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Fri Jun 11 15:33:06 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bc783bcc

sci-libs/ensmallen: import from ::science

Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri  gmail.com>

 sci-libs/ensmallen/Manifest|  5 +
 sci-libs/ensmallen/ensmallen-2.14.2.ebuild | 28 
 sci-libs/ensmallen/ensmallen-2.15.0.ebuild | 28 
 sci-libs/ensmallen/ensmallen-2.15.1.ebuild | 28 
 sci-libs/ensmallen/ensmallen-2.16.0.ebuild | 28 
 sci-libs/ensmallen/ensmallen-2.16.2.ebuild | 28 
 sci-libs/ensmallen/metadata.xml|  8 
 7 files changed, 153 insertions(+)

diff --git a/sci-libs/ensmallen/Manifest b/sci-libs/ensmallen/Manifest
new file mode 100644
index 0..d74da89b9
--- /dev/null
+++ b/sci-libs/ensmallen/Manifest
@@ -0,0 +1,5 @@
+DIST ensmallen-2.14.2.tar.gz 1262697 BLAKE2B 
c3ecd10271a476cdb03de0a74dd1e7d250273481b540d9cadb44ff7292cdb1f4abbefaf7c1a90bd33c68928f766db8afafd45f253735a36de9def6ab222597bb
 SHA512 
9f29d70f66748d6131b44fc2a580e9fc07131a3aeecaa9f6113fd635eaff8b52db90e487a389393a1976dcccb8c1f5850ea50e03308af90b58ba1c12fde2bd21
+DIST ensmallen-2.15.0.tar.gz 1266409 BLAKE2B 
379ea897d3b29440e89d65cb60c65dca3c34a530dd8a4cee321349d177455b020d4aa19ee1e701b46a325a8f56028c236ab80b0383bee84018952034106f7161
 SHA512 
7e8ea0d64788287e58ee14e922c81c18e1804a23dba3d144fe6e66de8a81dfd3755c9f36a1e8a480aa6e15f0f7b1ff886e0aeecde0be35993db0ba69ca7e12e0
+DIST ensmallen-2.15.1.tar.gz 1266496 BLAKE2B 
7ff803207c59be03fa47e7fddafb49176d307fbea89f5688bd591898fb36d7d8ee018dec933b59a06063dc6c2a7117d3ec0d330cd37d475e4f387528f2d86f6a
 SHA512 
4f0cda1ad0d02e823042fb6af03635677e3d5cac28f7f13fab20fc7f4b3d7fbe1b182777c573187a403eff5e5fd7e1e577e290a4b624a9c2a71cbfd347e14afa
+DIST ensmallen-2.16.0.tar.gz 1264948 BLAKE2B 
a58de7e7d8aa88988b08d76c2a5746daf9074ccc39bc8df9d21b61d745741d6521922b578e01b60e0d1657f84f377f411172a01d50bbcd30cca7142da0baeb7b
 SHA512 
39afc19936710d5595218292f5d6a055b4f644ca157f9fc2329fb18b71318b9f613dc26169921e1fda3dd949d06847dee4f09f13c1902a92e38826e122c1adc5
+DIST ensmallen-2.16.2.tar.gz 1294240 BLAKE2B 
b388f2c99f289dd20f6d94b5b185d872abc553637c6081ea3a80a3c82ce9ac8b1327496bf3eae6dc5cbf5f4ae12a9fd1e8ccf9c296007f9af9cbfc7560cd0301
 SHA512 
290932f8e423be7c57d8ba38783a29798df52a7505ded7683f969fa30391398edcca584daca1b1c42977f06180a802d4c3640a9ec24cd787a3914723e4eb6f8d

diff --git a/sci-libs/ensmallen/ensmallen-2.14.2.ebuild 
b/sci-libs/ensmallen/ensmallen-2.14.2.ebuild
new file mode 100644
index 0..bd1c0530b
--- /dev/null
+++ b/sci-libs/ensmallen/ensmallen-2.14.2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="header only C++ library for numerical optimization"
+HOMEPAGE="https://ensmallen.org;
+SRC_URI="https://github.com/mlpack/ensmallen/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+KEYWORDS="~amd64"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="openmp test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="sci-libs/armadillo[lapack]"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+   local mycmakeargs=(
+   -DUSE_OPENMP=$(usex openmp)
+   -DBUILD_TESTS=$(usex test)
+   )
+   cmake_src_configure
+}

diff --git a/sci-libs/ensmallen/ensmallen-2.15.0.ebuild 
b/sci-libs/ensmallen/ensmallen-2.15.0.ebuild
new file mode 100644
index 0..bd1c0530b
--- /dev/null
+++ b/sci-libs/ensmallen/ensmallen-2.15.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="header only C++ library for numerical optimization"
+HOMEPAGE="https://ensmallen.org;
+SRC_URI="https://github.com/mlpack/ensmallen/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+KEYWORDS="~amd64"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="openmp test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="sci-libs/armadillo[lapack]"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+   local mycmakeargs=(
+   -DUSE_OPENMP=$(usex openmp)
+   -DBUILD_TESTS=$(usex test)
+   )
+   cmake_src_configure
+}

diff --git a/sci-libs/ensmallen/ensmallen-2.15.1.ebuild 
b/sci-libs/ensmallen/ensmallen-2.15.1.ebuild
new file mode 100644
index 0..bd1c0530b
--- /dev/null
+++ b/sci-libs/ensmallen/ensmallen-2.15.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="header only C++ library for numerical optimization"
+HOMEPAGE="https://ensmallen.org;