From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
Date: Sat, 22 Sep 2018 07:07:26 +0000 (UTC) [thread overview]
Message-ID: <1537600032.134dcea356c7709f87a9f07a6337e5a2afc26147.mgorny@gentoo> (raw)
commit: 134dcea356c7709f87a9f07a6337e5a2afc26147
Author: Peter Levine <plevine457 <AT> gmail <DOT> com>
AuthorDate: Tue Sep 18 21:52:54 2018 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Sep 22 07:07:12 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=134dcea3
dev-cpp/gtest: Version bump to 1.8.1
Reported-by: Arfrever Frehtes Taifersar Arahesis <arfrever.fta <AT> gmail.com>
Closes: https://bugs.gentoo.org/665650
Closes: https://github.com/gentoo/gentoo/pull/9867
Package-Manager: Portage-2.3.49, Repoman-2.3.10
dev-cpp/gtest/Manifest | 1 +
dev-cpp/gtest/gtest-1.8.1.ebuild | 74 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 75 insertions(+)
diff --git a/dev-cpp/gtest/Manifest b/dev-cpp/gtest/Manifest
index 991727f4505..035005dab21 100644
--- a/dev-cpp/gtest/Manifest
+++ b/dev-cpp/gtest/Manifest
@@ -1,2 +1,3 @@
DIST gtest-1.7.0.tar.gz 1001582 BLAKE2B 3d10c1e502c2fac1500d07301031a9328b29027a3f9719137e09d2c47556cf52bbc978a8fb7b37330a94beafa27d24c3bfc247b2f0d51306b53f43e7ae2373b4 SHA512 a9f5c047b39efb2d11b55ee9913662ca402ac6837b3ad2d278ecfbd1caf32ed4546f169e3e92503d57bf3b62ccf89cd062da1c7ea3638aae98e868d2766363c3
DIST gtest-1.8.0.tar.gz 1281617 BLAKE2B ac052b4d0eb0d8ded03a8c7dff05177818627b8a51f2dbc2c162b2ee2a5d1323539e7d0d02236d9ebb799995e018f0171c2fdaeb4de3bb339548265e50de79e6 SHA512 1dbece324473e53a83a60601b02c92c089f5d314761351974e097b2cf4d24af4296f9eb8653b6b03b1e363d9c5f793897acae1f0c7ac40149216035c4d395d9d
+DIST gtest-1.8.1.tar.gz 992298 BLAKE2B 40ef3417fe424205c0617f07207347ce671ac87605f8ac9b8a333b0b06e3fbef9f556041ee324c18f957f3258ab9fe06704f31cdd038355fb7890180eb77ced1 SHA512 e6283c667558e1fd6e49fa96e52af0e415a3c8037afe1d28b7ff1ec4c2ef8f49beb70a9327b7fc77eb4052a58c4ccad8b5260ec90e4bceeac7a46ff59c4369d7
diff --git a/dev-cpp/gtest/gtest-1.8.1.ebuild b/dev-cpp/gtest/gtest-1.8.1.ebuild
new file mode 100644
index 00000000000..7a444173666
--- /dev/null
+++ b/dev-cpp/gtest/gtest-1.8.1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+# Python is required for tests and some build tasks.
+PYTHON_COMPAT=( python2_7 pypy )
+
+inherit cmake-multilib python-any-r1
+
+if [[ ${PV} == "9999" ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/google/googletest"
+else
+ SRC_URI="https://github.com/google/googletest/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
+ S="${WORKDIR}"/googletest-release-${PV}
+fi
+
+DESCRIPTION="Google C++ Testing Framework"
+HOMEPAGE="https://github.com/google/googletest"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="doc examples test"
+
+DEPEND="test? ( ${PYTHON_DEPS} )"
+RDEPEND="!dev-cpp/gmock"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-9999-fix-gcc6-undefined-behavior.patch
+ "${FILESDIR}"/${PN}-1.8.0-increase-clone-stack-size.patch
+)
+
+pkg_setup() {
+ use test && python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ cmake-utils_src_prepare
+
+ sed -i -e '/set(cxx_base_flags /s:-Werror::' \
+ googletest/cmake/internal_utils.cmake || die "sed failed!"
+}
+
+multilib_src_configure() {
+ local mycmakeargs=(
+ -DBUILD_GMOCK=ON
+ -DINSTALL_GTEST=ON
+ -DBUILD_SHARED_LIBS=ON
+
+ # tests
+ -Dgmock_build_tests=$(usex test)
+ -Dgtest_build_tests=$(usex test)
+ -DPYTHON_EXECUTABLE="${PYTHON}"
+ )
+ cmake-utils_src_configure
+}
+
+multilib_src_install_all() {
+ einstalldocs
+
+ if use doc; then
+ docinto googletest
+ dodoc -r googletest/docs/.
+ docinto googlemock
+ dodoc -r googlemock/docs/.
+ fi
+
+ if use examples; then
+ docinto examples
+ dodoc googletest/samples/*.{cc,h}
+ fi
+}
next reply other threads:[~2018-09-22 7:07 UTC|newest]
Thread overview: 133+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-22 7:07 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-06-08 4:59 [gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/ Sam James
2025-06-08 4:59 Sam James
2025-06-08 4:59 Sam James
2025-04-05 0:42 Sam James
2024-10-14 7:16 Florian Schmaus
2024-10-14 7:16 Florian Schmaus
2024-10-14 7:16 Florian Schmaus
2024-10-14 7:16 Florian Schmaus
2024-10-14 7:16 Florian Schmaus
2024-08-25 15:21 Fabian Groffen
2024-07-09 7:00 Sam James
2024-07-09 7:00 Sam James
2024-07-09 7:00 Sam James
2024-06-26 14:42 Ionen Wolkens
2024-06-18 6:27 Sam James
2024-06-18 5:54 Joonas Niilola
2024-06-18 5:54 Joonas Niilola
2024-06-18 5:09 Sam James
2024-06-18 2:09 Sam James
2024-06-18 2:09 Sam James
2024-06-18 2:09 Sam James
2024-05-28 20:49 Sam James
2024-05-28 13:19 Sam James
2024-05-28 12:29 Michał Górny
2024-05-28 12:04 Michał Górny
2023-09-04 10:08 David Seifert
2023-09-04 10:08 David Seifert
2023-09-04 10:08 David Seifert
2023-09-04 10:08 David Seifert
2023-04-30 16:52 Arthur Zamarin
2023-04-30 16:52 Arthur Zamarin
2023-04-25 12:31 Joonas Niilola
2023-04-24 22:57 Sam James
2023-04-24 22:57 Sam James
2023-04-24 22:57 Sam James
2023-04-24 22:57 Sam James
2023-04-24 22:57 Sam James
2023-02-04 8:51 Viorel Munteanu
2023-02-04 8:51 Viorel Munteanu
2023-02-04 8:51 Viorel Munteanu
2023-02-04 8:51 Viorel Munteanu
2022-11-23 1:45 Sam James
2022-11-23 1:45 Sam James
2022-11-23 1:45 Sam James
2022-11-23 1:45 Sam James
2022-11-23 1:45 Sam James
2022-05-04 7:07 WANG Xuerui
2022-04-18 20:28 Sam James
2022-03-15 22:21 Mike Frysinger
2021-12-07 20:23 Sam James
2021-12-07 6:26 Agostino Sarubbo
2021-12-06 15:23 Sam James
2021-12-06 15:20 Sam James
2021-12-06 0:31 Sam James
2021-12-06 0:10 Sam James
2021-12-05 22:04 Sam James
2021-12-05 20:12 Arthur Zamarin
2021-10-12 20:24 Sam James
2021-10-12 20:24 Sam James
2021-10-12 20:24 Sam James
2021-10-12 20:24 Sam James
2021-10-12 20:24 Sam James
2021-10-04 7:45 Arthur Zamarin
2021-06-29 5:53 Yixun Lan
2021-01-06 18:38 Fabian Groffen
2020-12-13 23:23 Sam James
2020-09-20 20:21 Agostino Sarubbo
2020-09-07 8:47 Sergei Trofimovich
2020-09-07 8:20 Sergei Trofimovich
2020-08-15 7:26 Sergei Trofimovich
2020-08-11 18:53 Agostino Sarubbo
2020-08-11 14:18 Agostino Sarubbo
2020-08-11 14:12 Agostino Sarubbo
2020-08-11 10:29 Sam James
2020-08-04 19:02 Fabian Groffen
2020-08-04 19:02 Fabian Groffen
2020-07-19 10:43 Joonas Niilola
2020-07-19 10:43 Joonas Niilola
2020-07-19 10:43 Joonas Niilola
2020-07-19 10:43 Joonas Niilola
2020-07-19 10:43 Joonas Niilola
2019-10-09 3:19 Joonas Niilola
2019-10-09 3:19 Joonas Niilola
2019-09-13 17:27 Mikle Kolyada
2019-08-23 12:16 Agostino Sarubbo
2019-08-23 10:00 Agostino Sarubbo
2019-08-22 22:03 Agostino Sarubbo
2019-08-19 6:57 Sergei Trofimovich
2019-08-18 10:10 Sergei Trofimovich
2019-08-18 10:08 Sergei Trofimovich
2019-08-18 9:10 Sergei Trofimovich
2019-08-16 23:21 Aaron Bauman
2019-08-16 17:03 Mike Gilbert
2019-06-15 20:29 Michał Górny
2019-06-15 20:29 Michał Górny
2019-06-04 19:49 Andreas Sturmlechner
2019-03-28 0:07 Aaron Bauman
2019-03-27 23:44 Thomas Deutschmann
2019-03-27 20:04 Agostino Sarubbo
2018-09-22 7:07 Michał Górny
2018-09-22 7:07 Michał Górny
2018-09-22 7:07 Michał Górny
2018-09-22 7:07 Michał Górny
2018-09-22 7:07 Michał Górny
2018-09-22 7:07 Michał Górny
2018-06-07 21:20 Mikle Kolyada
2018-04-16 19:15 Mikle Kolyada
2018-04-02 17:35 Mart Raudsepp
2018-03-21 1:34 Matt Turner
2018-03-13 22:14 Sergei Trofimovich
2018-03-05 13:57 Tobias Klausmann
2018-02-17 22:30 Sergei Trofimovich
2018-02-17 8:43 Sergei Trofimovich
2018-02-13 20:11 Thomas Deutschmann
2018-02-13 7:46 Jason Zaman
2018-01-09 16:12 Mike Gilbert
2018-01-09 16:12 Mike Gilbert
2018-01-04 9:11 Mike Frysinger
2017-08-29 20:30 Patrice Clement
2017-08-29 20:30 Patrice Clement
2017-08-29 20:30 Patrice Clement
2017-08-29 20:30 Patrice Clement
2017-08-29 20:30 Patrice Clement
2017-07-10 10:35 Alexis Ballier
2017-06-11 4:00 Michael Palimaka
2017-05-06 7:23 Markus Meier
2017-04-22 7:33 Tobias Klausmann
2017-04-08 9:01 Jeroen Roovers
2017-04-07 16:05 Agostino Sarubbo
2016-10-18 19:26 Pacho Ramos
2015-12-22 8:58 Thomas Kahle
2015-09-01 18:57 Tobias Klausmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1537600032.134dcea356c7709f87a9f07a6337e5a2afc26147.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox