Gentoo Archives: gentoo-commits

From: Matthias Maier <tamiko@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/cpp-taskflow/
Date: Fri, 04 Sep 2020 16:13:39
Message-Id: 1599236002.5ce30845bee0de57f6f41d66fb5e4d01a2b7ed51.tamiko@gentoo
1 commit: 5ce30845bee0de57f6f41d66fb5e4d01a2b7ed51
2 Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 4 15:46:45 2020 +0000
4 Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 4 16:13:22 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ce30845
7
8 dev-cpp/cpp-taskflow: version bump to 2.6.0
9
10 Package-Manager: Portage-3.0.5, Repoman-3.0.1
11 Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>
12
13 dev-cpp/cpp-taskflow/Manifest | 1 +
14 dev-cpp/cpp-taskflow/cpp-taskflow-2.6.0.ebuild | 53 ++++++++++++++++++++++++++
15 2 files changed, 54 insertions(+)
16
17 diff --git a/dev-cpp/cpp-taskflow/Manifest b/dev-cpp/cpp-taskflow/Manifest
18 index 4c62f183ab2..3af8545a82b 100644
19 --- a/dev-cpp/cpp-taskflow/Manifest
20 +++ b/dev-cpp/cpp-taskflow/Manifest
21 @@ -1 +1,2 @@
22 DIST cpp-taskflow-2.4.0.tar.gz 76993334 BLAKE2B 8f257165ab72dbe6c1cf6a86886669008e9f16f1dfd4871defc452bdb9dfa3e45ab9bfbbdc874b4ba566a2a7d8984a666ce2933b2c6d2215467f7fbfa03ac520 SHA512 dd6c7500e39d7058871280d12e120bd28d9609e5289f1d7851b3b59e2c1bfe74d3040d902bd5b26895e558b563c8abad878e7bc343e199e7356940c02a64217f
23 +DIST cpp-taskflow-2.6.0.tar.gz 68626469 BLAKE2B d85b1615be47c1e98e613e7875424892613205a0cc3f380f7d6fd0521045c5750441e9267382ec5282299e4074a7b85f442e53f38a2f12aff7d3d925a94b8773 SHA512 43b023c7d744ae1e0baf6f504f32da481e950ec5cc34fe5511e4bbb8905203e4726917ee103b1c02544a75c6216c2ca481034be810b61a35511a3d7a2b278133
24
25 diff --git a/dev-cpp/cpp-taskflow/cpp-taskflow-2.6.0.ebuild b/dev-cpp/cpp-taskflow/cpp-taskflow-2.6.0.ebuild
26 new file mode 100644
27 index 00000000000..aba4692adef
28 --- /dev/null
29 +++ b/dev-cpp/cpp-taskflow/cpp-taskflow-2.6.0.ebuild
30 @@ -0,0 +1,53 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +inherit cmake-utils
37 +
38 +DESCRIPTION="Modern C++ Parallel Task Programming"
39 +HOMEPAGE="https://cpp-taskflow.github.io"
40 +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
41 +
42 +LICENSE="MIT"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~x86"
45 +IUSE="doc"
46 +
47 +RDEPEND=""
48 +DEPEND=""
49 +
50 +S="${WORKDIR}/taskflow-${PV}"
51 +
52 +PATCHES=(
53 +)
54 +
55 +HTML_DOCS=( docs/. )
56 +
57 +src_prepare() {
58 + default
59 +
60 + # fix library directoy
61 + sed -i "s#/lib#/$(get_libdir)#g" CMakeLists.txt || die "sed failed"
62 +
63 + cmake-utils_src_prepare
64 +}
65 +
66 +src_configure() {
67 + # FIXME: enable CUDA and TESTS via use flag
68 + local mycmakeargs=(
69 + -DTF_BUILD_CUDA=OFF
70 + -DTF_BUILD_TESTS=OFF
71 + -DTF_BUILD_EXAMPLES=OFF
72 + )
73 +
74 + cmake-utils_src_configure
75 +}
76 +
77 +src_install() {
78 + cmake-utils_src_install
79 +
80 + if $(use doc); then
81 + einstalldocs
82 + fi
83 +}