Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/benchmark/
Date: Thu, 17 Sep 2020 20:03:00
Message-Id: 1600372675.0eb7af30348058de3d9ddfb39aa1a9550d0d9955.sam@gentoo
1 commit: 0eb7af30348058de3d9ddfb39aa1a9550d0d9955
2 Author: William Breathitt Gray <vilhelm.gray <AT> gmail <DOT> com>
3 AuthorDate: Fri Sep 11 13:47:32 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 17 19:57:55 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0eb7af30
7
8 dev-cpp/benchmark: Version bump to 1.5.2
9
10 Closes: https://bugs.gentoo.org/741660
11 Signed-off-by: William Breathitt Gray <vilhelm.gray <AT> gmail.com>
12 Closes: https://github.com/gentoo/gentoo/pull/17503
13 Signed-off-by: Sam James <sam <AT> gentoo.org>
14
15 dev-cpp/benchmark/Manifest | 1 +
16 dev-cpp/benchmark/benchmark-1.5.2.ebuild | 26 ++++++++++++++++++++++++++
17 2 files changed, 27 insertions(+)
18
19 diff --git a/dev-cpp/benchmark/Manifest b/dev-cpp/benchmark/Manifest
20 index 1bc43e7976a..654804a904f 100644
21 --- a/dev-cpp/benchmark/Manifest
22 +++ b/dev-cpp/benchmark/Manifest
23 @@ -1 +1,2 @@
24 DIST benchmark-1.5.1.tar.gz 154896 BLAKE2B cb8d74b3e6662e35ea12809d8b62d1e3a6849668840c84697e7f4b2d29eaf68688bb1cda6f43c170e70366de88a93af79bb709d55dfc8d79140c11a31855a46b SHA512 1e8782ab6846b8b29c5eea41ed1ba19dd92a46a135cf74acdc588e2cd5ef05581c644d20fc0d6403456d65417538e1db80109ae87989601298b2fc56ae3c3161
25 +DIST benchmark-1.5.2.tar.gz 160235 BLAKE2B af14235d174e39b8bbb0a44960834b7d13b1aed6cd4494efa9eb58d32c051efdf244258a33b83b82ad82aa69917356c35ccb470caea838cb6fd7eda37f0f80f6 SHA512 a071613f3af669296aa613e0e64726bdcf27cc3db331d8003f49164581cd6935a86641ec435118ea590a9d722a926d3fef740e938e1a5f6eba8e2a5a615da1b0
26
27 diff --git a/dev-cpp/benchmark/benchmark-1.5.2.ebuild b/dev-cpp/benchmark/benchmark-1.5.2.ebuild
28 new file mode 100644
29 index 00000000000..c64fe45b19a
30 --- /dev/null
31 +++ b/dev-cpp/benchmark/benchmark-1.5.2.ebuild
32 @@ -0,0 +1,26 @@
33 +# Copyright 1999-2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +inherit cmake
39 +
40 +DESCRIPTION="A microbenchmark support library"
41 +HOMEPAGE="https://github.com/google/benchmark"
42 +SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
43 +
44 +LICENSE="Apache-2.0"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~x86"
47 +IUSE="test"
48 +RESTRICT="!test? ( test )"
49 +
50 +src_configure() {
51 + local mycmakeargs=(
52 + -DBENCHMARK_ENABLE_TESTING=$(usex test)
53 + -DBENCHMARK_ENABLE_GTEST_TESTS=OFF
54 + -DBENCHMARK_ENABLE_ASSEMBLY_TESTS=OFF
55 + )
56 +
57 + cmake_src_configure
58 +}