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: Sat, 26 Sep 2020 18:28:10
Message-Id: 1601144027.c21cfa7e2374652a8776fc202d2ab8175d603f17.epsilon-0@gentoo
1 commit: c21cfa7e2374652a8776fc202d2ab8175d603f17
2 Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
3 AuthorDate: Sat Sep 26 18:13:47 2020 +0000
4 Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
5 CommitDate: Sat Sep 26 18:13:47 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=c21cfa7e
7
8 sci-libs/ensmallen: fast numerical library
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.1
11 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
12
13 sci-libs/ensmallen/ensmallen-2.14.2.ebuild | 28 ++++++++++++++++++++++++++++
14 sci-libs/ensmallen/metadata.xml | 15 +++++++++++++++
15 2 files changed, 43 insertions(+)
16
17 diff --git a/sci-libs/ensmallen/ensmallen-2.14.2.ebuild b/sci-libs/ensmallen/ensmallen-2.14.2.ebuild
18 new file mode 100644
19 index 000000000..bb93e8246
20 --- /dev/null
21 +++ b/sci-libs/ensmallen/ensmallen-2.14.2.ebuild
22 @@ -0,0 +1,28 @@
23 +# Copyright 1999-2020 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=7
27 +
28 +inherit cmake
29 +
30 +DESCRIPTION="header only C++ library for numerical optimization"
31 +HOMEPAGE="https://ensmallen.org"
32 +SRC_URI="https://github.com/mlpack/ensmallen/archive/${PV}.tar.gz -> ${P}.tar.gz"
33 +
34 +KEYWORDS="~amd64"
35 +
36 +LICENSE="BSD"
37 +SLOT="0"
38 +IUSE="openmp test"
39 +RESTRICT="!test? ( test )"
40 +
41 +RDEPEND="sci-libs/armadillo[lapack]"
42 +DEPEND="${RDEPEND}"
43 +
44 +src_configure() {
45 + local mycmakeargs=(
46 + -DUSE_OPENMP=$(usex openmp)
47 + -DBUILD_TESTS=$(usex test)
48 + )
49 + cmake_src_configure
50 +}
51
52 diff --git a/sci-libs/ensmallen/metadata.xml b/sci-libs/ensmallen/metadata.xml
53 new file mode 100644
54 index 000000000..043f7babc
55 --- /dev/null
56 +++ b/sci-libs/ensmallen/metadata.xml
57 @@ -0,0 +1,15 @@
58 +<?xml version="1.0" encoding="UTF-8"?>
59 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
60 +<pkgmetadata>
61 + <maintainer type="person">
62 + <email>gentoo@×××××.cc</email>
63 + <name>Aisha Tammy</name>
64 + </maintainer>
65 + <maintainer type="project">
66 + <email>sci@g.o</email>
67 + <name>Gentoo Science Project</name>
68 + </maintainer>
69 + <upstream>
70 + <remote-id type="github">mlpack/ensmallen</remote-id>
71 + </upstream>
72 +</pkgmetadata>