Gentoo Archives: gentoo-commits

From: Aisha Tammy <gentoo@×××××.cc>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/ensmallen/
Date: Wed, 23 Dec 2020 05:39:45
Message-Id: 1608701975.856d88d5b61462241a36dcd90ad2b42b5a95a4d9.epsilon-0@gentoo
1 commit: 856d88d5b61462241a36dcd90ad2b42b5a95a4d9
2 Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
3 AuthorDate: Wed Dec 23 05:39:35 2020 +0000
4 Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
5 CommitDate: Wed Dec 23 05:39:35 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=856d88d5
7
8 sci-libs/ensmallen: version bump to 2.15.1
9
10 Package-Manager: Portage-3.0.12, Repoman-3.0.2
11 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
12
13 sci-libs/ensmallen/ensmallen-2.15.1.ebuild | 28 ++++++++++++++++++++++++++++
14 1 file changed, 28 insertions(+)
15
16 diff --git a/sci-libs/ensmallen/ensmallen-2.15.1.ebuild b/sci-libs/ensmallen/ensmallen-2.15.1.ebuild
17 new file mode 100644
18 index 000000000..bb93e8246
19 --- /dev/null
20 +++ b/sci-libs/ensmallen/ensmallen-2.15.1.ebuild
21 @@ -0,0 +1,28 @@
22 +# Copyright 1999-2020 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +
27 +inherit cmake
28 +
29 +DESCRIPTION="header only C++ library for numerical optimization"
30 +HOMEPAGE="https://ensmallen.org"
31 +SRC_URI="https://github.com/mlpack/ensmallen/archive/${PV}.tar.gz -> ${P}.tar.gz"
32 +
33 +KEYWORDS="~amd64"
34 +
35 +LICENSE="BSD"
36 +SLOT="0"
37 +IUSE="openmp test"
38 +RESTRICT="!test? ( test )"
39 +
40 +RDEPEND="sci-libs/armadillo[lapack]"
41 +DEPEND="${RDEPEND}"
42 +
43 +src_configure() {
44 + local mycmakeargs=(
45 + -DUSE_OPENMP=$(usex openmp)
46 + -DBUILD_TESTS=$(usex test)
47 + )
48 + cmake_src_configure
49 +}