[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: f1f3412eae055074e3e5e570c226f37320e4cee0 Author: Fabian Groffen gentoo org> AuthorDate: Sun Aug 25 15:19:38 2024 + Commit: Fabian Groffen gentoo org> CommitDate: Sun Aug 25 15:21:19 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1f3412e dev-cpp/gtest-1.14.0-r1: marked ~arm64-macos Signed-off-by: Fabian Groffen gentoo.org> dev-cpp/gtest/gtest-1.14.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.14.0-r1.ebuild b/dev-cpp/gtest/gtest-1.14.0-r1.ebuild index 927e75f3970d..931f57f2e5cf 100644 --- a/dev-cpp/gtest/gtest-1.14.0-r1.ebuild +++ b/dev-cpp/gtest/gtest-1.14.0-r1.ebuild @@ -21,7 +21,7 @@ else -> ${P}.tar.gz" S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT} fi - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" fi DESCRIPTION="Google C++ Testing Framework"
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 5fd12de35f20b33e36e5d167933ce9fa52aaf2ea Author: Sam James gentoo org> AuthorDate: Tue Jun 18 06:26:54 2024 + Commit: Sam James gentoo org> CommitDate: Tue Jun 18 06:26:54 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fd12de3 dev-cpp/gtest: Stabilize 1.14.0-r1 arm64, #932939 Signed-off-by: Sam James gentoo.org> dev-cpp/gtest/gtest-1.14.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.14.0-r1.ebuild b/dev-cpp/gtest/gtest-1.14.0-r1.ebuild index f44c6db1b469..ae470f21a696 100644 --- a/dev-cpp/gtest/gtest-1.14.0-r1.ebuild +++ b/dev-cpp/gtest/gtest-1.14.0-r1.ebuild @@ -21,7 +21,7 @@ else -> ${P}.tar.gz" S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT} fi - KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" fi DESCRIPTION="Google C++ Testing Framework"
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 34223d152cb6168d51f0539389062c5642127031 Author: Joonas Niilola gentoo org> AuthorDate: Tue Jun 18 05:53:56 2024 + Commit: Joonas Niilola gentoo org> CommitDate: Tue Jun 18 05:54:27 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34223d15 dev-cpp/gtest: Stabilize 1.14.0-r1 amd64, #932939 Signed-off-by: Joonas Niilola gentoo.org> dev-cpp/gtest/gtest-1.14.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.14.0-r1.ebuild b/dev-cpp/gtest/gtest-1.14.0-r1.ebuild index 1dc78ff92f1d..7eddf07855bd 100644 --- a/dev-cpp/gtest/gtest-1.14.0-r1.ebuild +++ b/dev-cpp/gtest/gtest-1.14.0-r1.ebuild @@ -21,7 +21,7 @@ else -> ${P}.tar.gz" S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT} fi - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" fi DESCRIPTION="Google C++ Testing Framework"
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 690e46e76cf75741f663a6b866ca89b5824dd6f8 Author: Joonas Niilola gentoo org> AuthorDate: Tue Jun 18 05:54:14 2024 + Commit: Joonas Niilola gentoo org> CommitDate: Tue Jun 18 05:54:27 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=690e46e7 dev-cpp/gtest: Stabilize 1.14.0-r1 x86, #932939 Signed-off-by: Joonas Niilola gentoo.org> dev-cpp/gtest/gtest-1.14.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.14.0-r1.ebuild b/dev-cpp/gtest/gtest-1.14.0-r1.ebuild index 7eddf07855bd..f44c6db1b469 100644 --- a/dev-cpp/gtest/gtest-1.14.0-r1.ebuild +++ b/dev-cpp/gtest/gtest-1.14.0-r1.ebuild @@ -21,7 +21,7 @@ else -> ${P}.tar.gz" S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT} fi - KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" fi DESCRIPTION="Google C++ Testing Framework"
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: a4c5095b6aceb64e568c82544f17c453a9605c6c Author: Sam James gentoo org> AuthorDate: Tue Jun 18 05:09:31 2024 + Commit: Sam James gentoo org> CommitDate: Tue Jun 18 05:09:31 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4c5095b dev-cpp/gtest: Stabilize 1.14.0-r1 ppc64, #932939 Signed-off-by: Sam James gentoo.org> dev-cpp/gtest/gtest-1.14.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.14.0-r1.ebuild b/dev-cpp/gtest/gtest-1.14.0-r1.ebuild index ecb89314e216..1dc78ff92f1d 100644 --- a/dev-cpp/gtest/gtest-1.14.0-r1.ebuild +++ b/dev-cpp/gtest/gtest-1.14.0-r1.ebuild @@ -21,7 +21,7 @@ else -> ${P}.tar.gz" S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT} fi - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" fi DESCRIPTION="Google C++ Testing Framework"
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: adc3eccfa59cf9f0c62e894f99c12d6b9872747e Author: Peter Levine gmail com> AuthorDate: Mon Jun 17 03:25:32 2024 + Commit: Sam James gentoo org> CommitDate: Tue Jun 18 02:08:51 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adc3eccf dev-cpp/gtest: enable py3.13 Signed-off-by: Peter Levine gmail.com> Signed-off-by: Sam James gentoo.org> dev-cpp/gtest/gtest-1.14.0.ebuild | 2 +- dev-cpp/gtest/gtest-.ebuild | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dev-cpp/gtest/gtest-1.14.0.ebuild b/dev-cpp/gtest/gtest-1.14.0.ebuild index db197bf961d2..307c8242b1c9 100644 --- a/dev-cpp/gtest/gtest-1.14.0.ebuild +++ b/dev-cpp/gtest/gtest-1.14.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 # Python is required for tests and some build tasks. -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit cmake-multilib python-any-r1 diff --git a/dev-cpp/gtest/gtest-.ebuild b/dev-cpp/gtest/gtest-.ebuild index 5351c69b1cd0..175fed22f13f 100644 --- a/dev-cpp/gtest/gtest-.ebuild +++ b/dev-cpp/gtest/gtest-.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 # Python is required for tests and some build tasks. -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit cmake-multilib python-any-r1
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: f58b8c8536d5e5f8453fcf7e04f2505b2a627a67 Author: Peter Levine gmail com> AuthorDate: Mon Jun 17 06:18:59 2024 + Commit: Sam James gentoo org> CommitDate: Tue Jun 18 02:08:52 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f58b8c85 dev-cpp/gtest: fix test failure with -O2/-O3 on arm hardfloat arch Testing on arm hardfloat architecture with -O2/-O3 causes a unittest to fail. Do like Debian does and replace with -O1 until upstream addresses it. Closes: https://bugs.gentoo.org/925093 Suggested-by: Sam James gentoo.org> Signed-off-by: Peter Levine gmail.com> Signed-off-by: Sam James gentoo.org> dev-cpp/gtest/{gtest-.ebuild => gtest-1.14.0-r1.ebuild} | 6 +- dev-cpp/gtest/gtest-.ebuild | 6 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/dev-cpp/gtest/gtest-.ebuild b/dev-cpp/gtest/gtest-1.14.0-r1.ebuild similarity index 90% copy from dev-cpp/gtest/gtest-.ebuild copy to dev-cpp/gtest/gtest-1.14.0-r1.ebuild index 175fed22f13f..aed50c96f6e4 100644 --- a/dev-cpp/gtest/gtest-.ebuild +++ b/dev-cpp/gtest/gtest-1.14.0-r1.ebuild @@ -6,7 +6,7 @@ EAPI=8 # Python is required for tests and some build tasks. PYTHON_COMPAT=( python3_{10..13} ) -inherit cmake-multilib python-any-r1 +inherit cmake-multilib flag-o-matic python-any-r1 toolchain-funcs if [[ ${PV} == "" ]]; then inherit git-r3 @@ -39,6 +39,10 @@ pkg_setup() { } multilib_src_configure() { + if use arm && [[ $(tc-is-softfloat) =~ (softfp)|(no) ]]; then + replace-flags -O* -O1 # bug #925093 + fi + local mycmakeargs=( -DBUILD_GMOCK=ON -DINSTALL_GTEST=ON diff --git a/dev-cpp/gtest/gtest-.ebuild b/dev-cpp/gtest/gtest-.ebuild index 175fed22f13f..aed50c96f6e4 100644 --- a/dev-cpp/gtest/gtest-.ebuild +++ b/dev-cpp/gtest/gtest-.ebuild @@ -6,7 +6,7 @@ EAPI=8 # Python is required for tests and some build tasks. PYTHON_COMPAT=( python3_{10..13} ) -inherit cmake-multilib python-any-r1 +inherit cmake-multilib flag-o-matic python-any-r1 toolchain-funcs if [[ ${PV} == "" ]]; then inherit git-r3 @@ -39,6 +39,10 @@ pkg_setup() { } multilib_src_configure() { + if use arm && [[ $(tc-is-softfloat) =~ (softfp)|(no) ]]; then + replace-flags -O* -O1 # bug #925093 + fi + local mycmakeargs=( -DBUILD_GMOCK=ON -DINSTALL_GTEST=ON
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 5037161d1847e7b51fac52e304fb120682455d8b Author: Peter Levine gmail com> AuthorDate: Tue Jun 18 01:38:20 2024 + Commit: Sam James gentoo org> CommitDate: Tue Jun 18 02:08:52 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5037161d dev-cpp/gtest: fix test failure on x86 Testing on x86 architecture causes a unittest to fail due to a floating-point precision discrepancy. Like Debian, we add -ffloat-store until upstream addresses the issue. Closes: https://bugs.gentoo.org/905007 Closes: https://github.com/gentoo/gentoo/pull/37191 Suggested-by: Sam James gentoo.org> Signed-off-by: Peter Levine gmail.com> Signed-off-by: Sam James gentoo.org> dev-cpp/gtest/gtest-1.14.0-r1.ebuild | 7 ++- dev-cpp/gtest/gtest-.ebuild | 7 ++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/dev-cpp/gtest/gtest-1.14.0-r1.ebuild b/dev-cpp/gtest/gtest-1.14.0-r1.ebuild index aed50c96f6e4..ecb89314e216 100644 --- a/dev-cpp/gtest/gtest-1.14.0-r1.ebuild +++ b/dev-cpp/gtest/gtest-1.14.0-r1.ebuild @@ -51,7 +51,12 @@ multilib_src_configure() { -Dgmock_build_tests=$(usex test) -Dgtest_build_tests=$(usex test) ) - use test && mycmakeargs+=( -DPython3_EXECUTABLE="${PYTHON}" ) + if use test; then + if use x86 || use x86-linux; then + append-cxxflags -ffloat-store # bug #905007 + fi + mycmakeargs+=( -DPython3_EXECUTABLE="${PYTHON}" ) + fi cmake_src_configure } diff --git a/dev-cpp/gtest/gtest-.ebuild b/dev-cpp/gtest/gtest-.ebuild index aed50c96f6e4..ecb89314e216 100644 --- a/dev-cpp/gtest/gtest-.ebuild +++ b/dev-cpp/gtest/gtest-.ebuild @@ -51,7 +51,12 @@ multilib_src_configure() { -Dgmock_build_tests=$(usex test) -Dgtest_build_tests=$(usex test) ) - use test && mycmakeargs+=( -DPython3_EXECUTABLE="${PYTHON}" ) + if use test; then + if use x86 || use x86-linux; then + append-cxxflags -ffloat-store # bug #905007 + fi + mycmakeargs+=( -DPython3_EXECUTABLE="${PYTHON}" ) + fi cmake_src_configure }
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: c09274e48064f7dbc001e8ce1bfc6f5168218171 Author: Sam James gentoo org> AuthorDate: Tue May 28 20:47:13 2024 + Commit: Sam James gentoo org> CommitDate: Tue May 28 20:47:13 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c09274e4 dev-cpp/gtest: Stabilize 1.14.0 amd64, #932939 Signed-off-by: Sam James gentoo.org> dev-cpp/gtest/gtest-1.14.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.14.0.ebuild b/dev-cpp/gtest/gtest-1.14.0.ebuild index 22d88a3b49f3..db197bf961d2 100644 --- a/dev-cpp/gtest/gtest-1.14.0.ebuild +++ b/dev-cpp/gtest/gtest-1.14.0.ebuild @@ -21,7 +21,7 @@ else -> ${P}.tar.gz" S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT} fi - KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" fi DESCRIPTION="Google C++ Testing Framework"
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 1bf93ea120d4c80aadb6f3a51403634db959c0ca Author: Sam James gentoo org> AuthorDate: Tue May 28 13:18:21 2024 + Commit: Sam James gentoo org> CommitDate: Tue May 28 13:18:21 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bf93ea1 dev-cpp/gtest: Stabilize 1.14.0 sparc, #932939 Signed-off-by: Sam James gentoo.org> dev-cpp/gtest/gtest-1.14.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.14.0.ebuild b/dev-cpp/gtest/gtest-1.14.0.ebuild index 4852b2e9c041..fb4de4cb1ff2 100644 --- a/dev-cpp/gtest/gtest-1.14.0.ebuild +++ b/dev-cpp/gtest/gtest-1.14.0.ebuild @@ -21,7 +21,7 @@ else -> ${P}.tar.gz" S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT} fi - KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" fi DESCRIPTION="Google C++ Testing Framework"
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: b57b051ff34052e368974f1b7195b674f1649a7a Author: Michał Górny gentoo org> AuthorDate: Tue May 28 12:29:16 2024 + Commit: Michał Górny gentoo org> CommitDate: Tue May 28 12:29:16 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b57b051f dev-cpp/gtest: Stabilize 1.14.0 ppc64, #932939 Signed-off-by: Michał Górny gentoo.org> dev-cpp/gtest/gtest-1.14.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.14.0.ebuild b/dev-cpp/gtest/gtest-1.14.0.ebuild index dfb6e53def40..4852b2e9c041 100644 --- a/dev-cpp/gtest/gtest-1.14.0.ebuild +++ b/dev-cpp/gtest/gtest-1.14.0.ebuild @@ -21,7 +21,7 @@ else -> ${P}.tar.gz" S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT} fi - KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" fi DESCRIPTION="Google C++ Testing Framework"
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 3c9d5f367c6857b2b59738c2501dfa2dc7ba7162 Author: Michał Górny gentoo org> AuthorDate: Tue May 28 12:04:20 2024 + Commit: Michał Górny gentoo org> CommitDate: Tue May 28 12:04:20 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c9d5f36 dev-cpp/gtest: Stabilize 1.14.0 arm64, #932939 Signed-off-by: Michał Górny gentoo.org> dev-cpp/gtest/gtest-1.14.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-cpp/gtest/gtest-1.14.0.ebuild b/dev-cpp/gtest/gtest-1.14.0.ebuild index 5351c69b1cd0..dfb6e53def40 100644 --- a/dev-cpp/gtest/gtest-1.14.0.ebuild +++ b/dev-cpp/gtest/gtest-1.14.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -21,7 +21,7 @@ else -> ${P}.tar.gz" S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT} fi - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" fi DESCRIPTION="Google C++ Testing Framework"
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 72af436c1c0914a435f8954124d45dcafd001418 Author: Peter Levine gmail com> AuthorDate: Mon Sep 4 10:08:05 2023 + Commit: David Seifert gentoo org> CommitDate: Mon Sep 4 10:08:05 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72af436c dev-cpp/gtest: pass -DPython3_EXECUTABLE only if USE=test Switch -DPYTHON_EXECUTABLE to the more modern CMAKE -DPython3_EXECUTABLE. And consistent with other conditional constructs, eg. "use test && python-any-r1_pkg_setup", only pass -DPython3_EXECUTABLE if USE=test. Closes: https://bugs.gentoo.org/911476 Signed-off-by: Peter Levine gmail.com> Signed-off-by: David Seifert gentoo.org> dev-cpp/gtest/gtest-.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-.ebuild b/dev-cpp/gtest/gtest-.ebuild index 1e958926faa8..d46c8086a02a 100644 --- a/dev-cpp/gtest/gtest-.ebuild +++ b/dev-cpp/gtest/gtest-.ebuild @@ -53,8 +53,9 @@ multilib_src_configure() { # tests -Dgmock_build_tests=$(usex test) -Dgtest_build_tests=$(usex test) - -DPYTHON_EXECUTABLE="${PYTHON}" ) + use test && mycmakeargs+=( -DPython3_EXECUTABLE="${PYTHON}" ) + cmake_src_configure }
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/files/, dev-cpp/gtest/
commit: c2604b771b585f12be9f353b343e8a4d684945cb Author: Peter Levine gmail com> AuthorDate: Mon Sep 4 10:08:09 2023 + Commit: David Seifert gentoo org> CommitDate: Mon Sep 4 10:08:09 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2604b77 dev-cpp/gtest: drop 1.11.0 Closes: https://github.com/gentoo/gentoo/pull/32177 Signed-off-by: Peter Levine gmail.com> Signed-off-by: David Seifert gentoo.org> dev-cpp/gtest/Manifest | 1 - 10.0_p20200702-increase-clone-stack-size.patch | 14 dev-cpp/gtest/gtest-1.11.0.ebuild | 77 -- 3 files changed, 92 deletions(-) diff --git a/dev-cpp/gtest/Manifest b/dev-cpp/gtest/Manifest index 9eb89ff6a6ac..8f44d5904099 100644 --- a/dev-cpp/gtest/Manifest +++ b/dev-cpp/gtest/Manifest @@ -1,3 +1,2 @@ -DIST gtest-1.11.0.tar.gz 886330 BLAKE2B d11fdd485f292d96508cbc27a9a444ab69b86571cc594298fd3f0e6d4bd8d6ec20dea848fe11be165d34054b2251ad377f0930f852914feaa1416ff156986a9c SHA512 6fcc7827e4c4d95e3ae643dd65e6c4fc0e3d04e1778b84f6e06e390410fe3d18026c131d828d949d2f20dde6327d30ecee24dcd3ef919e21c91e010d149f3a28 DIST gtest-1.13.0.tar.gz 862871 BLAKE2B d2768332c233d62f7a5f5332b63dc587c96c24765b2eeaa4f4caf5d421b175aa850d81cec4f50eeef9e06d4b86cb959555b4c2862a197ce3cb86d61fcb51f5d1 SHA512 70c0cfb1b4147bdecb467ecb22ae5b5529eec0abc085763213a796b7cdbd81d1761d12b342060539b936fa54f345d33f060601544874d6213fdde79111fa813e DIST gtest-1.14.0.tar.gz 867764 BLAKE2B c457f55ac572b9fb1553eee3df7eeeaf1e7dd2c3d747dd5e90dd279038fa5c71bb7b7d9ba1cf7e6143898b2a1d24d100584bd2a48ded41a426870c4825eec1b2 SHA512 765c326ccc1b87a01027385e69238266e356361cd4ee3e18e3c9d137a5d11fa5d657c164d02dd1be8fe693c8e10f2b580588dbfa57d27f070e2750f50d3e662c diff --git a/dev-cpp/gtest/files/gtest-1.10.0_p20200702-increase-clone-stack-size.patch b/dev-cpp/gtest/files/gtest-1.10.0_p20200702-increase-clone-stack-size.patch deleted file mode 100644 index 0c47681ba347.. --- a/dev-cpp/gtest/files/gtest-1.10.0_p20200702-increase-clone-stack-size.patch +++ /dev/null @@ -1,14 +0,0 @@ -Bug: https://bugs.gentoo.org/692464 - https://bugs.gentoo.org/834068 - a/googletest/src/gtest-death-test.cc -+++ b/googletest/src/gtest-death-test.cc -@@ -1070,7 +1070,7 @@ - - if (!use_fork) { - static const bool stack_grows_down = StackGrowsDown(); --const auto stack_size = static_cast(getpagesize() * 2); -+const auto stack_size = static_cast(getpagesize() * 12); - // MMAP_ANONYMOUS is not defined on Mac, so we use MAP_ANON instead. - void* const stack = mmap(NULL, stack_size, PROT_READ | PROT_WRITE, - MAP_ANON | MAP_PRIVATE, -1, 0); diff --git a/dev-cpp/gtest/gtest-1.11.0.ebuild b/dev-cpp/gtest/gtest-1.11.0.ebuild deleted file mode 100644 index 0881eaf88cfe.. --- a/dev-cpp/gtest/gtest-1.11.0.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Python is required for tests and some build tasks. -PYTHON_COMPAT=( python3_{9..10} ) - -inherit cmake-multilib python-any-r1 - -if [[ ${PV} == "" ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/google/googletest"; -else - if [[ -z ${GOOGLETEST_COMMIT} ]]; then - SRC_URI="https://github.com/google/googletest/archive/refs/tags/release-${PV}.tar.gz - -> ${P}.tar.gz" - S="${WORKDIR}"/googletest-release-${PV} - else - SRC_URI="https://github.com/google/googletest/archive/${GOOGLETEST_COMMIT}.tar.gz - -> ${P}.tar.gz" - S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT} - fi - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -fi - -DESCRIPTION="Google C++ Testing Framework" -HOMEPAGE="https://github.com/google/googletest"; - -LICENSE="BSD" -SLOT="0" -IUSE="doc examples test" -RESTRICT="!test? ( test )" - -BDEPEND="test? ( ${PYTHON_DEPS} )" - -PATCHES=( - "${FILESDIR}"/${PN}-1.10.0_p20200702-increase-clone-stack-size.patch -) - -pkg_setup() { - use test && python-any-r1_pkg_setup -} - -src_prepare() { - cmake_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 - - # tests - -Dgmock_build_tests=$(usex test) - -Dgtest_build_tests=$(usex test) - -DPYTHON_EXECUTABLE="${PYTHON}" - ) - cmake_src_configure -} - -multilib_src_install_all() { - einstalldocs - - newdoc googletest/README.md README.googletest.md - newdoc googlemock/README.m
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: f7a9a91cc46bdd87464a8ef8795d42f16c6b40e5 Author: Peter Levine gmail com> AuthorDate: Mon Sep 4 10:08:07 2023 + Commit: David Seifert gentoo org> CommitDate: Mon Sep 4 10:08:07 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7a9a91c dev-cpp/gtest: enable py3.12 Tests run fine with dev-lang/python-3.12.0_beta4_p2:3.12::gentoo. Signed-off-by: Peter Levine gmail.com> Signed-off-by: David Seifert gentoo.org> dev-cpp/gtest/gtest-.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-.ebuild b/dev-cpp/gtest/gtest-.ebuild index 211269033f8a..5351c69b1cd0 100644 --- a/dev-cpp/gtest/gtest-.ebuild +++ b/dev-cpp/gtest/gtest-.ebuild @@ -4,7 +4,7 @@ EAPI=8 # Python is required for tests and some build tasks. -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit cmake-multilib python-any-r1
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: aaeeeb5759b48cce93d6075e3c79bd8fe55d3383 Author: Peter Levine gmail com> AuthorDate: Mon Sep 4 10:08:08 2023 + Commit: David Seifert gentoo org> CommitDate: Mon Sep 4 10:08:08 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aaeeeb57 dev-cpp/gtest: add 1.14.0 Signed-off-by: Peter Levine gmail.com> Signed-off-by: David Seifert gentoo.org> dev-cpp/gtest/Manifest| 1 + dev-cpp/gtest/gtest-1.14.0.ebuild | 72 +++ 2 files changed, 73 insertions(+) diff --git a/dev-cpp/gtest/Manifest b/dev-cpp/gtest/Manifest index 69d7577bf634..9eb89ff6a6ac 100644 --- a/dev-cpp/gtest/Manifest +++ b/dev-cpp/gtest/Manifest @@ -1,2 +1,3 @@ DIST gtest-1.11.0.tar.gz 886330 BLAKE2B d11fdd485f292d96508cbc27a9a444ab69b86571cc594298fd3f0e6d4bd8d6ec20dea848fe11be165d34054b2251ad377f0930f852914feaa1416ff156986a9c SHA512 6fcc7827e4c4d95e3ae643dd65e6c4fc0e3d04e1778b84f6e06e390410fe3d18026c131d828d949d2f20dde6327d30ecee24dcd3ef919e21c91e010d149f3a28 DIST gtest-1.13.0.tar.gz 862871 BLAKE2B d2768332c233d62f7a5f5332b63dc587c96c24765b2eeaa4f4caf5d421b175aa850d81cec4f50eeef9e06d4b86cb959555b4c2862a197ce3cb86d61fcb51f5d1 SHA512 70c0cfb1b4147bdecb467ecb22ae5b5529eec0abc085763213a796b7cdbd81d1761d12b342060539b936fa54f345d33f060601544874d6213fdde79111fa813e +DIST gtest-1.14.0.tar.gz 867764 BLAKE2B c457f55ac572b9fb1553eee3df7eeeaf1e7dd2c3d747dd5e90dd279038fa5c71bb7b7d9ba1cf7e6143898b2a1d24d100584bd2a48ded41a426870c4825eec1b2 SHA512 765c326ccc1b87a01027385e69238266e356361cd4ee3e18e3c9d137a5d11fa5d657c164d02dd1be8fe693c8e10f2b580588dbfa57d27f070e2750f50d3e662c diff --git a/dev-cpp/gtest/gtest-1.14.0.ebuild b/dev-cpp/gtest/gtest-1.14.0.ebuild new file mode 100644 index ..5351c69b1cd0 --- /dev/null +++ b/dev-cpp/gtest/gtest-1.14.0.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Python is required for tests and some build tasks. +PYTHON_COMPAT=( python3_{10..12} ) + +inherit cmake-multilib python-any-r1 + +if [[ ${PV} == "" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/google/googletest"; +else + if [[ -z ${GOOGLETEST_COMMIT} ]]; then + SRC_URI="https://github.com/google/googletest/archive/refs/tags/v${PV}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}"/googletest-${PV} + else + SRC_URI="https://github.com/google/googletest/archive/${GOOGLETEST_COMMIT}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT} + fi + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +fi + +DESCRIPTION="Google C++ Testing Framework" +HOMEPAGE="https://github.com/google/googletest"; + +LICENSE="BSD" +SLOT="0" +IUSE="doc examples test" +RESTRICT="!test? ( test )" + +BDEPEND="test? ( ${PYTHON_DEPS} )" + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +multilib_src_configure() { + local mycmakeargs=( + -DBUILD_GMOCK=ON + -DINSTALL_GTEST=ON + + # tests + -Dgmock_build_tests=$(usex test) + -Dgtest_build_tests=$(usex test) + ) + use test && mycmakeargs+=( -DPython3_EXECUTABLE="${PYTHON}" ) + + cmake_src_configure +} + +multilib_src_test() { + # Exclude tests that fail with FEATURES="usersandbox" + cmake_src_test -E "googletest-(death-test|port)-test" +} + +multilib_src_install_all() { + einstalldocs + + newdoc googletest/README.md README.googletest.md + newdoc googlemock/README.md README.googlemock.md + + use doc && dodoc -r docs/. + + if use examples; then + docinto examples + dodoc googletest/samples/*.{cc,h} + fi +}
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 13df45aaa142d22472b3a1f0e865802d7444f5b9 Author: Peter Levine gmail com> AuthorDate: Mon Sep 4 10:08:06 2023 + Commit: David Seifert gentoo org> CommitDate: Mon Sep 4 10:08:06 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13df45aa dev-cpp/gtest: no need to remove -Werror The offending instances of -Werror were removed so no need to `sed`. Signed-off-by: Peter Levine gmail.com> Signed-off-by: David Seifert gentoo.org> dev-cpp/gtest/gtest-.ebuild | 7 --- 1 file changed, 7 deletions(-) diff --git a/dev-cpp/gtest/gtest-.ebuild b/dev-cpp/gtest/gtest-.ebuild index d46c8086a02a..211269033f8a 100644 --- a/dev-cpp/gtest/gtest-.ebuild +++ b/dev-cpp/gtest/gtest-.ebuild @@ -38,13 +38,6 @@ pkg_setup() { use test && python-any-r1_pkg_setup } -src_prepare() { - cmake_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
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 7667a23bd110daa93a418eb5f18cbc5d285548e1 Author: Arthur Zamarin gentoo org> AuthorDate: Sun Apr 30 16:52:40 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Apr 30 16:52:40 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7667a23b dev-cpp/gtest: Stabilize 1.13.0 hppa, #904582 Signed-off-by: Arthur Zamarin gentoo.org> dev-cpp/gtest/gtest-1.13.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.13.0.ebuild b/dev-cpp/gtest/gtest-1.13.0.ebuild index 3915ef4fc6dc..d393787cd715 100644 --- a/dev-cpp/gtest/gtest-1.13.0.ebuild +++ b/dev-cpp/gtest/gtest-1.13.0.ebuild @@ -21,7 +21,7 @@ else -> ${P}.tar.gz" S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT} fi - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" fi DESCRIPTION="Google C++ Testing Framework"
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: d031be7030bb9280dd94bff7f4c7d7aa8651e710 Author: Arthur Zamarin gentoo org> AuthorDate: Sun Apr 30 16:52:21 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Apr 30 16:52:21 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d031be70 dev-cpp/gtest: Stabilize 1.13.0 arm, #904582 Signed-off-by: Arthur Zamarin gentoo.org> dev-cpp/gtest/gtest-1.13.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.13.0.ebuild b/dev-cpp/gtest/gtest-1.13.0.ebuild index 3b6d919ace9d..3915ef4fc6dc 100644 --- a/dev-cpp/gtest/gtest-1.13.0.ebuild +++ b/dev-cpp/gtest/gtest-1.13.0.ebuild @@ -21,7 +21,7 @@ else -> ${P}.tar.gz" S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT} fi - KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" fi DESCRIPTION="Google C++ Testing Framework"
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 157a927e9df5bb2d710adbb988e169754a9b0fd8 Author: Joonas Niilola gentoo org> AuthorDate: Tue Apr 25 12:16:21 2023 + Commit: Joonas Niilola gentoo org> CommitDate: Tue Apr 25 12:16:21 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=157a927e dev-cpp/gtest: Stabilize 1.13.0 x86, #904582 Signed-off-by: Joonas Niilola gentoo.org> dev-cpp/gtest/gtest-1.13.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.13.0.ebuild b/dev-cpp/gtest/gtest-1.13.0.ebuild index f2b0485134cd..3b6d919ace9d 100644 --- a/dev-cpp/gtest/gtest-1.13.0.ebuild +++ b/dev-cpp/gtest/gtest-1.13.0.ebuild @@ -21,7 +21,7 @@ else -> ${P}.tar.gz" S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT} fi - KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" fi DESCRIPTION="Google C++ Testing Framework"
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 0d0357392da765a3fcdc976f1df63d1481ae1027 Author: Sam James gentoo org> AuthorDate: Mon Apr 24 22:57:33 2023 + Commit: Sam James gentoo org> CommitDate: Mon Apr 24 22:57:33 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d035739 dev-cpp/gtest: Stabilize 1.13.0 ppc, #904582 Signed-off-by: Sam James gentoo.org> dev-cpp/gtest/gtest-1.13.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.13.0.ebuild b/dev-cpp/gtest/gtest-1.13.0.ebuild index 9d5e23ef23f3..de2652381d85 100644 --- a/dev-cpp/gtest/gtest-1.13.0.ebuild +++ b/dev-cpp/gtest/gtest-1.13.0.ebuild @@ -21,7 +21,7 @@ else -> ${P}.tar.gz" S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT} fi - KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" fi DESCRIPTION="Google C++ Testing Framework"
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 5fbc356e8613277f9425f4d319d47e899661e7c3 Author: Sam James gentoo org> AuthorDate: Mon Apr 24 22:57:32 2023 + Commit: Sam James gentoo org> CommitDate: Mon Apr 24 22:57:32 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fbc356e dev-cpp/gtest: Stabilize 1.13.0 sparc, #904582 Signed-off-by: Sam James gentoo.org> dev-cpp/gtest/gtest-1.13.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.13.0.ebuild b/dev-cpp/gtest/gtest-1.13.0.ebuild index 0ed5ec5f6d7f..9d5e23ef23f3 100644 --- a/dev-cpp/gtest/gtest-1.13.0.ebuild +++ b/dev-cpp/gtest/gtest-1.13.0.ebuild @@ -21,7 +21,7 @@ else -> ${P}.tar.gz" S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT} fi - KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" fi DESCRIPTION="Google C++ Testing Framework"
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 748e9dce23e5f73f2f3938912b9e7fac04b92bce Author: Sam James gentoo org> AuthorDate: Mon Apr 24 22:57:35 2023 + Commit: Sam James gentoo org> CommitDate: Mon Apr 24 22:57:35 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=748e9dce dev-cpp/gtest: Stabilize 1.13.0 amd64, #904582 Signed-off-by: Sam James gentoo.org> dev-cpp/gtest/gtest-1.13.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.13.0.ebuild b/dev-cpp/gtest/gtest-1.13.0.ebuild index 0ade0db5ea52..f2b0485134cd 100644 --- a/dev-cpp/gtest/gtest-1.13.0.ebuild +++ b/dev-cpp/gtest/gtest-1.13.0.ebuild @@ -21,7 +21,7 @@ else -> ${P}.tar.gz" S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT} fi - KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" fi DESCRIPTION="Google C++ Testing Framework"
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 1f19130dd8aa7c418f6eccfd3eeb3d32206be33e Author: Sam James gentoo org> AuthorDate: Mon Apr 24 22:57:30 2023 + Commit: Sam James gentoo org> CommitDate: Mon Apr 24 22:57:30 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f19130d dev-cpp/gtest: Stabilize 1.13.0 arm64, #904582 Signed-off-by: Sam James gentoo.org> dev-cpp/gtest/gtest-1.13.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.13.0.ebuild b/dev-cpp/gtest/gtest-1.13.0.ebuild index b8c8b33936c4..0ed5ec5f6d7f 100644 --- a/dev-cpp/gtest/gtest-1.13.0.ebuild +++ b/dev-cpp/gtest/gtest-1.13.0.ebuild @@ -21,7 +21,7 @@ else -> ${P}.tar.gz" S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT} fi - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" fi DESCRIPTION="Google C++ Testing Framework"
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 714538d9804d8792b710e4f423a2933ef198b3ea Author: Sam James gentoo org> AuthorDate: Mon Apr 24 22:57:34 2023 + Commit: Sam James gentoo org> CommitDate: Mon Apr 24 22:57:34 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=714538d9 dev-cpp/gtest: Stabilize 1.13.0 ppc64, #904582 Signed-off-by: Sam James gentoo.org> dev-cpp/gtest/gtest-1.13.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.13.0.ebuild b/dev-cpp/gtest/gtest-1.13.0.ebuild index de2652381d85..0ade0db5ea52 100644 --- a/dev-cpp/gtest/gtest-1.13.0.ebuild +++ b/dev-cpp/gtest/gtest-1.13.0.ebuild @@ -21,7 +21,7 @@ else -> ${P}.tar.gz" S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT} fi - KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" fi DESCRIPTION="Google C++ Testing Framework"
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 369dd288195c4e616b7b000d902dcdecd75f7016 Author: Peter Levine gmail com> AuthorDate: Fri Jan 20 09:10:48 2023 + Commit: Viorel Munteanu gentoo org> CommitDate: Sat Feb 4 08:26:19 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=369dd288 dev-cpp/gtest: change the URI download naming pattern Now using the generic github v${PV}.tar.gz naming scheme. Signed-off-by: Peter Levine gmail.com> Signed-off-by: Viorel Munteanu gentoo.org> dev-cpp/gtest/gtest-.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-cpp/gtest/gtest-.ebuild b/dev-cpp/gtest/gtest-.ebuild index 94773948e844..b8c8b33936c4 100644 --- a/dev-cpp/gtest/gtest-.ebuild +++ b/dev-cpp/gtest/gtest-.ebuild @@ -13,9 +13,9 @@ if [[ ${PV} == "" ]]; then EGIT_REPO_URI="https://github.com/google/googletest"; else if [[ -z ${GOOGLETEST_COMMIT} ]]; then - SRC_URI="https://github.com/google/googletest/archive/refs/tags/release-${PV}.tar.gz + SRC_URI="https://github.com/google/googletest/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}"/googletest-release-${PV} + S="${WORKDIR}"/googletest-${PV} else SRC_URI="https://github.com/google/googletest/archive/${GOOGLETEST_COMMIT}.tar.gz -> ${P}.tar.gz"
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 98b4dd2683722e441a422ad07bfe07af638f762a Author: Peter Levine gmail com> AuthorDate: Fri Jan 20 09:20:56 2023 + Commit: Viorel Munteanu gentoo org> CommitDate: Sat Feb 4 08:26:19 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98b4dd26 dev-cpp/gtest: add 1.13.0 Signed-off-by: Peter Levine gmail.com> Signed-off-by: Viorel Munteanu gentoo.org> dev-cpp/gtest/Manifest| 1 + dev-cpp/gtest/gtest-1.13.0.ebuild | 78 +++ 2 files changed, 79 insertions(+) diff --git a/dev-cpp/gtest/Manifest b/dev-cpp/gtest/Manifest index 3aff3c058b8f..7fb1417b02ff 100644 --- a/dev-cpp/gtest/Manifest +++ b/dev-cpp/gtest/Manifest @@ -1,2 +1,3 @@ DIST gtest-1.11.0.tar.gz 886330 BLAKE2B d11fdd485f292d96508cbc27a9a444ab69b86571cc594298fd3f0e6d4bd8d6ec20dea848fe11be165d34054b2251ad377f0930f852914feaa1416ff156986a9c SHA512 6fcc7827e4c4d95e3ae643dd65e6c4fc0e3d04e1778b84f6e06e390410fe3d18026c131d828d949d2f20dde6327d30ecee24dcd3ef919e21c91e010d149f3a28 DIST gtest-1.12.1.tar.gz 854944 BLAKE2B 7b121fb95bb19efec1387a83da2201a139197225f79f7649ceac04695ff06fc4148319ae928d79ced413a9cfd42e68b56bfda1ee6bfdbf07fdd22795e9974388 SHA512 a9104dc6c53747e36e7dd7bb93dfce51a558bd31b487a9ef08def095518e1296da140e0db263e0644d9055dbd903c0cb69380cb2322941dbfb04780ef247df9c +DIST gtest-1.13.0.tar.gz 862871 BLAKE2B d2768332c233d62f7a5f5332b63dc587c96c24765b2eeaa4f4caf5d421b175aa850d81cec4f50eeef9e06d4b86cb959555b4c2862a197ce3cb86d61fcb51f5d1 SHA512 70c0cfb1b4147bdecb467ecb22ae5b5529eec0abc085763213a796b7cdbd81d1761d12b342060539b936fa54f345d33f060601544874d6213fdde79111fa813e diff --git a/dev-cpp/gtest/gtest-1.13.0.ebuild b/dev-cpp/gtest/gtest-1.13.0.ebuild new file mode 100644 index ..b8c8b33936c4 --- /dev/null +++ b/dev-cpp/gtest/gtest-1.13.0.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Python is required for tests and some build tasks. +PYTHON_COMPAT=( python3_{9..11} ) + +inherit cmake-multilib python-any-r1 + +if [[ ${PV} == "" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/google/googletest"; +else + if [[ -z ${GOOGLETEST_COMMIT} ]]; then + SRC_URI="https://github.com/google/googletest/archive/refs/tags/v${PV}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}"/googletest-${PV} + else + SRC_URI="https://github.com/google/googletest/archive/${GOOGLETEST_COMMIT}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT} + fi + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +fi + +DESCRIPTION="Google C++ Testing Framework" +HOMEPAGE="https://github.com/google/googletest"; + +LICENSE="BSD" +SLOT="0" +IUSE="doc examples test" +RESTRICT="!test? ( test )" + +BDEPEND="test? ( ${PYTHON_DEPS} )" + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_prepare() { + cmake_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 + + # tests + -Dgmock_build_tests=$(usex test) + -Dgtest_build_tests=$(usex test) + -DPYTHON_EXECUTABLE="${PYTHON}" + ) + cmake_src_configure +} + +multilib_src_test() { + # Exclude tests that fail with FEATURES="usersandbox" + cmake_src_test -E "googletest-(death-test|port)-test" +} + +multilib_src_install_all() { + einstalldocs + + newdoc googletest/README.md README.googletest.md + newdoc googlemock/README.md README.googlemock.md + + use doc && dodoc -r docs/. + + if use examples; then + docinto examples + dodoc googletest/samples/*.{cc,h} + fi +}
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: e5122f545277170dc82fe122671a746b4a8c77ba Author: Peter Levine gmail com> AuthorDate: Fri Jan 20 09:03:08 2023 + Commit: Viorel Munteanu gentoo org> CommitDate: Sat Feb 4 08:26:19 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5122f54 dev-cpp/gtest: disable googletest-port-test Apparently usersandbox messes with the expected number of spawned threads. Disable for now. Signed-off-by: Peter Levine gmail.com> Signed-off-by: Viorel Munteanu gentoo.org> dev-cpp/gtest/gtest-.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-.ebuild b/dev-cpp/gtest/gtest-.ebuild index 32cf0b41a84c..94773948e844 100644 --- a/dev-cpp/gtest/gtest-.ebuild +++ b/dev-cpp/gtest/gtest-.ebuild @@ -60,7 +60,7 @@ multilib_src_configure() { multilib_src_test() { # Exclude tests that fail with FEATURES="usersandbox" - cmake_src_test -E "googletest-death-test-test" + cmake_src_test -E "googletest-(death-test|port)-test" } multilib_src_install_all() {
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: ff785caa96c7684685811fc00b747d3b10cde9e8 Author: Peter Levine gmail com> AuthorDate: Fri Jan 20 09:22:25 2023 + Commit: Viorel Munteanu gentoo org> CommitDate: Sat Feb 4 08:26:19 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff785caa dev-cpp/gtest: drop 1.12.1 Closes: https://github.com/gentoo/gentoo/pull/29187 Signed-off-by: Peter Levine gmail.com> Signed-off-by: Viorel Munteanu gentoo.org> dev-cpp/gtest/Manifest| 1 - dev-cpp/gtest/gtest-1.12.1.ebuild | 78 --- 2 files changed, 79 deletions(-) diff --git a/dev-cpp/gtest/Manifest b/dev-cpp/gtest/Manifest index 7fb1417b02ff..69d7577bf634 100644 --- a/dev-cpp/gtest/Manifest +++ b/dev-cpp/gtest/Manifest @@ -1,3 +1,2 @@ DIST gtest-1.11.0.tar.gz 886330 BLAKE2B d11fdd485f292d96508cbc27a9a444ab69b86571cc594298fd3f0e6d4bd8d6ec20dea848fe11be165d34054b2251ad377f0930f852914feaa1416ff156986a9c SHA512 6fcc7827e4c4d95e3ae643dd65e6c4fc0e3d04e1778b84f6e06e390410fe3d18026c131d828d949d2f20dde6327d30ecee24dcd3ef919e21c91e010d149f3a28 -DIST gtest-1.12.1.tar.gz 854944 BLAKE2B 7b121fb95bb19efec1387a83da2201a139197225f79f7649ceac04695ff06fc4148319ae928d79ced413a9cfd42e68b56bfda1ee6bfdbf07fdd22795e9974388 SHA512 a9104dc6c53747e36e7dd7bb93dfce51a558bd31b487a9ef08def095518e1296da140e0db263e0644d9055dbd903c0cb69380cb2322941dbfb04780ef247df9c DIST gtest-1.13.0.tar.gz 862871 BLAKE2B d2768332c233d62f7a5f5332b63dc587c96c24765b2eeaa4f4caf5d421b175aa850d81cec4f50eeef9e06d4b86cb959555b4c2862a197ce3cb86d61fcb51f5d1 SHA512 70c0cfb1b4147bdecb467ecb22ae5b5529eec0abc085763213a796b7cdbd81d1761d12b342060539b936fa54f345d33f060601544874d6213fdde79111fa813e diff --git a/dev-cpp/gtest/gtest-1.12.1.ebuild b/dev-cpp/gtest/gtest-1.12.1.ebuild deleted file mode 100644 index 94773948e844.. --- a/dev-cpp/gtest/gtest-1.12.1.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Python is required for tests and some build tasks. -PYTHON_COMPAT=( python3_{9..11} ) - -inherit cmake-multilib python-any-r1 - -if [[ ${PV} == "" ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/google/googletest"; -else - if [[ -z ${GOOGLETEST_COMMIT} ]]; then - SRC_URI="https://github.com/google/googletest/archive/refs/tags/release-${PV}.tar.gz - -> ${P}.tar.gz" - S="${WORKDIR}"/googletest-release-${PV} - else - SRC_URI="https://github.com/google/googletest/archive/${GOOGLETEST_COMMIT}.tar.gz - -> ${P}.tar.gz" - S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT} - fi - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi - -DESCRIPTION="Google C++ Testing Framework" -HOMEPAGE="https://github.com/google/googletest"; - -LICENSE="BSD" -SLOT="0" -IUSE="doc examples test" -RESTRICT="!test? ( test )" - -BDEPEND="test? ( ${PYTHON_DEPS} )" - -pkg_setup() { - use test && python-any-r1_pkg_setup -} - -src_prepare() { - cmake_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 - - # tests - -Dgmock_build_tests=$(usex test) - -Dgtest_build_tests=$(usex test) - -DPYTHON_EXECUTABLE="${PYTHON}" - ) - cmake_src_configure -} - -multilib_src_test() { - # Exclude tests that fail with FEATURES="usersandbox" - cmake_src_test -E "googletest-(death-test|port)-test" -} - -multilib_src_install_all() { - einstalldocs - - newdoc googletest/README.md README.googletest.md - newdoc googlemock/README.md README.googlemock.md - - use doc && dodoc -r docs/. - - if use examples; then - docinto examples - dodoc googletest/samples/*.{cc,h} - fi -}
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: e2c290ba221acf7b0070a46829d8caa318e4ecea Author: Peter Levine gmail com> AuthorDate: Sun Nov 20 09:03:50 2022 + Commit: Sam James gentoo org> CommitDate: Wed Nov 23 01:43:39 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2c290ba dev-cpp/gtest: enable py3.11 Tested, working with python-3.11.0_p2. Signed-off-by: Peter Levine gmail.com> Signed-off-by: Sam James gentoo.org> dev-cpp/gtest/gtest-.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-.ebuild b/dev-cpp/gtest/gtest-.ebuild index 6e0f6bd08c96..a337f063e2df 100644 --- a/dev-cpp/gtest/gtest-.ebuild +++ b/dev-cpp/gtest/gtest-.ebuild @@ -4,7 +4,7 @@ EAPI=8 # Python is required for tests and some build tasks. -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{8..11} ) inherit cmake-multilib python-any-r1
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: b53422e8c5e1d2426b89dd23004d3935d0e7f2f8 Author: Peter Levine gmail com> AuthorDate: Sun Nov 20 09:05:55 2022 + Commit: Sam James gentoo org> CommitDate: Wed Nov 23 01:43:39 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b53422e8 dev-cpp/gtest: exclude tests that fail due to usersandbox Patching internal code to overcome test failure due to the usersandbox feature flag seems misguided. Other packages opt to skip such tests rather than patching compiled code or turning off usersandbox (bug# 413621, 603244). Let's do that. Bug: https://bugs.gentoo.org/413621 Bug: https://bugs.gentoo.org/603244 Signed-off-by: Peter Levine gmail.com> Signed-off-by: Sam James gentoo.org> dev-cpp/gtest/gtest-.ebuild | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/dev-cpp/gtest/gtest-.ebuild b/dev-cpp/gtest/gtest-.ebuild index a337f063e2df..0895416d2312 100644 --- a/dev-cpp/gtest/gtest-.ebuild +++ b/dev-cpp/gtest/gtest-.ebuild @@ -34,10 +34,6 @@ RESTRICT="!test? ( test )" BDEPEND="test? ( ${PYTHON_DEPS} )" -PATCHES=( - "${FILESDIR}"/${PN}-1.10.0_p20200702-increase-clone-stack-size.patch -) - pkg_setup() { use test && python-any-r1_pkg_setup } @@ -62,6 +58,11 @@ multilib_src_configure() { cmake_src_configure } +multilib_src_test() { + # Exclude tests that fail with FEATURES="usersandbox" + cmake_src_test -E "googletest-death-test-test" +} + multilib_src_install_all() { einstalldocs
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 0b1ac3582a4cb07b4d6a6079e712279335f64ca8 Author: Peter Levine gmail com> AuthorDate: Sun Nov 20 09:23:17 2022 + Commit: Sam James gentoo org> CommitDate: Wed Nov 23 01:43:39 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b1ac358 dev-cpp/gtest: add 1.12.1 Closes: https://bugs.gentoo.org/881845 Signed-off-by: Peter Levine gmail.com> Signed-off-by: Sam James gentoo.org> dev-cpp/gtest/Manifest| 1 + dev-cpp/gtest/gtest-1.12.1.ebuild | 78 +++ 2 files changed, 79 insertions(+) diff --git a/dev-cpp/gtest/Manifest b/dev-cpp/gtest/Manifest index cb7e7695b146..3aff3c058b8f 100644 --- a/dev-cpp/gtest/Manifest +++ b/dev-cpp/gtest/Manifest @@ -1 +1,2 @@ DIST gtest-1.11.0.tar.gz 886330 BLAKE2B d11fdd485f292d96508cbc27a9a444ab69b86571cc594298fd3f0e6d4bd8d6ec20dea848fe11be165d34054b2251ad377f0930f852914feaa1416ff156986a9c SHA512 6fcc7827e4c4d95e3ae643dd65e6c4fc0e3d04e1778b84f6e06e390410fe3d18026c131d828d949d2f20dde6327d30ecee24dcd3ef919e21c91e010d149f3a28 +DIST gtest-1.12.1.tar.gz 854944 BLAKE2B 7b121fb95bb19efec1387a83da2201a139197225f79f7649ceac04695ff06fc4148319ae928d79ced413a9cfd42e68b56bfda1ee6bfdbf07fdd22795e9974388 SHA512 a9104dc6c53747e36e7dd7bb93dfce51a558bd31b487a9ef08def095518e1296da140e0db263e0644d9055dbd903c0cb69380cb2322941dbfb04780ef247df9c diff --git a/dev-cpp/gtest/gtest-1.12.1.ebuild b/dev-cpp/gtest/gtest-1.12.1.ebuild new file mode 100644 index ..0895416d2312 --- /dev/null +++ b/dev-cpp/gtest/gtest-1.12.1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Python is required for tests and some build tasks. +PYTHON_COMPAT=( python3_{8..11} ) + +inherit cmake-multilib python-any-r1 + +if [[ ${PV} == "" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/google/googletest"; +else + if [[ -z ${GOOGLETEST_COMMIT} ]]; then + SRC_URI="https://github.com/google/googletest/archive/refs/tags/release-${PV}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}"/googletest-release-${PV} + else + SRC_URI="https://github.com/google/googletest/archive/${GOOGLETEST_COMMIT}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT} + fi + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +fi + +DESCRIPTION="Google C++ Testing Framework" +HOMEPAGE="https://github.com/google/googletest"; + +LICENSE="BSD" +SLOT="0" +IUSE="doc examples test" +RESTRICT="!test? ( test )" + +BDEPEND="test? ( ${PYTHON_DEPS} )" + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_prepare() { + cmake_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 + + # tests + -Dgmock_build_tests=$(usex test) + -Dgtest_build_tests=$(usex test) + -DPYTHON_EXECUTABLE="${PYTHON}" + ) + cmake_src_configure +} + +multilib_src_test() { + # Exclude tests that fail with FEATURES="usersandbox" + cmake_src_test -E "googletest-death-test-test" +} + +multilib_src_install_all() { + einstalldocs + + newdoc googletest/README.md README.googletest.md + newdoc googlemock/README.md README.googlemock.md + + use doc && dodoc -r docs/. + + if use examples; then + docinto examples + dodoc googletest/samples/*.{cc,h} + fi +}
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 92dd9dfed07b235e1537be799f73f2404d8b223b Author: Peter Levine gmail com> AuthorDate: Sun Nov 20 09:28:20 2022 + Commit: Sam James gentoo org> CommitDate: Wed Nov 23 01:43:39 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92dd9dfe dev-cpp/gtest: fix test failure with clang googletest-port-test sporadically fails when built with clang, with the usersandbox feature enabled. Doesn't happen in so this is temporary. Signed-off-by: Peter Levine gmail.com> Closes: https://github.com/gentoo/gentoo/pull/28348 Signed-off-by: Sam James gentoo.org> dev-cpp/gtest/gtest-1.12.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.12.1.ebuild b/dev-cpp/gtest/gtest-1.12.1.ebuild index 0895416d2312..68ce123507cb 100644 --- a/dev-cpp/gtest/gtest-1.12.1.ebuild +++ b/dev-cpp/gtest/gtest-1.12.1.ebuild @@ -60,7 +60,7 @@ multilib_src_configure() { multilib_src_test() { # Exclude tests that fail with FEATURES="usersandbox" - cmake_src_test -E "googletest-death-test-test" + cmake_src_test -E "googletest-(death-test|port)-test" } multilib_src_install_all() {
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 4562305e0ec14b55e4ba73d5addc2b438c536a96 Author: Peter Levine gmail com> AuthorDate: Sun Nov 20 08:21:47 2022 + Commit: Sam James gentoo org> CommitDate: Wed Nov 23 01:43:38 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4562305e dev-cpp/gtest: add loong keyword to Already added to gtest-1.11.0, include it here as well. Signed-off-by: Peter Levine gmail.com> Signed-off-by: Sam James gentoo.org> dev-cpp/gtest/gtest-.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-.ebuild b/dev-cpp/gtest/gtest-.ebuild index 06d6fbc8dd51..6e0f6bd08c96 100644 --- a/dev-cpp/gtest/gtest-.ebuild +++ b/dev-cpp/gtest/gtest-.ebuild @@ -21,7 +21,7 @@ else -> ${P}.tar.gz" S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT} fi - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" fi DESCRIPTION="Google C++ Testing Framework"
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: cfffb082c2062a5d8c6b46eda5d6d51d1009e873 Author: WANG Xuerui gentoo org> AuthorDate: Wed May 4 06:30:28 2022 + Commit: WANG Xuerui gentoo org> CommitDate: Wed May 4 07:06:21 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfffb082 dev-cpp/gtest: keyword 1.11.0 for ~loong Tests passed on real hardware. Signed-off-by: WANG Xuerui gentoo.org> dev-cpp/gtest/gtest-1.11.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-cpp/gtest/gtest-1.11.0.ebuild b/dev-cpp/gtest/gtest-1.11.0.ebuild index 7d212e72266b..b2c3ebbb46e6 100644 --- a/dev-cpp/gtest/gtest-1.11.0.ebuild +++ b/dev-cpp/gtest/gtest-1.11.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -22,7 +22,7 @@ else -> ${P}.tar.gz" S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT} fi - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" fi DESCRIPTION="Google C++ Testing Framework"
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/files/
commit: 482e7cfce9dff16b7457c507accbc7e7dcf8ed6c Author: Peter Levine gmail com> AuthorDate: Mon Apr 18 06:17:10 2022 + Commit: Sam James gentoo org> CommitDate: Mon Apr 18 20:28:28 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=482e7cfc dev-cpp/gtest: fix testcase failure with musl Empirically, "getpagesize() * 12" instead of "getpagesize() * 10" appears to be enough to memory to stave off a stack overflow when built against musl libc. Closes: https://bugs.gentoo.org/834068 Closes: https://github.com/gentoo/gentoo/pull/25073 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Peter Levine gmail.com> Signed-off-by: Sam James gentoo.org> .../gtest/files/gtest-1.10.0_p20200702-increase-clone-stack-size.patch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev-cpp/gtest/files/gtest-1.10.0_p20200702-increase-clone-stack-size.patch b/dev-cpp/gtest/files/gtest-1.10.0_p20200702-increase-clone-stack-size.patch index 3e06777ac9a9..0c47681ba347 100644 --- a/dev-cpp/gtest/files/gtest-1.10.0_p20200702-increase-clone-stack-size.patch +++ b/dev-cpp/gtest/files/gtest-1.10.0_p20200702-increase-clone-stack-size.patch @@ -1,4 +1,5 @@ Bug: https://bugs.gentoo.org/692464 + https://bugs.gentoo.org/834068 --- a/googletest/src/gtest-death-test.cc +++ b/googletest/src/gtest-death-test.cc @@ -7,7 +8,7 @@ Bug: https://bugs.gentoo.org/692464 if (!use_fork) { static const bool stack_grows_down = StackGrowsDown(); -const auto stack_size = static_cast(getpagesize() * 2); -+const auto stack_size = static_cast(getpagesize() * 10); ++const auto stack_size = static_cast(getpagesize() * 12); // MMAP_ANONYMOUS is not defined on Mac, so we use MAP_ANON instead. void* const stack = mmap(NULL, stack_size, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE, -1, 0);
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 93aaee19fa2d3059ba4e73683bb2bedb1198 Author: Peter Levine gmail com> AuthorDate: Mon Apr 18 06:07:16 2022 + Commit: Sam James gentoo org> CommitDate: Mon Apr 18 20:28:27 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93aaee19 dev-cpp/gtest: remove redundant ebuild Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Peter Levine gmail.com> Signed-off-by: Sam James gentoo.org> dev-cpp/gtest/Manifest | 1 - dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild | 80 - 2 files changed, 81 deletions(-) diff --git a/dev-cpp/gtest/Manifest b/dev-cpp/gtest/Manifest index 3b3e722caa7d..cb7e7695b146 100644 --- a/dev-cpp/gtest/Manifest +++ b/dev-cpp/gtest/Manifest @@ -1,2 +1 @@ -DIST gtest-1.10.0_p20200702.tar.gz 866900 BLAKE2B c162d47868583ba270675abe5df935b8f4b9a9c00dbdc80dd88afa7f2b98266640b32b2ea5e8f9f6d6227196b5d2f79dbfda4e9585106224e814cc1503cf777d SHA512 715d887b59b47d4691c7c90ef0cf0ffc3d1e758e500263c76b50fd506e90a9d1c390af745933cfe3f55e1edac5d72dccedef3cb9a50b71a5b796424471a3017b DIST gtest-1.11.0.tar.gz 886330 BLAKE2B d11fdd485f292d96508cbc27a9a444ab69b86571cc594298fd3f0e6d4bd8d6ec20dea848fe11be165d34054b2251ad377f0930f852914feaa1416ff156986a9c SHA512 6fcc7827e4c4d95e3ae643dd65e6c4fc0e3d04e1778b84f6e06e390410fe3d18026c131d828d949d2f20dde6327d30ecee24dcd3ef919e21c91e010d149f3a28 diff --git a/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild b/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild deleted file mode 100644 index 58067c7a096b.. --- a/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -# Python is required for tests and some build tasks. -PYTHON_COMPAT=( python3_{8..10} ) - -CMAKE_ECLASS=cmake -inherit cmake-multilib python-any-r1 - -GOOGLETEST_COMMIT=aee0f9d9b5b87796ee8a0ab26b7587ec30e8858e - -if [[ ${PV} == "" ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/google/googletest"; -else - if [[ -z ${GOOGLETEST_COMMIT} ]]; then - URI_PV=v${MY_PV:-${PV}} - else - URI_PV=${MY_PV:=${GOOGLETEST_COMMIT}} - fi - SRC_URI="https://github.com/google/googletest/archive/${URI_PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" - S="${WORKDIR}"/googletest-${MY_PV} -fi - -DESCRIPTION="Google C++ Testing Framework" -HOMEPAGE="https://github.com/google/googletest"; - -LICENSE="BSD" -SLOT="0" -IUSE="doc examples test" -RESTRICT="!test? ( test )" - -BDEPEND="test? ( ${PYTHON_DEPS} )" - -PATCHES=( - "${FILESDIR}"/${PN}-1.10.0_p20200702-increase-clone-stack-size.patch -) - -pkg_setup() { - use test && python-any-r1_pkg_setup -} - -src_prepare() { - cmake_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 - - # tests - -Dgmock_build_tests=$(usex test) - -Dgtest_build_tests=$(usex test) - -DPYTHON_EXECUTABLE="${PYTHON}" - ) - cmake_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 -}
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 36f80c8d6fd4e78ec8359e82942b33663c250bf8 Author: Mike Frysinger chromium org> AuthorDate: Tue Mar 15 22:21:01 2022 + Commit: Mike Frysinger gentoo org> CommitDate: Tue Mar 15 22:21:01 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36f80c8d dev-cpp/gtest: update old docs link Signed-off-by: Mike Frysinger gentoo.org> dev-cpp/gtest/metadata.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/metadata.xml b/dev-cpp/gtest/metadata.xml index c870874aadca..2a73b6d6508d 100644 --- a/dev-cpp/gtest/metadata.xml +++ b/dev-cpp/gtest/metadata.xml @@ -10,7 +10,7 @@ Proxy Maintainers - https://github.com/google/googletest/tree/master/googletest/docs + https://github.com/google/googletest/tree/HEAD/docs google/googletest
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: a2c7ecba78220d6e616d9f94cba024e0003ddb06 Author: Rolf Eike Beer sf-mail de> AuthorDate: Tue Dec 7 20:13:00 2021 + Commit: Sam James gentoo org> CommitDate: Tue Dec 7 20:22:45 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2c7ecba dev-cpp/gtest: stable 1.11.0 for hppa, bug #828338 Package-Manager: Portage-3.0.28, Repoman-3.0.3 RepoMan-Options: --include-arches="hppa" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sam James gentoo.org> dev-cpp/gtest/gtest-1.11.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.11.0.ebuild b/dev-cpp/gtest/gtest-1.11.0.ebuild index cf24d7feea7e..7d212e72266b 100644 --- a/dev-cpp/gtest/gtest-1.11.0.ebuild +++ b/dev-cpp/gtest/gtest-1.11.0.ebuild @@ -22,7 +22,7 @@ else -> ${P}.tar.gz" S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT} fi - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" fi DESCRIPTION="Google C++ Testing Framework"
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 752e6895adfcaee0dd120bb04f0436c5c224be0f Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Dec 7 06:25:10 2021 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Dec 7 06:25:10 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=752e6895 dev-cpp/gtest: x86 stable wrt bug #828338 Package-Manager: Portage-3.0.20, Repoman-3.0.3 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> dev-cpp/gtest/gtest-1.11.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.11.0.ebuild b/dev-cpp/gtest/gtest-1.11.0.ebuild index 27bbcdc5f051..cf24d7feea7e 100644 --- a/dev-cpp/gtest/gtest-1.11.0.ebuild +++ b/dev-cpp/gtest/gtest-1.11.0.ebuild @@ -22,7 +22,7 @@ else -> ${P}.tar.gz" S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT} fi - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" fi DESCRIPTION="Google C++ Testing Framework"
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 5b315588d6507f545f437c7d8e406d094735e3ac Author: Sam James gentoo org> AuthorDate: Mon Dec 6 15:21:25 2021 + Commit: Sam James gentoo org> CommitDate: Mon Dec 6 15:21:25 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b315588 dev-cpp/gtest: Stabilize 1.11.0 arm, #828338 Signed-off-by: Sam James gentoo.org> dev-cpp/gtest/gtest-1.11.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.11.0.ebuild b/dev-cpp/gtest/gtest-1.11.0.ebuild index 830ce76a4643..27bbcdc5f051 100644 --- a/dev-cpp/gtest/gtest-1.11.0.ebuild +++ b/dev-cpp/gtest/gtest-1.11.0.ebuild @@ -22,7 +22,7 @@ else -> ${P}.tar.gz" S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT} fi - KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" fi DESCRIPTION="Google C++ Testing Framework"
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: eb8a83e6ee1cbc8674403ed26f136a07a04ea19b Author: Sam James gentoo org> AuthorDate: Mon Dec 6 15:18:30 2021 + Commit: Sam James gentoo org> CommitDate: Mon Dec 6 15:18:30 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb8a83e6 dev-cpp/gtest: Stabilize 1.11.0 arm64, #828338 Signed-off-by: Sam James gentoo.org> dev-cpp/gtest/gtest-1.11.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.11.0.ebuild b/dev-cpp/gtest/gtest-1.11.0.ebuild index 25903a00c3b8..830ce76a4643 100644 --- a/dev-cpp/gtest/gtest-1.11.0.ebuild +++ b/dev-cpp/gtest/gtest-1.11.0.ebuild @@ -22,7 +22,7 @@ else -> ${P}.tar.gz" S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT} fi - KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" fi DESCRIPTION="Google C++ Testing Framework"
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 4d7cd7ece26601bce001248b8fad2a8747eccfd8 Author: Sam James gentoo org> AuthorDate: Mon Dec 6 00:31:14 2021 + Commit: Sam James gentoo org> CommitDate: Mon Dec 6 00:31:14 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d7cd7ec dev-cpp/gtest: Stabilize 1.11.0 ppc64, #828338 Signed-off-by: Sam James gentoo.org> dev-cpp/gtest/gtest-1.11.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.11.0.ebuild b/dev-cpp/gtest/gtest-1.11.0.ebuild index 2ba607909a47..25903a00c3b8 100644 --- a/dev-cpp/gtest/gtest-1.11.0.ebuild +++ b/dev-cpp/gtest/gtest-1.11.0.ebuild @@ -22,7 +22,7 @@ else -> ${P}.tar.gz" S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT} fi - KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" fi DESCRIPTION="Google C++ Testing Framework"
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 652630cedc2eed9b108bcf643c8afda6ade666fe Author: Sam James gentoo org> AuthorDate: Mon Dec 6 00:09:17 2021 + Commit: Sam James gentoo org> CommitDate: Mon Dec 6 00:09:17 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=652630ce dev-cpp/gtest: Stabilize 1.11.0 ppc, #828338 Signed-off-by: Sam James gentoo.org> dev-cpp/gtest/gtest-1.11.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.11.0.ebuild b/dev-cpp/gtest/gtest-1.11.0.ebuild index bc59f8013205..2ba607909a47 100644 --- a/dev-cpp/gtest/gtest-1.11.0.ebuild +++ b/dev-cpp/gtest/gtest-1.11.0.ebuild @@ -22,7 +22,7 @@ else -> ${P}.tar.gz" S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT} fi - KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" fi DESCRIPTION="Google C++ Testing Framework"
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 4581294b6ca61c5cd5a3e2c26ebc0cdc517fa1ff Author: Sam James gentoo org> AuthorDate: Sun Dec 5 22:04:04 2021 + Commit: Sam James gentoo org> CommitDate: Sun Dec 5 22:04:04 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4581294b dev-cpp/gtest: Stabilize 1.11.0 amd64, #828338 Signed-off-by: Sam James gentoo.org> dev-cpp/gtest/gtest-1.11.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.11.0.ebuild b/dev-cpp/gtest/gtest-1.11.0.ebuild index 1927062c5d91..bc59f8013205 100644 --- a/dev-cpp/gtest/gtest-1.11.0.ebuild +++ b/dev-cpp/gtest/gtest-1.11.0.ebuild @@ -22,7 +22,7 @@ else -> ${P}.tar.gz" S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT} fi - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" fi DESCRIPTION="Google C++ Testing Framework"
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 322dd330a909728ce12b51f183791ca501517d6f Author: Arthur Zamarin gentoo org> AuthorDate: Sun Dec 5 20:11:24 2021 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Dec 5 20:12:05 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=322dd330 dev-cpp/gtest: Stabilize 1.11.0 sparc, #828338 Signed-off-by: Arthur Zamarin gentoo.org> dev-cpp/gtest/gtest-1.11.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.11.0.ebuild b/dev-cpp/gtest/gtest-1.11.0.ebuild index 89518bffd1d1..1927062c5d91 100644 --- a/dev-cpp/gtest/gtest-1.11.0.ebuild +++ b/dev-cpp/gtest/gtest-1.11.0.ebuild @@ -22,7 +22,7 @@ else -> ${P}.tar.gz" S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT} fi - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" fi DESCRIPTION="Google C++ Testing Framework"
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 079aab7f39123f489a2b27ecc4e6e461fe9f74f9 Author: Peter Levine gmail com> AuthorDate: Mon Oct 4 00:15:26 2021 + Commit: Sam James gentoo org> CommitDate: Tue Oct 12 20:24:10 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=079aab7f dev-cpp/gtest: bump 1.11.0 Package-Manager: Portage-3.0.23, Repoman-3.0.3 Signed-off-by: Peter Levine gmail.com> Closes: https://github.com/gentoo/gentoo/pull/22480 Signed-off-by: Sam James gentoo.org> dev-cpp/gtest/Manifest| 1 + dev-cpp/gtest/gtest-1.11.0.ebuild | 78 +++ 2 files changed, 79 insertions(+) diff --git a/dev-cpp/gtest/Manifest b/dev-cpp/gtest/Manifest index 1c0e1e6d97a..3b3e722caa7 100644 --- a/dev-cpp/gtest/Manifest +++ b/dev-cpp/gtest/Manifest @@ -1 +1,2 @@ DIST gtest-1.10.0_p20200702.tar.gz 866900 BLAKE2B c162d47868583ba270675abe5df935b8f4b9a9c00dbdc80dd88afa7f2b98266640b32b2ea5e8f9f6d6227196b5d2f79dbfda4e9585106224e814cc1503cf777d SHA512 715d887b59b47d4691c7c90ef0cf0ffc3d1e758e500263c76b50fd506e90a9d1c390af745933cfe3f55e1edac5d72dccedef3cb9a50b71a5b796424471a3017b +DIST gtest-1.11.0.tar.gz 886330 BLAKE2B d11fdd485f292d96508cbc27a9a444ab69b86571cc594298fd3f0e6d4bd8d6ec20dea848fe11be165d34054b2251ad377f0930f852914feaa1416ff156986a9c SHA512 6fcc7827e4c4d95e3ae643dd65e6c4fc0e3d04e1778b84f6e06e390410fe3d18026c131d828d949d2f20dde6327d30ecee24dcd3ef919e21c91e010d149f3a28 diff --git a/dev-cpp/gtest/gtest-1.11.0.ebuild b/dev-cpp/gtest/gtest-1.11.0.ebuild new file mode 100644 index 000..89518bffd1d --- /dev/null +++ b/dev-cpp/gtest/gtest-1.11.0.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Python is required for tests and some build tasks. +PYTHON_COMPAT=( python3_{8..10} ) + +CMAKE_ECLASS=cmake +inherit cmake-multilib python-any-r1 + +if [[ ${PV} == "" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/google/googletest"; +else + if [[ -z ${GOOGLETEST_COMMIT} ]]; then + SRC_URI="https://github.com/google/googletest/archive/refs/tags/release-${PV}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}"/googletest-release-${PV} + else + SRC_URI="https://github.com/google/googletest/archive/${GOOGLETEST_COMMIT}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT} + fi + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +fi + +DESCRIPTION="Google C++ Testing Framework" +HOMEPAGE="https://github.com/google/googletest"; + +LICENSE="BSD" +SLOT="0" +IUSE="doc examples test" +RESTRICT="!test? ( test )" + +BDEPEND="test? ( ${PYTHON_DEPS} )" + +PATCHES=( + "${FILESDIR}"/${PN}-1.10.0_p20200702-increase-clone-stack-size.patch +) + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_prepare() { + cmake_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 + + # tests + -Dgmock_build_tests=$(usex test) + -Dgtest_build_tests=$(usex test) + -DPYTHON_EXECUTABLE="${PYTHON}" + ) + cmake_src_configure +} + +multilib_src_install_all() { + einstalldocs + + newdoc googletest/README.md README.googletest.md + newdoc googlemock/README.md README.googlemock.md + + use doc && dodoc -r docs/. + + if use examples; then + docinto examples + dodoc googletest/samples/*.{cc,h} + fi +}
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: ceb592b1462afd3ecbe5bad529169fd1c1d52b2d Author: Peter Levine gmail com> AuthorDate: Sun Oct 3 23:49:23 2021 + Commit: Sam James gentoo org> CommitDate: Tue Oct 12 20:24:07 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ceb592b1 dev-cpp/gtest: change github SRC_URI location Release tarballs are now named release-${PV}. Package-Manager: Portage-3.0.23, Repoman-3.0.3 Signed-off-by: Peter Levine gmail.com> Signed-off-by: Sam James gentoo.org> dev-cpp/gtest/gtest-.ebuild | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/dev-cpp/gtest/gtest-.ebuild b/dev-cpp/gtest/gtest-.ebuild index a7711b97276..b3c28569b94 100644 --- a/dev-cpp/gtest/gtest-.ebuild +++ b/dev-cpp/gtest/gtest-.ebuild @@ -14,13 +14,15 @@ if [[ ${PV} == "" ]]; then EGIT_REPO_URI="https://github.com/google/googletest"; else if [[ -z ${GOOGLETEST_COMMIT} ]]; then - URI_PV=v${MY_PV:-${PV}} + SRC_URI="https://github.com/google/googletest/archive/refs/tags/release-${PV}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}"/googletest-release-${PV} else - URI_PV=${MY_PV:=${GOOGLETEST_COMMIT}} + SRC_URI="https://github.com/google/googletest/archive/${GOOGLETEST_COMMIT}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT} fi - SRC_URI="https://github.com/google/googletest/archive/${URI_PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" - S="${WORKDIR}"/googletest-${MY_PV} fi DESCRIPTION="Google C++ Testing Framework"
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: a16e241dddc59b7b2071b37eb6ac016cd4f7ffa3 Author: Peter Levine gmail com> AuthorDate: Tue Oct 5 00:04:01 2021 + Commit: Sam James gentoo org> CommitDate: Tue Oct 12 20:24:09 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a16e241d dev-cpp/gtest: change docs location Documentation can now be found at the toplevel docs directory. Also, correct the extra README.md locations without creating unnecessary subdirectories. Package-Manager: Portage-3.0.26, Repoman-3.0.3 Signed-off-by: Peter Levine gmail.com> Signed-off-by: Sam James gentoo.org> dev-cpp/gtest/gtest-.ebuild | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/dev-cpp/gtest/gtest-.ebuild b/dev-cpp/gtest/gtest-.ebuild index f66765b6396..89518bffd1d 100644 --- a/dev-cpp/gtest/gtest-.ebuild +++ b/dev-cpp/gtest/gtest-.ebuild @@ -66,12 +66,10 @@ multilib_src_configure() { multilib_src_install_all() { einstalldocs - if use doc; then - docinto googletest - dodoc -r googletest/docs/. - docinto googlemock - dodoc -r googlemock/docs/. - fi + newdoc googletest/README.md README.googletest.md + newdoc googlemock/README.md README.googlemock.md + + use doc && dodoc -r docs/. if use examples; then docinto examples
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: f9191ddf907b1ef09f67960c91f698e4e32efa7b Author: Peter Levine gmail com> AuthorDate: Sun Oct 3 17:26:09 2021 + Commit: Sam James gentoo org> CommitDate: Tue Oct 12 20:24:06 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9191ddf dev-cpp/gtest: bump EAPI to 8 Package-Manager: Portage-3.0.23, Repoman-3.0.3 Signed-off-by: Peter Levine gmail.com> Signed-off-by: Sam James gentoo.org> dev-cpp/gtest/gtest-.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-.ebuild b/dev-cpp/gtest/gtest-.ebuild index 43e102b84c6..a7711b97276 100644 --- a/dev-cpp/gtest/gtest-.ebuild +++ b/dev-cpp/gtest/gtest-.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 # Python is required for tests and some build tasks. PYTHON_COMPAT=( python3_{8..10} )
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 05eaa58ca214202ed4d5acf8f45a2ebaef44bb4f Author: Peter Levine gmail com> AuthorDate: Mon Oct 4 00:05:15 2021 + Commit: Sam James gentoo org> CommitDate: Tue Oct 12 20:24:08 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05eaa58c dev-cpp/gtest: add new keywords Include unstable keywords that were added to gtest-1.10.0_p20200702.ebuild in live ebuild. Package-Manager: Portage-3.0.23, Repoman-3.0.3 Signed-off-by: Peter Levine gmail.com> Signed-off-by: Sam James gentoo.org> dev-cpp/gtest/gtest-.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-.ebuild b/dev-cpp/gtest/gtest-.ebuild index b3c28569b94..f66765b6396 100644 --- a/dev-cpp/gtest/gtest-.ebuild +++ b/dev-cpp/gtest/gtest-.ebuild @@ -22,7 +22,7 @@ else -> ${P}.tar.gz" S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT} fi - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" fi DESCRIPTION="Google C++ Testing Framework"
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 3e4f957ee0b4a0da57d74598ee9436083076b140 Author: Arthur Zamarin gentoo org> AuthorDate: Mon Oct 4 05:08:22 2021 + Commit: Arthur Zamarin gentoo org> CommitDate: Mon Oct 4 07:44:52 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e4f957e dev-cpp/gtest: enable py3.10 Signed-off-by: Arthur Zamarin gentoo.org> dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild | 2 +- dev-cpp/gtest/gtest-.ebuild | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild b/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild index efe1b03a471..58067c7a096 100644 --- a/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild +++ b/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild @@ -4,7 +4,7 @@ EAPI=7 # Python is required for tests and some build tasks. -PYTHON_COMPAT=( python3_{7,8,9} ) +PYTHON_COMPAT=( python3_{8..10} ) CMAKE_ECLASS=cmake inherit cmake-multilib python-any-r1 diff --git a/dev-cpp/gtest/gtest-.ebuild b/dev-cpp/gtest/gtest-.ebuild index f91f4c8758d..43e102b84c6 100644 --- a/dev-cpp/gtest/gtest-.ebuild +++ b/dev-cpp/gtest/gtest-.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 # Python is required for tests and some build tasks. -PYTHON_COMPAT=( python3_{7,8,9} ) +PYTHON_COMPAT=( python3_{8..10} ) CMAKE_ECLASS=cmake inherit cmake-multilib python-any-r1
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 1744ad2847aaca81696893c5ac4711e8af1a6fb4 Author: Ye Cao rioslab org> AuthorDate: Mon Jun 28 08:54:43 2021 + Commit: Yixun Lan gentoo org> CommitDate: Tue Jun 29 05:49:40 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1744ad28 dev-cpp/gtest: add ~riscv keyword Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Ye Cao rioslab.org> Signed-off-by: Yixun Lan gentoo.org> dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild b/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild index d34fc442dfc..efe1b03a471 100644 --- a/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild +++ b/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild @@ -21,7 +21,7 @@ else URI_PV=${MY_PV:=${GOOGLETEST_COMMIT}} fi SRC_URI="https://github.com/google/googletest/archive/${URI_PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" S="${WORKDIR}"/googletest-${MY_PV} fi
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 7ea4707e690398aafd1564b7951cade24c4f0711 Author: Fabian Groffen gentoo org> AuthorDate: Wed Jan 6 18:38:04 2021 + Commit: Fabian Groffen gentoo org> CommitDate: Wed Jan 6 18:38:04 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ea4707e dev-cpp/gtest: drop x86-macos Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Fabian Groffen gentoo.org> dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild b/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild index 892a168f3ca..edcd15f681a 100644 --- a/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild +++ b/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -21,7 +21,7 @@ else URI_PV=${MY_PV:=${GOOGLETEST_COMMIT}} fi SRC_URI="https://github.com/google/googletest/archive/${URI_PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" S="${WORKDIR}"/googletest-${MY_PV} fi
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 9004a26e1b2c3163125a660f98013fff8469e866 Author: Sam James gentoo org> AuthorDate: Sun Dec 13 23:15:50 2020 + Commit: Sam James gentoo org> CommitDate: Sun Dec 13 23:15:50 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9004a26e dev-cpp/gtest: stable 1.10.0_p20200702 for s390 stable wrt bug #735268 Package-Manager: Portage-3.0.9, Repoman-3.0.2 RepoMan-Options: --include-arches="s390" Signed-off-by: Sam James gentoo.org> dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild b/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild index 70798eae266..892a168f3ca 100644 --- a/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild +++ b/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild @@ -21,7 +21,7 @@ else URI_PV=${MY_PV:=${GOOGLETEST_COMMIT}} fi SRC_URI="https://github.com/google/googletest/archive/${URI_PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" S="${WORKDIR}"/googletest-${MY_PV} fi
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/, dev-cpp/gtest/files/
commit: b3279540b497ba8c748edb378abcf13f6f361911 Author: Michał Górny gentoo org> AuthorDate: Fri Oct 9 08:22:19 2020 + Commit: Michał Górny gentoo org> CommitDate: Fri Oct 9 08:43:10 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3279540 dev-cpp/gtest: Remove old Signed-off-by: Michał Górny gentoo.org> dev-cpp/gtest/Manifest | 1 - ...9.0_pre20190607-increase-clone-stack-size.patch | 13 dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild | 80 -- 3 files changed, 94 deletions(-) diff --git a/dev-cpp/gtest/Manifest b/dev-cpp/gtest/Manifest index 49066ef5fa4..1c0e1e6d97a 100644 --- a/dev-cpp/gtest/Manifest +++ b/dev-cpp/gtest/Manifest @@ -1,2 +1 @@ DIST gtest-1.10.0_p20200702.tar.gz 866900 BLAKE2B c162d47868583ba270675abe5df935b8f4b9a9c00dbdc80dd88afa7f2b98266640b32b2ea5e8f9f6d6227196b5d2f79dbfda4e9585106224e814cc1503cf777d SHA512 715d887b59b47d4691c7c90ef0cf0ffc3d1e758e500263c76b50fd506e90a9d1c390af745933cfe3f55e1edac5d72dccedef3cb9a50b71a5b796424471a3017b -DIST gtest-1.9.0_pre20190607.tar.gz 958396 BLAKE2B 64ae2c86a320a6ed56d6f99383591f7a0176e3f1291144bddf6dc82733c78177963f95516bbaed494318d3d7451d164aeb0d4a192b415414bcc25b9875cf6e82 SHA512 6c17ba303ec1dc8a989075a6dc0eda9b023345d00f6b43e588676cc2cd291f8c508744e4aba86a6c6b651329ce47419ad04d5765ca5978eda507a1643e8a92c3 diff --git a/dev-cpp/gtest/files/gtest-1.9.0_pre20190607-increase-clone-stack-size.patch b/dev-cpp/gtest/files/gtest-1.9.0_pre20190607-increase-clone-stack-size.patch deleted file mode 100644 index 38d515a48dd..000 --- a/dev-cpp/gtest/files/gtest-1.9.0_pre20190607-increase-clone-stack-size.patch +++ /dev/null @@ -1,13 +0,0 @@ -Bug: https://bugs.gentoo.org/692464 - a/googletest/src/gtest-death-test.cc -+++ b/googletest/src/gtest-death-test.cc -@@ -1070,7 +1070,7 @@ - - if (!use_fork) { - static const bool stack_grows_down = StackGrowsDown(); --const auto stack_size = static_cast(getpagesize()); -+const auto stack_size = static_cast(getpagesize()* 10); - // MMAP_ANONYMOUS is not defined on Mac, so we use MAP_ANON instead. - void* const stack = mmap(NULL, stack_size, PROT_READ | PROT_WRITE, - MAP_ANON | MAP_PRIVATE, -1, 0); diff --git a/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild b/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild deleted file mode 100644 index 9aa2139201b..000 --- a/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -# Python is required for tests and some build tasks. -PYTHON_COMPAT=( python2_7 ) - -CMAKE_ECLASS=cmake -GOOGLETEST_COMMIT=da10da05c262af0a9e8fa91789a272a3dec67655 -inherit cmake-multilib python-any-r1 - -if [[ ${PV} == "" ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/google/googletest"; -else - if [[ -z ${GOOGLETEST_COMMIT} ]]; then - MY_PV=release-${PV} - else - MY_PV=${GOOGLETEST_COMMIT} - fi - SRC_URI="https://github.com/google/googletest/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" - S="${WORKDIR}"/googletest-${MY_PV} -fi - -DESCRIPTION="Google C++ Testing Framework" -HOMEPAGE="https://github.com/google/googletest"; - -LICENSE="BSD" -SLOT="0" -IUSE="doc examples test" -RESTRICT="!test? ( test )" - -DEPEND="test? ( ${PYTHON_DEPS} )" -RDEPEND="!dev-cpp/gmock" - -PATCHES=( - "${FILESDIR}"/${PN}-1.9.0_pre20190607-increase-clone-stack-size.patch -) - -pkg_setup() { - use test && python-any-r1_pkg_setup -} - -src_prepare() { - cmake_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 - - # tests - -Dgmock_build_tests=$(usex test) - -Dgtest_build_tests=$(usex test) - -DPYTHON_EXECUTABLE="${PYTHON}" - ) - cmake_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 -}
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: a6148a06aac050c4e327c3859ed1e5905a72572a Author: Agostino Sarubbo gentoo org> AuthorDate: Sun Sep 20 20:18:36 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sun Sep 20 20:18:36 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6148a06 dev-cpp/gtest: amd64 stable wrt bug #735268 Package-Manager: Portage-2.3.103, Repoman-2.3.23 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild b/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild index 8e6366694d8..70798eae266 100644 --- a/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild +++ b/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild @@ -21,7 +21,7 @@ else URI_PV=${MY_PV:=${GOOGLETEST_COMMIT}} fi SRC_URI="https://github.com/google/googletest/archive/${URI_PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" S="${WORKDIR}"/googletest-${MY_PV} fi
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: db4860d6441cae2edabccf42644f6387cd20315e Author: Sergei Trofimovich gentoo org> AuthorDate: Mon Sep 7 08:37:09 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Sep 7 08:47:29 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db4860d6 dev-cpp/gtest: stable 1.10.0_p20200702 for ppc64 stable wrt bug #735268 Package-Manager: Portage-3.0.5, Repoman-3.0.1 RepoMan-Options: --include-arches="ppc64" Signed-off-by: Sergei Trofimovich gentoo.org> dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild b/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild index 1dd3457bb9f..8e6366694d8 100644 --- a/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild +++ b/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild @@ -21,7 +21,7 @@ else URI_PV=${MY_PV:=${GOOGLETEST_COMMIT}} fi SRC_URI="https://github.com/google/googletest/archive/${URI_PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" S="${WORKDIR}"/googletest-${MY_PV} fi
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: bc70e07506550db695efb8c9437e43e9d8663c0c Author: Sergei Trofimovich gentoo org> AuthorDate: Mon Sep 7 08:10:32 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Sep 7 08:20:00 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc70e075 dev-cpp/gtest: stable 1.10.0_p20200702 for ppc stable wrt bug #735268 Package-Manager: Portage-3.0.5, Repoman-3.0.1 RepoMan-Options: --include-arches="ppc" Signed-off-by: Sergei Trofimovich gentoo.org> dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild b/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild index 4804dac673c..1dd3457bb9f 100644 --- a/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild +++ b/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild @@ -21,7 +21,7 @@ else URI_PV=${MY_PV:=${GOOGLETEST_COMMIT}} fi SRC_URI="https://github.com/google/googletest/archive/${URI_PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" S="${WORKDIR}"/googletest-${MY_PV} fi
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: ad5195f2022cf072d8e4b195e288314c538a9998 Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Aug 15 07:25:41 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Aug 15 07:25:41 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad5195f2 dev-cpp/gtest: stable 1.10.0_p20200702 for hppa stable wrt bug #735268 Package-Manager: Portage-3.0.2, Repoman-2.3.23 RepoMan-Options: --include-arches="hppa" Signed-off-by: Sergei Trofimovich gentoo.org> dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild b/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild index 2349b1eea67..4804dac673c 100644 --- a/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild +++ b/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild @@ -21,7 +21,7 @@ else URI_PV=${MY_PV:=${GOOGLETEST_COMMIT}} fi SRC_URI="https://github.com/google/googletest/archive/${URI_PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" S="${WORKDIR}"/googletest-${MY_PV} fi
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 0304f48162c579064d2a095218980b17efa7941a Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Aug 11 18:52:50 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Aug 11 18:52:50 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0304f481 dev-cpp/gtest: x86 stable wrt bug #735268 Package-Manager: Portage-2.3.103, Repoman-2.3.23 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild b/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild index 48e5ec93551..2349b1eea67 100644 --- a/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild +++ b/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild @@ -21,7 +21,7 @@ else URI_PV=${MY_PV:=${GOOGLETEST_COMMIT}} fi SRC_URI="https://github.com/google/googletest/archive/${URI_PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" S="${WORKDIR}"/googletest-${MY_PV} fi
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 1cdaa3ec309b43783aa0a86310a27980d8969bfa Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Aug 11 14:17:33 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Aug 11 14:17:33 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cdaa3ec dev-cpp/gtest: sparc stable wrt bug #735268 Package-Manager: Portage-2.3.103, Repoman-2.3.23 RepoMan-Options: --include-arches="sparc" Signed-off-by: Agostino Sarubbo gentoo.org> dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild b/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild index f878e18e53c..48e5ec93551 100644 --- a/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild +++ b/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild @@ -21,7 +21,7 @@ else URI_PV=${MY_PV:=${GOOGLETEST_COMMIT}} fi SRC_URI="https://github.com/google/googletest/archive/${URI_PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" S="${WORKDIR}"/googletest-${MY_PV} fi
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 2369785342cfe5c8608cf4e5bed4fc69b3074800 Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Aug 11 14:12:27 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Aug 11 14:12:27 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23697853 dev-cpp/gtest: arm stable wrt bug #735268 Package-Manager: Portage-2.3.103, Repoman-2.3.23 RepoMan-Options: --include-arches="arm" Signed-off-by: Agostino Sarubbo gentoo.org> dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild b/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild index dca7fca6e4d..f878e18e53c 100644 --- a/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild +++ b/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild @@ -21,7 +21,7 @@ else URI_PV=${MY_PV:=${GOOGLETEST_COMMIT}} fi SRC_URI="https://github.com/google/googletest/archive/${URI_PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" S="${WORKDIR}"/googletest-${MY_PV} fi
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 668d04cfa4730f6823835bce1ec768c4d1cb5e6b Author: Sam James gentoo org> AuthorDate: Tue Aug 11 10:29:20 2020 + Commit: Sam James gentoo org> CommitDate: Tue Aug 11 10:29:20 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=668d04cf dev-cpp/gtest: Stabilize 1.10.0_p20200702 arm64, #735268 Signed-off-by: Sam James gentoo.org> dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild b/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild index 46b32ba09b0..dca7fca6e4d 100644 --- a/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild +++ b/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild @@ -21,7 +21,7 @@ else URI_PV=${MY_PV:=${GOOGLETEST_COMMIT}} fi SRC_URI="https://github.com/google/googletest/archive/${URI_PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" S="${WORKDIR}"/googletest-${MY_PV} fi
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 1eb576f85c1674144ca2063d467705b211c58e1d Author: Fabian Groffen gentoo org> AuthorDate: Tue Aug 4 18:53:59 2020 + Commit: Fabian Groffen gentoo org> CommitDate: Tue Aug 4 19:02:22 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1eb576f8 dev-cpp/gtest: marked ~x64-solaris Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Fabian Groffen gentoo.org> dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild b/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild index 76ca1753171..46b32ba09b0 100644 --- a/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild +++ b/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild @@ -21,7 +21,7 @@ else URI_PV=${MY_PV:=${GOOGLETEST_COMMIT}} fi SRC_URI="https://github.com/google/googletest/archive/${URI_PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" S="${WORKDIR}"/googletest-${MY_PV} fi
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 85b31773eaa97acee1b91e938b490762d8e17e26 Author: Fabian Groffen gentoo org> AuthorDate: Tue Aug 4 18:47:30 2020 + Commit: Fabian Groffen gentoo org> CommitDate: Tue Aug 4 19:02:22 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85b31773 dev-cpp/gtest-1.10.0_p20200702: marked ~*-macos, ~*-solaris Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Fabian Groffen gentoo.org> dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild b/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild index 560a1e282be..76ca1753171 100644 --- a/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild +++ b/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild @@ -21,7 +21,7 @@ else URI_PV=${MY_PV:=${GOOGLETEST_COMMIT}} fi SRC_URI="https://github.com/google/googletest/archive/${URI_PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris" S="${WORKDIR}"/googletest-${MY_PV} fi
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/, dev-cpp/gtest/files/
commit: ac7ce29d3b1447efa79f96b41f7da3f933050645 Author: Peter Levine gmail com> AuthorDate: Thu Jun 11 08:41:20 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Sun Jul 19 10:43:25 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac7ce29d dev-cpp/gtest: Update the increase-clone-stack-size patch for live Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Peter Levine gmail.com> Signed-off-by: Joonas Niilola gentoo.org> .../gtest-1.10.0_p20200702-increase-clone-stack-size.patch | 13 + dev-cpp/gtest/gtest-.ebuild | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/dev-cpp/gtest/files/gtest-1.10.0_p20200702-increase-clone-stack-size.patch b/dev-cpp/gtest/files/gtest-1.10.0_p20200702-increase-clone-stack-size.patch new file mode 100755 index 000..3e06777ac9a --- /dev/null +++ b/dev-cpp/gtest/files/gtest-1.10.0_p20200702-increase-clone-stack-size.patch @@ -0,0 +1,13 @@ +Bug: https://bugs.gentoo.org/692464 + +--- a/googletest/src/gtest-death-test.cc b/googletest/src/gtest-death-test.cc +@@ -1070,7 +1070,7 @@ + + if (!use_fork) { + static const bool stack_grows_down = StackGrowsDown(); +-const auto stack_size = static_cast(getpagesize() * 2); ++const auto stack_size = static_cast(getpagesize() * 10); + // MMAP_ANONYMOUS is not defined on Mac, so we use MAP_ANON instead. + void* const stack = mmap(NULL, stack_size, PROT_READ | PROT_WRITE, + MAP_ANON | MAP_PRIVATE, -1, 0); diff --git a/dev-cpp/gtest/gtest-.ebuild b/dev-cpp/gtest/gtest-.ebuild index 753803041fc..ab2e9dd322c 100644 --- a/dev-cpp/gtest/gtest-.ebuild +++ b/dev-cpp/gtest/gtest-.ebuild @@ -35,7 +35,7 @@ DEPEND="test? ( ${PYTHON_DEPS} )" RDEPEND="!dev-cpp/gmock" PATCHES=( - "${FILESDIR}"/${PN}-1.9.0_pre20190607-increase-clone-stack-size.patch + "${FILESDIR}"/${PN}-1.10.0_p20200702-increase-clone-stack-size.patch ) pkg_setup() {
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/files/, dev-cpp/gtest/
commit: ffde382e8f81ecdbf853552f01e2a5358877a9da Author: Peter Levine gmail com> AuthorDate: Fri Jul 3 01:10:30 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Sun Jul 19 10:43:26 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffde382e dev-cpp/gtest: Remove older versions Leave the latest stable , latest unstable, and live ebuilds. Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Peter Levine gmail.com> Closes: https://github.com/gentoo/gentoo/pull/16556 Signed-off-by: Joonas Niilola gentoo.org> dev-cpp/gtest/Manifest | 3 - .../gtest/files/gtest-1.8.0-fix-doublefree.patch | 98 -- .../gtest-1.8.0-fix-gcc6-undefined-behavior.patch | 21 - .../gtest-1.8.0-increase-clone-stack-size.patch| 14 .../gtest/files/gtest-1.8.0-multilib-strict.patch | 40 - .../gtest--fix-gcc6-undefined-behavior.patch | 17 dev-cpp/gtest/files/gtest--fix-py-tests.patch | 19 - dev-cpp/gtest/gtest-1.10.0.ebuild | 80 -- dev-cpp/gtest/gtest-1.8.0-r1.ebuild| 69 --- dev-cpp/gtest/gtest-1.8.0.ebuild | 68 --- dev-cpp/gtest/gtest-1.8.1-r1.ebuild| 74 dev-cpp/gtest/gtest-1.8.1.ebuild | 75 - 12 files changed, 578 deletions(-) diff --git a/dev-cpp/gtest/Manifest b/dev-cpp/gtest/Manifest index d97bace4da9..49066ef5fa4 100644 --- a/dev-cpp/gtest/Manifest +++ b/dev-cpp/gtest/Manifest @@ -1,5 +1,2 @@ -DIST gtest-1.10.0.tar.gz 904227 BLAKE2B 96b97b06730a9f55505a4d40bd4861560503a1437d29dadc6e8d3c743ccde020e61b3f96082fb9bda0666d739e69d3990bad06161e9c531c40021dc0826f5547 SHA512 7ebf5b4a80f364564066ccc7ce2e2092b12942a754c4854afd97380f19811e0fd45c300d423234cda0e05966ddbdaebcb1625e856ce55b0c81b0bae0dd971532 DIST gtest-1.10.0_p20200702.tar.gz 866900 BLAKE2B c162d47868583ba270675abe5df935b8f4b9a9c00dbdc80dd88afa7f2b98266640b32b2ea5e8f9f6d6227196b5d2f79dbfda4e9585106224e814cc1503cf777d SHA512 715d887b59b47d4691c7c90ef0cf0ffc3d1e758e500263c76b50fd506e90a9d1c390af745933cfe3f55e1edac5d72dccedef3cb9a50b71a5b796424471a3017b -DIST gtest-1.8.0.tar.gz 1281617 BLAKE2B ac052b4d0eb0d8ded03a8c7dff05177818627b8a51f2dbc2c162b2ee2a5d1323539e7d0d02236d9ebb75e018f0171c2fdaeb4de3bb339548265e50de79e6 SHA512 1dbece324473e53a83a60601b02c92c089f5d314761351974e097b2cf4d24af4296f9eb8653b6b03b1e363d9c5f793897acae1f0c7ac40149216035c4d395d9d -DIST gtest-1.8.1.tar.gz 992298 BLAKE2B 40ef3417fe424205c0617f07207347ce671ac87605f8ac9b8a333b0b06e3fbef9f556041ee324c18f957f3258ab9fe06704f31cdd038355fb7890180eb77ced1 SHA512 e6283c667558e1fd6e49fa96e52af0e415a3c8037afe1d28b7ff1ec4c2ef8f49beb70a9327b7fc77eb4052a58c4ccad8b5260ec90e4bceeac7a46ff59c4369d7 DIST gtest-1.9.0_pre20190607.tar.gz 958396 BLAKE2B 64ae2c86a320a6ed56d6f99383591f7a0176e3f1291144bddf6dc82733c78177963f95516bbaed494318d3d7451d164aeb0d4a192b415414bcc25b9875cf6e82 SHA512 6c17ba303ec1dc8a989075a6dc0eda9b023345d00f6b43e588676cc2cd291f8c508744e4aba86a6c6b651329ce47419ad04d5765ca5978eda507a1643e8a92c3 diff --git a/dev-cpp/gtest/files/gtest-1.8.0-fix-doublefree.patch b/dev-cpp/gtest/files/gtest-1.8.0-fix-doublefree.patch deleted file mode 100644 index 40fa1f6668b..000 --- a/dev-cpp/gtest/files/gtest-1.8.0-fix-doublefree.patch +++ /dev/null @@ -1,98 +0,0 @@ -Bug: https://bugs.gentoo.org/631698 -Upstream PR: https://github.com/google/googletest/pull/1339 - -From 0663ce9024c9b78ddf6eb3fc1ceb45361ed91767 Mon Sep 17 00:00:00 2001 -From: Romain Geissler -Date: Sat, 2 Dec 2017 22:47:20 +0100 -Subject: [PATCH] Fix double free when building Gtest/GMock in shared libraries - and linking a test executable with both. - - googlemock/CMakeLists.txt | 63 ++- - 1 file changed, 40 insertions(+), 23 deletions(-) - -diff --git a/googlemock/CMakeLists.txt b/googlemock/CMakeLists.txt -index 724fdd5f0..f7bad8afc 100644 a/googlemock/CMakeLists.txt -+++ b/googlemock/CMakeLists.txt -@@ -86,16 +86,23 @@ endif() - # Google Mock libraries. We build them using more strict warnings than what - # are used for other targets, to ensure that Google Mock can be compiled by - # a user aggressive about warnings. --cxx_library(gmock --"${cxx_strict}" --"${gtest_dir}/src/gtest-all.cc" --src/gmock-all.cc) -- --cxx_library(gmock_main --"${cxx_strict}" --"${gtest_dir}/src/gtest-all.cc" --src/gmock-all.cc --src/gmock_main.cc) -+if (MSVC) -+ cxx_library(gmock -+ "${cxx_strict}" -+ "${gtest_dir}/src/gtest-all.cc" -+ src/gmock-all.cc) -+ -+ cxx_library(gmock_main -+ "${cxx_strict}" -+ "${gtest_dir}/src/gtest-all.cc" -+ src/gmock-all.cc -+ src/gmock_main.cc) -+else() -+ cxx_library(gmock "${cx
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 8215ec14535dc5662b1de4504ccaba8086cb6a2a Author: Peter Levine gmail com> AuthorDate: Fri Jun 12 01:21:54 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Sun Jul 19 10:43:25 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8215ec14 dev-cpp/gtest: Remove python2_7 from PYTHON_COMPAT Python 2.7 is deprecated and sunsetted Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Peter Levine gmail.com> Signed-off-by: Joonas Niilola gentoo.org> dev-cpp/gtest/gtest-.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-.ebuild b/dev-cpp/gtest/gtest-.ebuild index 495db541c34..359edcc9585 100644 --- a/dev-cpp/gtest/gtest-.ebuild +++ b/dev-cpp/gtest/gtest-.ebuild @@ -4,7 +4,7 @@ EAPI=7 # Python is required for tests and some build tasks. -PYTHON_COMPAT=( python2_7 python3_{6,7,8,9} ) +PYTHON_COMPAT=( python3_{6,7,8,9} ) CMAKE_ECLASS=cmake inherit cmake-multilib python-any-r1
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 12f9e02c58de048fb273e9acac5ce70df9b82fd5 Author: Peter Levine gmail com> AuthorDate: Fri Jun 12 03:57:26 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Sun Jul 19 10:43:26 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12f9e02c dev-cpp/gtest: Remove dev-cpp/gmock blocker dev-cpp/gmock no longer exists in the gentoo tree or in any known overlay. Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Peter Levine gmail.com> Signed-off-by: Joonas Niilola gentoo.org> dev-cpp/gtest/gtest-.ebuild | 1 - 1 file changed, 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-.ebuild b/dev-cpp/gtest/gtest-.ebuild index 359edcc9585..1e9d17d5bbc 100644 --- a/dev-cpp/gtest/gtest-.ebuild +++ b/dev-cpp/gtest/gtest-.ebuild @@ -32,7 +32,6 @@ IUSE="doc examples test" RESTRICT="!test? ( test )" DEPEND="test? ( ${PYTHON_DEPS} )" -RDEPEND="!dev-cpp/gmock" PATCHES=( "${FILESDIR}"/${PN}-1.10.0_p20200702-increase-clone-stack-size.patch
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/files/
commit: fcb4e7ad557c7c41d87ef963f0eef18665b90ca1 Author: Joonas Niilola gentoo org> AuthorDate: Sun Jul 19 10:20:43 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Sun Jul 19 10:43:26 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcb4e7ad dev-cpp/gtest: fix ExecutableFile CI issue Signed-off-by: Joonas Niilola gentoo.org> .../gtest/files/gtest-1.10.0_p20200702-increase-clone-stack-size.patch| 0 .../gtest/files/gtest-1.9.0_pre20190607-increase-clone-stack-size.patch | 0 2 files changed, 0 insertions(+), 0 deletions(-) diff --git a/dev-cpp/gtest/files/gtest-1.10.0_p20200702-increase-clone-stack-size.patch b/dev-cpp/gtest/files/gtest-1.10.0_p20200702-increase-clone-stack-size.patch old mode 100755 new mode 100644 diff --git a/dev-cpp/gtest/files/gtest-1.9.0_pre20190607-increase-clone-stack-size.patch b/dev-cpp/gtest/files/gtest-1.9.0_pre20190607-increase-clone-stack-size.patch old mode 100755 new mode 100644
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: f571895680bcd163815b7fbf6ac8d7b540a64817 Author: Peter Levine gmail com> AuthorDate: Fri Jun 12 04:01:46 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Sun Jul 19 10:43:26 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5718956 dev-cpp/gtest: Move PYTHON_DEPS to BDEPEND Python would need to be run at build time. Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Peter Levine gmail.com> Signed-off-by: Joonas Niilola gentoo.org> dev-cpp/gtest/gtest-.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-.ebuild b/dev-cpp/gtest/gtest-.ebuild index 1e9d17d5bbc..40af1cfe82d 100644 --- a/dev-cpp/gtest/gtest-.ebuild +++ b/dev-cpp/gtest/gtest-.ebuild @@ -31,7 +31,7 @@ SLOT="0" IUSE="doc examples test" RESTRICT="!test? ( test )" -DEPEND="test? ( ${PYTHON_DEPS} )" +BDEPEND="test? ( ${PYTHON_DEPS} )" PATCHES=( "${FILESDIR}"/${PN}-1.10.0_p20200702-increase-clone-stack-size.patch
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 05158bcdadf25405ccdcc97859ac4fcbb0d529b9 Author: Peter Levine gmail com> AuthorDate: Fri Jul 3 01:00:29 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Sun Jul 19 10:43:26 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05158bcd dev-cpp/gtest: Bump gtest-1.10.0_p20200702 Except for the occasional release, gtest now "lives at HEAD" like abseil. To maintain versioning consistency, take the base version from GOOGLETEST_VERSION in CMakeLists.txt and use _p instead of _pre. Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Peter Levine gmail.com> Signed-off-by: Joonas Niilola gentoo.org> dev-cpp/gtest/Manifest | 1 + dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild | 80 + 2 files changed, 81 insertions(+) diff --git a/dev-cpp/gtest/Manifest b/dev-cpp/gtest/Manifest index dbb3e6432db..d97bace4da9 100644 --- a/dev-cpp/gtest/Manifest +++ b/dev-cpp/gtest/Manifest @@ -1,4 +1,5 @@ DIST gtest-1.10.0.tar.gz 904227 BLAKE2B 96b97b06730a9f55505a4d40bd4861560503a1437d29dadc6e8d3c743ccde020e61b3f96082fb9bda0666d739e69d3990bad06161e9c531c40021dc0826f5547 SHA512 7ebf5b4a80f364564066ccc7ce2e2092b12942a754c4854afd97380f19811e0fd45c300d423234cda0e05966ddbdaebcb1625e856ce55b0c81b0bae0dd971532 +DIST gtest-1.10.0_p20200702.tar.gz 866900 BLAKE2B c162d47868583ba270675abe5df935b8f4b9a9c00dbdc80dd88afa7f2b98266640b32b2ea5e8f9f6d6227196b5d2f79dbfda4e9585106224e814cc1503cf777d SHA512 715d887b59b47d4691c7c90ef0cf0ffc3d1e758e500263c76b50fd506e90a9d1c390af745933cfe3f55e1edac5d72dccedef3cb9a50b71a5b796424471a3017b DIST gtest-1.8.0.tar.gz 1281617 BLAKE2B ac052b4d0eb0d8ded03a8c7dff05177818627b8a51f2dbc2c162b2ee2a5d1323539e7d0d02236d9ebb75e018f0171c2fdaeb4de3bb339548265e50de79e6 SHA512 1dbece324473e53a83a60601b02c92c089f5d314761351974e097b2cf4d24af4296f9eb8653b6b03b1e363d9c5f793897acae1f0c7ac40149216035c4d395d9d DIST gtest-1.8.1.tar.gz 992298 BLAKE2B 40ef3417fe424205c0617f07207347ce671ac87605f8ac9b8a333b0b06e3fbef9f556041ee324c18f957f3258ab9fe06704f31cdd038355fb7890180eb77ced1 SHA512 e6283c667558e1fd6e49fa96e52af0e415a3c8037afe1d28b7ff1ec4c2ef8f49beb70a9327b7fc77eb4052a58c4ccad8b5260ec90e4bceeac7a46ff59c4369d7 DIST gtest-1.9.0_pre20190607.tar.gz 958396 BLAKE2B 64ae2c86a320a6ed56d6f99383591f7a0176e3f1291144bddf6dc82733c78177963f95516bbaed494318d3d7451d164aeb0d4a192b415414bcc25b9875cf6e82 SHA512 6c17ba303ec1dc8a989075a6dc0eda9b023345d00f6b43e588676cc2cd291f8c508744e4aba86a6c6b651329ce47419ad04d5765ca5978eda507a1643e8a92c3 diff --git a/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild b/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild new file mode 100644 index 000..560a1e282be --- /dev/null +++ b/dev-cpp/gtest/gtest-1.10.0_p20200702.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# Python is required for tests and some build tasks. +PYTHON_COMPAT=( python3_{6,7,8,9} ) + +CMAKE_ECLASS=cmake +inherit cmake-multilib python-any-r1 + +GOOGLETEST_COMMIT=aee0f9d9b5b87796ee8a0ab26b7587ec30e8858e + +if [[ ${PV} == "" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/google/googletest"; +else + if [[ -z ${GOOGLETEST_COMMIT} ]]; then + URI_PV=v${MY_PV:-${PV}} + else + URI_PV=${MY_PV:=${GOOGLETEST_COMMIT}} + fi + SRC_URI="https://github.com/google/googletest/archive/${URI_PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" + S="${WORKDIR}"/googletest-${MY_PV} +fi + +DESCRIPTION="Google C++ Testing Framework" +HOMEPAGE="https://github.com/google/googletest"; + +LICENSE="BSD" +SLOT="0" +IUSE="doc examples test" +RESTRICT="!test? ( test )" + +BDEPEND="test? ( ${PYTHON_DEPS} )" + +PATCHES=( + "${FILESDIR}"/${PN}-1.10.0_p20200702-increase-clone-stack-size.patch +) + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_prepare() { + cmake_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 + + # tests + -Dgmock_build_tests=$(usex test) + -Dgtest_build_tests=$(usex test) + -DPYTHON_EXECUTABLE="${PYTHON}" + ) + cmake_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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 7a167e39f50a5c0b09660fc4586aae253e30f16f Author: Peter Levine gmail com> AuthorDate: Thu Jun 11 23:39:09 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Sun Jul 19 10:43:25 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a167e39 dev-cpp/gtest: Add support for python3_{6,7,8,9} Tested working with 3.6.10-r2, 3.7.7-r3, 3.8.3-r1, 3.9.0_beta2 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Peter Levine gmail.com> Signed-off-by: Joonas Niilola gentoo.org> dev-cpp/gtest/gtest-.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-.ebuild b/dev-cpp/gtest/gtest-.ebuild index ab2e9dd322c..495db541c34 100644 --- a/dev-cpp/gtest/gtest-.ebuild +++ b/dev-cpp/gtest/gtest-.ebuild @@ -4,7 +4,7 @@ EAPI=7 # Python is required for tests and some build tasks. -PYTHON_COMPAT=( python2_7 ) +PYTHON_COMPAT=( python2_7 python3_{6,7,8,9} ) CMAKE_ECLASS=cmake inherit cmake-multilib python-any-r1
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 914b9ce29b05dad0d192297d3225a130b1b7ac61 Author: Peter Levine gmail com> AuthorDate: Sat Oct 5 17:25:47 2019 + Commit: Joonas Niilola gentoo org> CommitDate: Wed Oct 9 03:18:47 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=914b9ce2 dev-cpp/gtest: Fix tarball version scheme Upstream has changed tarball names from release-${PV}.tar.gz to v${PV}.tar.gz. To further complicate matters, the tarball for 1.10.0 is v1.10.x.tar.gz. Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Peter Levine gmail.com> Closes: https://github.com/gentoo/gentoo/pull/13174 Signed-off-by: Joonas Niilola gentoo.org> dev-cpp/gtest/gtest-1.10.0.ebuild | 8 +--- dev-cpp/gtest/gtest-.ebuild | 6 +++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/dev-cpp/gtest/gtest-1.10.0.ebuild b/dev-cpp/gtest/gtest-1.10.0.ebuild index 02ca3c039b1..0611441372a 100644 --- a/dev-cpp/gtest/gtest-1.10.0.ebuild +++ b/dev-cpp/gtest/gtest-1.10.0.ebuild @@ -8,16 +8,18 @@ PYTHON_COMPAT=( python2_7 pypy ) inherit cmake-multilib python-any-r1 +MY_PV=1.10.x + if [[ ${PV} == "" ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/google/googletest"; else if [[ -z ${GOOGLETEST_COMMIT} ]]; then - MY_PV=release-${PV} + URI_PV=v${MY_PV:-${PV}} else - MY_PV=${GOOGLETEST_COMMIT} + URI_PV=${MY_PV:=${GOOGLETEST_COMMIT}} fi - SRC_URI="https://github.com/google/googletest/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://github.com/google/googletest/archive/${URI_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-${MY_PV} fi diff --git a/dev-cpp/gtest/gtest-.ebuild b/dev-cpp/gtest/gtest-.ebuild index 02ca3c039b1..826b660f7bc 100644 --- a/dev-cpp/gtest/gtest-.ebuild +++ b/dev-cpp/gtest/gtest-.ebuild @@ -13,11 +13,11 @@ if [[ ${PV} == "" ]]; then EGIT_REPO_URI="https://github.com/google/googletest"; else if [[ -z ${GOOGLETEST_COMMIT} ]]; then - MY_PV=release-${PV} + URI_PV=v${MY_PV:-${PV}} else - MY_PV=${GOOGLETEST_COMMIT} + URI_PV=${MY_PV:=${GOOGLETEST_COMMIT}} fi - SRC_URI="https://github.com/google/googletest/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://github.com/google/googletest/archive/${URI_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-${MY_PV} fi
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: b9a3725874c8a23a207c45c0c0e76b6a21132116 Author: Peter Levine gmail com> AuthorDate: Sat Oct 5 16:32:25 2019 + Commit: Joonas Niilola gentoo org> CommitDate: Wed Oct 9 03:18:42 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9a37258 dev-cpp/gtest: Version bump to 1.10.0 Closes: https://bugs.gentoo.org/696510 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Peter Levine gmail.com> Signed-off-by: Joonas Niilola gentoo.org> dev-cpp/gtest/Manifest| 1 + dev-cpp/gtest/gtest-1.10.0.ebuild | 77 +++ 2 files changed, 78 insertions(+) diff --git a/dev-cpp/gtest/Manifest b/dev-cpp/gtest/Manifest index 63ceaa70e4a..dbb3e6432db 100644 --- a/dev-cpp/gtest/Manifest +++ b/dev-cpp/gtest/Manifest @@ -1,3 +1,4 @@ +DIST gtest-1.10.0.tar.gz 904227 BLAKE2B 96b97b06730a9f55505a4d40bd4861560503a1437d29dadc6e8d3c743ccde020e61b3f96082fb9bda0666d739e69d3990bad06161e9c531c40021dc0826f5547 SHA512 7ebf5b4a80f364564066ccc7ce2e2092b12942a754c4854afd97380f19811e0fd45c300d423234cda0e05966ddbdaebcb1625e856ce55b0c81b0bae0dd971532 DIST gtest-1.8.0.tar.gz 1281617 BLAKE2B ac052b4d0eb0d8ded03a8c7dff05177818627b8a51f2dbc2c162b2ee2a5d1323539e7d0d02236d9ebb75e018f0171c2fdaeb4de3bb339548265e50de79e6 SHA512 1dbece324473e53a83a60601b02c92c089f5d314761351974e097b2cf4d24af4296f9eb8653b6b03b1e363d9c5f793897acae1f0c7ac40149216035c4d395d9d DIST gtest-1.8.1.tar.gz 992298 BLAKE2B 40ef3417fe424205c0617f07207347ce671ac87605f8ac9b8a333b0b06e3fbef9f556041ee324c18f957f3258ab9fe06704f31cdd038355fb7890180eb77ced1 SHA512 e6283c667558e1fd6e49fa96e52af0e415a3c8037afe1d28b7ff1ec4c2ef8f49beb70a9327b7fc77eb4052a58c4ccad8b5260ec90e4bceeac7a46ff59c4369d7 DIST gtest-1.9.0_pre20190607.tar.gz 958396 BLAKE2B 64ae2c86a320a6ed56d6f99383591f7a0176e3f1291144bddf6dc82733c78177963f95516bbaed494318d3d7451d164aeb0d4a192b415414bcc25b9875cf6e82 SHA512 6c17ba303ec1dc8a989075a6dc0eda9b023345d00f6b43e588676cc2cd291f8c508744e4aba86a6c6b651329ce47419ad04d5765ca5978eda507a1643e8a92c3 diff --git a/dev-cpp/gtest/gtest-1.10.0.ebuild b/dev-cpp/gtest/gtest-1.10.0.ebuild new file mode 100644 index 000..02ca3c039b1 --- /dev/null +++ b/dev-cpp/gtest/gtest-1.10.0.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# Python is required for tests and some build tasks. +PYTHON_COMPAT=( python2_7 pypy ) + +inherit cmake-multilib python-any-r1 + +if [[ ${PV} == "" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/google/googletest"; +else + if [[ -z ${GOOGLETEST_COMMIT} ]]; then + MY_PV=release-${PV} + else + MY_PV=${GOOGLETEST_COMMIT} + fi + SRC_URI="https://github.com/google/googletest/archive/${MY_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-${MY_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}-1.9.0_pre20190607-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 + + # 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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 78593e85200139faee81ddac3321d6cb0e6cdeba Author: Mikle Kolyada gentoo org> AuthorDate: Fri Sep 13 17:26:56 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Fri Sep 13 17:26:56 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78593e85 dev-cpp/gtest: arm stable wrt bug #691198 Package-Manager: Portage-2.3.69, Repoman-2.3.16 RepoMan-Options: --include-arches="arm" Signed-off-by: Mikle Kolyada gentoo.org> dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild b/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild index 47f236ed8ce..800cc372bba 100644 --- a/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild +++ b/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild @@ -20,7 +20,7 @@ else MY_PV=${GOOGLETEST_COMMIT} fi SRC_URI="https://github.com/google/googletest/archive/${MY_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" + 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-${MY_PV} fi
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: a0af226600691e53756b402c3272526be4c93cf1 Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Aug 23 12:16:44 2019 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Aug 23 12:16:44 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0af2266 dev-cpp/gtest: alpha stable wrt bug #691198 Package-Manager: Portage-2.3.69, Repoman-2.3.16 RepoMan-Options: --include-arches="alpha" Signed-off-by: Agostino Sarubbo gentoo.org> dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild b/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild index 353f51efdb2..47f236ed8ce 100644 --- a/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild +++ b/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild @@ -20,7 +20,7 @@ else MY_PV=${GOOGLETEST_COMMIT} fi SRC_URI="https://github.com/google/googletest/archive/${MY_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" + 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-${MY_PV} fi
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: af201efe7cb22c419d6d9fe9fcf370a61d29b98f Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Aug 23 09:59:42 2019 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Aug 23 09:59:42 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af201efe dev-cpp/gtest: s390 stable wrt bug #691198 Package-Manager: Portage-2.3.69, Repoman-2.3.16 RepoMan-Options: --include-arches="s390" Signed-off-by: Agostino Sarubbo gentoo.org> dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild b/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild index b7b365beb32..353f51efdb2 100644 --- a/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild +++ b/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild @@ -20,7 +20,7 @@ else MY_PV=${GOOGLETEST_COMMIT} fi SRC_URI="https://github.com/google/googletest/archive/${MY_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" + 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-${MY_PV} fi
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 02f2e91ce4f41d4577605690fe47f9e63f210d5a Author: Agostino Sarubbo gentoo org> AuthorDate: Thu Aug 22 22:02:46 2019 + Commit: Agostino Sarubbo gentoo org> CommitDate: Thu Aug 22 22:02:46 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02f2e91c dev-cpp/gtest: ppc64 stable wrt bug #691198 Package-Manager: Portage-2.3.69, Repoman-2.3.16 RepoMan-Options: --include-arches="ppc64" Signed-off-by: Agostino Sarubbo gentoo.org> dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild b/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild index d79d6b7dd58..b7b365beb32 100644 --- a/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild +++ b/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild @@ -20,7 +20,7 @@ else MY_PV=${GOOGLETEST_COMMIT} fi SRC_URI="https://github.com/google/googletest/archive/${MY_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" + 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-${MY_PV} fi
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/, dev-cpp/gtest/files/
commit: aa4cea02ac7bb486979ce96d29b0dc6c76491184 Author: Peter Levine gmail com> AuthorDate: Tue Aug 20 05:56:41 2019 + Commit: Joonas Niilola gentoo org> CommitDate: Wed Aug 21 05:06:55 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa4cea02 dev-cpp/gtest: Fix test failure on sparc64 sparc64 exhibits the same usersandbox stack overflow bug and its stack can apparently grow upwards in memory. Revert back to allocating 10 pages of mapped memory for the offending call to clone(). Bug: https://bugs.gentoo.org/692464 Reported-by: Rolf Eike Beer opensource.sf-tec.de> Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Peter Levine gmail.com> Signed-off-by: Joonas Niilola gentoo.org> .../gtest-1.9.0_pre20190607-add-mmap-stack-flag.patch | 15 --- ...test-1.9.0_pre20190607-increase-clone-stack-size.patch | 13 + dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild | 2 +- dev-cpp/gtest/gtest-.ebuild | 2 +- 4 files changed, 15 insertions(+), 17 deletions(-) diff --git a/dev-cpp/gtest/files/gtest-1.9.0_pre20190607-add-mmap-stack-flag.patch b/dev-cpp/gtest/files/gtest-1.9.0_pre20190607-add-mmap-stack-flag.patch deleted file mode 100644 index 9a840aa5876..000 --- a/dev-cpp/gtest/files/gtest-1.9.0_pre20190607-add-mmap-stack-flag.patch +++ /dev/null @@ -1,15 +0,0 @@ -Bug: https://bugs.gentoo.org/688162 -Upstream PR: https://github.com/google/googletest/pull/2276 - a/googletest/src/gtest-death-test.cc -+++ b/googletest/src/gtest-death-test.cc -@@ -1357,6 +1357,9 @@ static pid_t ExecDeathTestSpawnChild(char* const* argv, int close_fd) { - const auto stack_size = static_cast(getpagesize()); - // MMAP_ANONYMOUS is not defined on Mac, so we use MAP_ANON instead. - void* const stack = mmap(nullptr, stack_size, PROT_READ | PROT_WRITE, -+#if GTEST_OS_LINUX -+ (stack_grows_down ? MAP_GROWSDOWN : 0) | // Needed for stack auto-resizing -+#endif - MAP_ANON | MAP_PRIVATE, -1, 0); - GTEST_DEATH_TEST_CHECK_(stack != MAP_FAILED); - diff --git a/dev-cpp/gtest/files/gtest-1.9.0_pre20190607-increase-clone-stack-size.patch b/dev-cpp/gtest/files/gtest-1.9.0_pre20190607-increase-clone-stack-size.patch new file mode 100755 index 000..38d515a48dd --- /dev/null +++ b/dev-cpp/gtest/files/gtest-1.9.0_pre20190607-increase-clone-stack-size.patch @@ -0,0 +1,13 @@ +Bug: https://bugs.gentoo.org/692464 + +--- a/googletest/src/gtest-death-test.cc b/googletest/src/gtest-death-test.cc +@@ -1070,7 +1070,7 @@ + + if (!use_fork) { + static const bool stack_grows_down = StackGrowsDown(); +-const auto stack_size = static_cast(getpagesize()); ++const auto stack_size = static_cast(getpagesize()* 10); + // MMAP_ANONYMOUS is not defined on Mac, so we use MAP_ANON instead. + void* const stack = mmap(NULL, stack_size, PROT_READ | PROT_WRITE, + MAP_ANON | MAP_PRIVATE, -1, 0); diff --git a/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild b/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild index 923d9a16c22..d79d6b7dd58 100644 --- a/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild +++ b/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild @@ -35,7 +35,7 @@ DEPEND="test? ( ${PYTHON_DEPS} )" RDEPEND="!dev-cpp/gmock" PATCHES=( - "${FILESDIR}"/${PN}-1.9.0_pre20190607-add-mmap-stack-flag.patch + "${FILESDIR}"/${PN}-1.9.0_pre20190607-increase-clone-stack-size.patch ) pkg_setup() { diff --git a/dev-cpp/gtest/gtest-.ebuild b/dev-cpp/gtest/gtest-.ebuild index bd677dc0bd1..02ca3c039b1 100644 --- a/dev-cpp/gtest/gtest-.ebuild +++ b/dev-cpp/gtest/gtest-.ebuild @@ -33,7 +33,7 @@ DEPEND="test? ( ${PYTHON_DEPS} )" RDEPEND="!dev-cpp/gmock" PATCHES=( - "${FILESDIR}"/${PN}-1.9.0_pre20190607-add-mmap-stack-flag.patch + "${FILESDIR}"/${PN}-1.9.0_pre20190607-increase-clone-stack-size.patch ) pkg_setup() {
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/files/, dev-cpp/gtest/
commit: 856baf91fe985ca7e633f2611528a8c5f171c0b0 Author: Peter Levine gmail com> AuthorDate: Tue Aug 20 06:10:29 2019 + Commit: Joonas Niilola gentoo org> CommitDate: Wed Aug 21 05:06:55 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=856baf91 dev-cpp/gtest: Remove gtest-1.7.0-r1 Outdated EAPI and no reverse dependencies Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Peter Levine gmail.com> Closes: https://github.com/gentoo/gentoo/pull/12751 Signed-off-by: Joonas Niilola gentoo.org> dev-cpp/gtest/Manifest | 1 - .../files/configure-fix-pthread-linking.patch | 93 -- dev-cpp/gtest/gtest-1.7.0-r1.ebuild| 50 3 files changed, 144 deletions(-) diff --git a/dev-cpp/gtest/Manifest b/dev-cpp/gtest/Manifest index 263c2954cef..63ceaa70e4a 100644 --- a/dev-cpp/gtest/Manifest +++ b/dev-cpp/gtest/Manifest @@ -1,4 +1,3 @@ -DIST gtest-1.7.0.tar.gz 1001582 BLAKE2B 3d10c1e502c2fac1500d07301031a9328b29027a3f9719137e09d2c47556cf52bbc978a8fb7b37330a94beafa27d24c3bfc247b2f0d51306b53f43e7ae2373b4 SHA512 a9f5c047b39efb2d11b55ee9913662ca402ac6837b3ad2d278ecfbd1caf32ed4546f169e3e92503d57bf3b62ccf89cd062da1c7ea3638aae98e868d2766363c3 DIST gtest-1.8.0.tar.gz 1281617 BLAKE2B ac052b4d0eb0d8ded03a8c7dff05177818627b8a51f2dbc2c162b2ee2a5d1323539e7d0d02236d9ebb75e018f0171c2fdaeb4de3bb339548265e50de79e6 SHA512 1dbece324473e53a83a60601b02c92c089f5d314761351974e097b2cf4d24af4296f9eb8653b6b03b1e363d9c5f793897acae1f0c7ac40149216035c4d395d9d DIST gtest-1.8.1.tar.gz 992298 BLAKE2B 40ef3417fe424205c0617f07207347ce671ac87605f8ac9b8a333b0b06e3fbef9f556041ee324c18f957f3258ab9fe06704f31cdd038355fb7890180eb77ced1 SHA512 e6283c667558e1fd6e49fa96e52af0e415a3c8037afe1d28b7ff1ec4c2ef8f49beb70a9327b7fc77eb4052a58c4ccad8b5260ec90e4bceeac7a46ff59c4369d7 DIST gtest-1.9.0_pre20190607.tar.gz 958396 BLAKE2B 64ae2c86a320a6ed56d6f99383591f7a0176e3f1291144bddf6dc82733c78177963f95516bbaed494318d3d7451d164aeb0d4a192b415414bcc25b9875cf6e82 SHA512 6c17ba303ec1dc8a989075a6dc0eda9b023345d00f6b43e588676cc2cd291f8c508744e4aba86a6c6b651329ce47419ad04d5765ca5978eda507a1643e8a92c3 diff --git a/dev-cpp/gtest/files/configure-fix-pthread-linking.patch b/dev-cpp/gtest/files/configure-fix-pthread-linking.patch deleted file mode 100644 index 75e5219b7a7..000 --- a/dev-cpp/gtest/files/configure-fix-pthread-linking.patch +++ /dev/null @@ -1,93 +0,0 @@ -From fb71154012e634a5e780e93af5434bcdafaf2b24 Mon Sep 17 00:00:00 2001 -From: Justin Bronder -Date: Mon, 15 Oct 2012 17:25:07 -0400 -Subject: [PATCH] configure: fix pthread linking - -- Update the pthread check to make sure that we don't need -lpthread when -compiling with -nostdlib. - -- Make sure that the necessary pthread library is passed to libtool. - -Fixes: - -$ ldd -r /usr/lib/libgtest.so -linux-vdso.so.1 (0x7fffe7dff000) -libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/libstdc++.so.6 (0x7fbe09a9f000) -libc.so.6 => /lib64/libc.so.6 (0x7fbe096f7000) -libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/libgcc_s.so.1 (0x7fbe094e1000) -libm.so.6 => /lib64/libm.so.6 (0x7fbe091ee000) -/lib64/ld-linux-x86-64.so.2 (0x7fbe0a005000) -undefined symbol: pthread_key_create(/usr/lib/libgtest.so) -undefined symbol: pthread_getspecific (/usr/lib/libgtest.so) -undefined symbol: pthread_key_delete(/usr/lib/libgtest.so) -undefined symbol: pthread_setspecific (/usr/lib/libgtest.so) - Makefile.am |1 + - m4/acx_pthread.m4 | 39 ++- - 2 files changed, 39 insertions(+), 1 deletions(-) - -diff --git a/Makefile.am b/Makefile.am -index cb350b7..db2606e 100644 a/Makefile.am -+++ b/Makefile.am -@@ -181,6 +181,7 @@ endif - lib_LTLIBRARIES = lib/libgtest.la lib/libgtest_main.la - - lib_libgtest_la_SOURCES = src/gtest-all.cc -+lib_libgtest_la_LIBADD = $(AM_LIBS) - - pkginclude_HEADERS = \ - include/gtest/gtest-death-test.h \ -diff --git a/m4/acx_pthread.m4 b/m4/acx_pthread.m4 -index 2cf20de..7fba4d9 100644 a/m4/acx_pthread.m4 -+++ b/m4/acx_pthread.m4 -@@ -339,7 +339,44 @@ if test "x$acx_pthread_ok" = xyes; then - # so it's not safe to assume that we may use pthreads - acx_pthread_ok=no - fi -- -+ -+ AC_MSG_CHECKING([whether what we have so far is sufficient with -nostdlib]) -+ CFLAGS="-nostdlib $CFLAGS" -+ # we need c with nostdlib -+ LIBS="$LIBS -lc" -+ AC_TRY_LINK([#include ], -+ [pthread_t th; pthread_join(th, 0); -+ pthread_attr_init(0); pthread_cleanup_push(0, 0); -+ pthread_create(0,0,0,0); pthread_cleanup_pop(0); ], -+ [done=yes],[done=no]) -+ -+ if test "x$done" = xyes; then -+ AC_MSG_RESULT([yes]) -+ else -+ AC_MSG_RESULT([no]) -+ fi -+ -+ if test x"$done" = xno; then -+ AC_MSG_CHECKING([whether -lpthread saves the day]) -
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 79a6005d4223b54ba19f209651e4cf11462d14d8 Author: Sergei Trofimovich gentoo org> AuthorDate: Mon Aug 19 06:56:11 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Aug 19 06:56:38 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79a6005d dev-cpp/gtest: stable 1.9.0_pre20190607 for hppa, bug #691198 Package-Manager: Portage-2.3.71, Repoman-2.3.17 RepoMan-Options: --include-arches="hppa" Signed-off-by: Sergei Trofimovich gentoo.org> dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild b/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild index be0b3f49f66..923d9a16c22 100644 --- a/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild +++ b/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild @@ -20,7 +20,7 @@ else MY_PV=${GOOGLETEST_COMMIT} fi SRC_URI="https://github.com/google/googletest/archive/${MY_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" + 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-${MY_PV} fi
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 2d118cfaa6a8b6a8e9ffccafaeebf54cf63f5168 Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Aug 18 10:10:10 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Aug 18 10:10:10 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d118cfa dev-cpp/gtest: stable 1.9.0_pre20190607 for ppc, bug #691198 Package-Manager: Portage-2.3.71, Repoman-2.3.17 RepoMan-Options: --include-arches="ppc" Signed-off-by: Sergei Trofimovich gentoo.org> dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild b/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild index e7388eb873f..be0b3f49f66 100644 --- a/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild +++ b/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild @@ -20,7 +20,7 @@ else MY_PV=${GOOGLETEST_COMMIT} fi SRC_URI="https://github.com/google/googletest/archive/${MY_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" + 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-${MY_PV} fi
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: bf5ec96f424d90a5ec4518f925a583673bf9904e Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Aug 18 10:07:58 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Aug 18 10:08:13 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf5ec96f dev-cpp/gtest: stable 1.9.0_pre20190607 for ia64, bug #691198 Package-Manager: Portage-2.3.71, Repoman-2.3.17 RepoMan-Options: --include-arches="ia64" Signed-off-by: Sergei Trofimovich gentoo.org> dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild b/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild index 9a050a8a273..e7388eb873f 100644 --- a/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild +++ b/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild @@ -20,7 +20,7 @@ else MY_PV=${GOOGLETEST_COMMIT} fi SRC_URI="https://github.com/google/googletest/archive/${MY_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" + 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-${MY_PV} fi
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: b0cf5adc8e4403ec4cb0977abf9795c170234b48 Author: Rolf Eike Beer sf-mail de> AuthorDate: Sun Aug 18 09:01:55 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Aug 18 09:10:27 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0cf5adc dev-cpp/gtest: stable 1.9.0_pre20190607 for sparc, bug #691198 Package-Manager: Portage-2.3.69, Repoman-2.3.16 RepoMan-Options: --include-arches="sparc" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild b/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild index 8216f7178df..9a050a8a273 100644 --- a/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild +++ b/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild @@ -20,7 +20,7 @@ else MY_PV=${GOOGLETEST_COMMIT} fi SRC_URI="https://github.com/google/googletest/archive/${MY_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" + 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-${MY_PV} fi
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 2f2a82d37921e1fe7c82b40bb01368f5c2138c15 Author: Aaron Bauman gentoo org> AuthorDate: Fri Aug 16 23:21:14 2019 + Commit: Aaron Bauman gentoo org> CommitDate: Fri Aug 16 23:21:14 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f2a82d3 dev-cpp/gtest: arm64 stable (bug #691198) Signed-off-by: Aaron Bauman gentoo.org> Package-Manager: Portage-2.3.71, Repoman-2.3.17 RepoMan-Options: --include-arches="arm64" dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild b/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild index 4363c277c93..8216f7178df 100644 --- a/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild +++ b/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild @@ -20,7 +20,7 @@ else MY_PV=${GOOGLETEST_COMMIT} fi SRC_URI="https://github.com/google/googletest/archive/${MY_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" + 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-${MY_PV} fi
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: e41e2e60e569f7e3eba5630d56b212b0cbb9b17d Author: Arfrever Frehtes Taifersar Arahesis Apache Org> AuthorDate: Thu Aug 15 19:25:29 2019 + Commit: Mike Gilbert gentoo org> CommitDate: Fri Aug 16 17:02:29 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e41e2e60 dev-cpp/gtest: Stabilize 1.9.0_pre20190607 on amd64/x86 (bug #691198). Signed-off-by: Arfrever Frehtes Taifersar Arahesis Apache.Org> Signed-off-by: Mike Gilbert gentoo.org> dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild b/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild index 9fc545d7fd8..4363c277c93 100644 --- a/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild +++ b/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild @@ -20,7 +20,7 @@ else MY_PV=${GOOGLETEST_COMMIT} fi SRC_URI="https://github.com/google/googletest/archive/${MY_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" + 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-${MY_PV} fi
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/files/, dev-cpp/gtest/
commit: fac747ad8938ce04897dfe1d188260f42ce8b6cb Author: Peter Levine gmail com> AuthorDate: Sun Jun 16 23:55:31 2019 + Commit: Michał Górny gentoo org> CommitDate: Mon Jun 17 06:25:05 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fac747ad dev-cpp/gtest: Fix segfault in googletest-death-test Fixes call to mmap to include MAP_GROWSDOWN flag for stack auto-resizing. Reported-by: tka kamph.org> Tested-by: Arfrever Frehtes Taifersar Arahesis gmail.com> Closes: https://bugs.gentoo.org/688162 Closes: https://github.com/gentoo/gentoo/pull/12271 Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: Peter Levine gmail.com> Signed-off-by: Michał Górny gentoo.org> .../gtest-1.9.0_pre20190607-add-mmap-stack-flag.patch | 15 +++ .../files/gtest--increase-clone-stack-size.patch | 14 -- dev-cpp/gtest/gtest-1.7.0-r1.ebuild | 2 +- dev-cpp/gtest/gtest-1.8.0-r1.ebuild | 2 +- dev-cpp/gtest/gtest-1.8.0.ebuild | 2 +- dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild | 2 +- dev-cpp/gtest/gtest-.ebuild | 2 +- 7 files changed, 20 insertions(+), 19 deletions(-) diff --git a/dev-cpp/gtest/files/gtest-1.9.0_pre20190607-add-mmap-stack-flag.patch b/dev-cpp/gtest/files/gtest-1.9.0_pre20190607-add-mmap-stack-flag.patch new file mode 100644 index 000..9a840aa5876 --- /dev/null +++ b/dev-cpp/gtest/files/gtest-1.9.0_pre20190607-add-mmap-stack-flag.patch @@ -0,0 +1,15 @@ +Bug: https://bugs.gentoo.org/688162 +Upstream PR: https://github.com/google/googletest/pull/2276 + +--- a/googletest/src/gtest-death-test.cc b/googletest/src/gtest-death-test.cc +@@ -1357,6 +1357,9 @@ static pid_t ExecDeathTestSpawnChild(char* const* argv, int close_fd) { + const auto stack_size = static_cast(getpagesize()); + // MMAP_ANONYMOUS is not defined on Mac, so we use MAP_ANON instead. + void* const stack = mmap(nullptr, stack_size, PROT_READ | PROT_WRITE, ++#if GTEST_OS_LINUX ++ (stack_grows_down ? MAP_GROWSDOWN : 0) | // Needed for stack auto-resizing ++#endif + MAP_ANON | MAP_PRIVATE, -1, 0); + GTEST_DEATH_TEST_CHECK_(stack != MAP_FAILED); + diff --git a/dev-cpp/gtest/files/gtest--increase-clone-stack-size.patch b/dev-cpp/gtest/files/gtest--increase-clone-stack-size.patch deleted file mode 100644 index 5e4dc47f704..000 --- a/dev-cpp/gtest/files/gtest--increase-clone-stack-size.patch +++ /dev/null @@ -1,14 +0,0 @@ -Bug: https://bugs.gentoo.org/629620 -Upstream PR: https://github.com/google/googletest/pull/2276 - a/googletest/src/gtest-death-test.cc -+++ b/googletest/src/gtest-death-test.cc -@@ -1354,7 +1354,7 @@ - - if (!use_fork) { - static const bool stack_grows_down = StackGrowsDown(); --const auto stack_size = static_cast(getpagesize()); -+const auto stack_size = static_cast(getpagesize() * 8); - // MMAP_ANONYMOUS is not defined on Mac, so we use MAP_ANON instead. - void* const stack = mmap(nullptr, stack_size, PROT_READ | PROT_WRITE, - MAP_ANON | MAP_PRIVATE, -1, 0); diff --git a/dev-cpp/gtest/gtest-1.7.0-r1.ebuild b/dev-cpp/gtest/gtest-1.7.0-r1.ebuild index f1185b2db0c..360809f62e7 100644 --- a/dev-cpp/gtest/gtest-1.7.0-r1.ebuild +++ b/dev-cpp/gtest/gtest-1.7.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="5" diff --git a/dev-cpp/gtest/gtest-1.8.0-r1.ebuild b/dev-cpp/gtest/gtest-1.8.0-r1.ebuild index 18d837c58fc..0e0934020cd 100644 --- a/dev-cpp/gtest/gtest-1.8.0-r1.ebuild +++ b/dev-cpp/gtest/gtest-1.8.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 diff --git a/dev-cpp/gtest/gtest-1.8.0.ebuild b/dev-cpp/gtest/gtest-1.8.0.ebuild index a2fc61eb5c4..da82dca28b2 100644 --- a/dev-cpp/gtest/gtest-1.8.0.ebuild +++ b/dev-cpp/gtest/gtest-1.8.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 diff --git a/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild b/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild index 1ff88fb723f..9fc545d7fd8 100644 --- a/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild +++ b/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild @@ -35,7 +35,7 @@ DEPEND="test? ( ${PYTHON_DEPS} )" RDEPEND="!dev-cpp/gmock" PATCHES=( - "${FILESDIR}"/${PN}--increase-clone-stack-size.patch + "${FILESDIR}"/${PN}-1.9.0_pre20190607-add-mmap-stack-flag.patch ) pkg_setup() { diff --git a/dev-cpp/gtest/gtest-.ebuild b/dev-cpp/gtest/gtest-.ebuild index 685acf50c
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 6980dd2f3348f75cf63bc64613aa1613b0f703af Author: Peter Levine gmail com> AuthorDate: Fri Jun 7 04:55:23 2019 + Commit: Michał Górny gentoo org> CommitDate: Sat Jun 15 20:29:26 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6980dd2f dev-cpp/gtest: Don't apply patch to gtest- Changes from gtest--fix-gcc6-undefined-behavior.patch commited upstream with commit d850e144710e330070b756c009749dc7a7302301 Package-Manager: Portage-2.3.67, Repoman-2.3.13 Signed-off-by: Peter Levine gmail.com> Signed-off-by: Michał Górny gentoo.org> dev-cpp/gtest/gtest-.ebuild | 1 - 1 file changed, 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-.ebuild b/dev-cpp/gtest/gtest-.ebuild index 50abe1209db..e546efa392a 100644 --- a/dev-cpp/gtest/gtest-.ebuild +++ b/dev-cpp/gtest/gtest-.ebuild @@ -28,7 +28,6 @@ DEPEND="test? ( ${PYTHON_DEPS} )" RDEPEND="!dev-cpp/gmock" PATCHES=( - "${FILESDIR}"/${PN}--fix-gcc6-undefined-behavior.patch "${FILESDIR}"/${PN}-1.8.0-increase-clone-stack-size.patch )
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/, dev-cpp/gtest/files/
commit: b8467b0c198796db565e24118f34853384e57e12 Author: Peter Levine gmail com> AuthorDate: Fri Jun 7 05:50:38 2019 + Commit: Michał Górny gentoo org> CommitDate: Sat Jun 15 20:29:27 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8467b0c dev-cpp/gtest: Update patch for gtest- Update the gtest-1.8.0-increase-clone-stack-size.patch for gtest- to reflect upstream changes Package-Manager: Portage-2.3.67, Repoman-2.3.13 Signed-off-by: Peter Levine gmail.com> Signed-off-by: Michał Górny gentoo.org> .../gtest/files/gtest--increase-clone-stack-size.patch | 14 ++ dev-cpp/gtest/gtest-.ebuild| 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/dev-cpp/gtest/files/gtest--increase-clone-stack-size.patch b/dev-cpp/gtest/files/gtest--increase-clone-stack-size.patch new file mode 100644 index 000..5e4dc47f704 --- /dev/null +++ b/dev-cpp/gtest/files/gtest--increase-clone-stack-size.patch @@ -0,0 +1,14 @@ +Bug: https://bugs.gentoo.org/629620 +Upstream PR: https://github.com/google/googletest/pull/2276 + +--- a/googletest/src/gtest-death-test.cc b/googletest/src/gtest-death-test.cc +@@ -1354,7 +1354,7 @@ + + if (!use_fork) { + static const bool stack_grows_down = StackGrowsDown(); +-const auto stack_size = static_cast(getpagesize()); ++const auto stack_size = static_cast(getpagesize() * 8); + // MMAP_ANONYMOUS is not defined on Mac, so we use MAP_ANON instead. + void* const stack = mmap(nullptr, stack_size, PROT_READ | PROT_WRITE, + MAP_ANON | MAP_PRIVATE, -1, 0); diff --git a/dev-cpp/gtest/gtest-.ebuild b/dev-cpp/gtest/gtest-.ebuild index e546efa392a..98ce51d82ae 100644 --- a/dev-cpp/gtest/gtest-.ebuild +++ b/dev-cpp/gtest/gtest-.ebuild @@ -28,7 +28,7 @@ DEPEND="test? ( ${PYTHON_DEPS} )" RDEPEND="!dev-cpp/gmock" PATCHES=( - "${FILESDIR}"/${PN}-1.8.0-increase-clone-stack-size.patch + "${FILESDIR}"/${PN}--increase-clone-stack-size.patch ) pkg_setup() {
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: e58c0ab35c35b4de684f86137e432efba6592080 Author: Peter Levine gmail com> AuthorDate: Sat Jun 8 22:27:02 2019 + Commit: Michał Górny gentoo org> CommitDate: Sat Jun 15 20:29:28 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e58c0ab3 dev-cpp/gtest: Update to 1.9.0_pre20190607 Latest dev-libs/protobuf-3.8.0 is going to need the INSTANTIATE_TEST_SUITE_P macro which is defined in upstream master branch. Also, fixes for building with gcc-9 have been included upstream so this kills two bugs. Reported-by: Toralf Förster gentoo.org> Closes: https://bugs.gentoo.org/687086 Reported-by: Arfrever Frehtes Taifersar Arahesis gmail.com> Tested-by: Arfrever Frehtes Taifersar Arahesis gmail.com> Closes: https://bugs.gentoo.org/687606 Closes: https://github.com/gentoo/gentoo/pull/1 Package-Manager: Portage-2.3.67, Repoman-2.3.13 Signed-off-by: Peter Levine gmail.com> Signed-off-by: Michał Górny gentoo.org> dev-cpp/gtest/Manifest| 1 + .../{gtest-.ebuild => gtest-1.9.0_pre20190607.ebuild} | 11 +-- dev-cpp/gtest/gtest-.ebuild | 9 +++-- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/dev-cpp/gtest/Manifest b/dev-cpp/gtest/Manifest index 035005dab21..263c2954cef 100644 --- a/dev-cpp/gtest/Manifest +++ b/dev-cpp/gtest/Manifest @@ -1,3 +1,4 @@ DIST gtest-1.7.0.tar.gz 1001582 BLAKE2B 3d10c1e502c2fac1500d07301031a9328b29027a3f9719137e09d2c47556cf52bbc978a8fb7b37330a94beafa27d24c3bfc247b2f0d51306b53f43e7ae2373b4 SHA512 a9f5c047b39efb2d11b55ee9913662ca402ac6837b3ad2d278ecfbd1caf32ed4546f169e3e92503d57bf3b62ccf89cd062da1c7ea3638aae98e868d2766363c3 DIST gtest-1.8.0.tar.gz 1281617 BLAKE2B ac052b4d0eb0d8ded03a8c7dff05177818627b8a51f2dbc2c162b2ee2a5d1323539e7d0d02236d9ebb75e018f0171c2fdaeb4de3bb339548265e50de79e6 SHA512 1dbece324473e53a83a60601b02c92c089f5d314761351974e097b2cf4d24af4296f9eb8653b6b03b1e363d9c5f793897acae1f0c7ac40149216035c4d395d9d DIST gtest-1.8.1.tar.gz 992298 BLAKE2B 40ef3417fe424205c0617f07207347ce671ac87605f8ac9b8a333b0b06e3fbef9f556041ee324c18f957f3258ab9fe06704f31cdd038355fb7890180eb77ced1 SHA512 e6283c667558e1fd6e49fa96e52af0e415a3c8037afe1d28b7ff1ec4c2ef8f49beb70a9327b7fc77eb4052a58c4ccad8b5260ec90e4bceeac7a46ff59c4369d7 +DIST gtest-1.9.0_pre20190607.tar.gz 958396 BLAKE2B 64ae2c86a320a6ed56d6f99383591f7a0176e3f1291144bddf6dc82733c78177963f95516bbaed494318d3d7451d164aeb0d4a192b415414bcc25b9875cf6e82 SHA512 6c17ba303ec1dc8a989075a6dc0eda9b023345d00f6b43e588676cc2cd291f8c508744e4aba86a6c6b651329ce47419ad04d5765ca5978eda507a1643e8a92c3 diff --git a/dev-cpp/gtest/gtest-.ebuild b/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild similarity index 83% copy from dev-cpp/gtest/gtest-.ebuild copy to dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild index 98ce51d82ae..1ff88fb723f 100644 --- a/dev-cpp/gtest/gtest-.ebuild +++ b/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild @@ -6,15 +6,22 @@ EAPI=7 # Python is required for tests and some build tasks. PYTHON_COMPAT=( python2_7 pypy ) +GOOGLETEST_COMMIT=da10da05c262af0a9e8fa91789a272a3dec67655 + inherit cmake-multilib python-any-r1 if [[ ${PV} == "" ]]; 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" + if [[ -z ${GOOGLETEST_COMMIT} ]]; then + MY_PV=release-${PV} + else + MY_PV=${GOOGLETEST_COMMIT} + fi + SRC_URI="https://github.com/google/googletest/archive/${MY_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} + S="${WORKDIR}"/googletest-${MY_PV} fi DESCRIPTION="Google C++ Testing Framework" diff --git a/dev-cpp/gtest/gtest-.ebuild b/dev-cpp/gtest/gtest-.ebuild index 98ce51d82ae..685acf50cd6 100644 --- a/dev-cpp/gtest/gtest-.ebuild +++ b/dev-cpp/gtest/gtest-.ebuild @@ -12,9 +12,14 @@ if [[ ${PV} == "" ]]; 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" + if [[ -z ${GOOGLETEST_COMMIT} ]]; then + MY_PV=release-${PV} + else + MY_PV=${GOOGLETEST_COMMIT} + fi + SRC_URI="https://github.com/google/googletest/archive/${MY_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} + S="${WORKDIR}"/googletest-${MY_PV} fi DESCRIPTION="Google C++ Testing Framework"
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 8341c97fd2aeccd008c55d4a88e7af48026e3f69 Author: David Michael redhat com> AuthorDate: Tue Mar 12 00:13:58 2019 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Jun 4 19:49:10 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8341c97f dev-cpp/gtest: EAPI=7 This allows the cmake eclass to use BDEPEND, so the host cmake can be used without having to cross-compile it. Signed-off-by: David Michael redhat.com> Package-Manager: Portage-2.3.51, Repoman-2.3.11 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-cpp/gtest/{gtest-.ebuild => gtest-1.8.1-r1.ebuild} | 5 ++--- dev-cpp/gtest/gtest-.ebuild| 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/dev-cpp/gtest/gtest-.ebuild b/dev-cpp/gtest/gtest-1.8.1-r1.ebuild similarity index 95% copy from dev-cpp/gtest/gtest-.ebuild copy to dev-cpp/gtest/gtest-1.8.1-r1.ebuild index 7a444173666..50abe1209db 100644 --- a/dev-cpp/gtest/gtest-.ebuild +++ b/dev-cpp/gtest/gtest-1.8.1-r1.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI=7 # Python is required for tests and some build tasks. PYTHON_COMPAT=( python2_7 pypy ) @@ -47,7 +47,6 @@ multilib_src_configure() { local mycmakeargs=( -DBUILD_GMOCK=ON -DINSTALL_GTEST=ON - -DBUILD_SHARED_LIBS=ON # tests -Dgmock_build_tests=$(usex test) diff --git a/dev-cpp/gtest/gtest-.ebuild b/dev-cpp/gtest/gtest-.ebuild index 7a444173666..50abe1209db 100644 --- a/dev-cpp/gtest/gtest-.ebuild +++ b/dev-cpp/gtest/gtest-.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI=7 # Python is required for tests and some build tasks. PYTHON_COMPAT=( python2_7 pypy ) @@ -47,7 +47,6 @@ multilib_src_configure() { local mycmakeargs=( -DBUILD_GMOCK=ON -DINSTALL_GTEST=ON - -DBUILD_SHARED_LIBS=ON # tests -Dgmock_build_tests=$(usex test)
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 5a73ccb22b2c9f366b930d4f921f52e9e5f11afc Author: Aaron Bauman gentoo org> AuthorDate: Thu Mar 28 00:06:59 2019 + Commit: Aaron Bauman gentoo org> CommitDate: Thu Mar 28 00:07:38 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a73ccb2 dev-cpp/gtest: ppc stable wrt bug #674354 thanks to ernsteiswuerfel! Signed-off-by: Aaron Bauman gentoo.org> dev-cpp/gtest/gtest-1.8.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.8.1.ebuild b/dev-cpp/gtest/gtest-1.8.1.ebuild index fbc3eea8b77..7c94971afdc 100644 --- a/dev-cpp/gtest/gtest-1.8.1.ebuild +++ b/dev-cpp/gtest/gtest-1.8.1.ebuild @@ -13,7 +13,7 @@ if [[ ${PV} == "" ]]; then 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" + 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
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: e705f691e4dd7ba077992999b56979e040a63d12 Author: Thomas Deutschmann gentoo org> AuthorDate: Wed Mar 27 23:41:26 2019 + Commit: Thomas Deutschmann gentoo org> CommitDate: Wed Mar 27 23:41:26 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e705f691 dev-cpp/gtest: x86 stable (bug #674354) Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Thomas Deutschmann gentoo.org> dev-cpp/gtest/gtest-1.8.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-1.8.1.ebuild b/dev-cpp/gtest/gtest-1.8.1.ebuild index c50b42abcd0..fbc3eea8b77 100644 --- a/dev-cpp/gtest/gtest-1.8.1.ebuild +++ b/dev-cpp/gtest/gtest-1.8.1.ebuild @@ -13,7 +13,7 @@ if [[ ${PV} == "" ]]; then 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" + 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
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 7352eb5537958a46c1cfba840eed353cc90caae9 Author: Agostino Sarubbo gentoo org> AuthorDate: Wed Mar 27 20:04:20 2019 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed Mar 27 20:04:20 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7352eb55 dev-cpp/gtest: amd64 stable wrt bug #674354 Signed-off-by: Agostino Sarubbo gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 RepoMan-Options: --include-arches="amd64" dev-cpp/gtest/gtest-1.8.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-cpp/gtest/gtest-1.8.1.ebuild b/dev-cpp/gtest/gtest-1.8.1.ebuild index 7a444173666..c50b42abcd0 100644 --- a/dev-cpp/gtest/gtest-1.8.1.ebuild +++ b/dev-cpp/gtest/gtest-1.8.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -13,7 +13,7 @@ if [[ ${PV} == "" ]]; then 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" + 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
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 134dcea356c7709f87a9f07a6337e5a2afc26147 Author: Peter Levine gmail com> AuthorDate: Tue Sep 18 21:52:54 2018 + Commit: Michał Górny gentoo org> CommitDate: Sat Sep 22 07:07:12 2018 + 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 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 ac052b4d0eb0d8ded03a8c7dff05177818627b8a51f2dbc2c162b2ee2a5d1323539e7d0d02236d9ebb75e018f0171c2fdaeb4de3bb339548265e50de79e6 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 000..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} == "" ]]; 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}--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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 1836afdc540b072d95b2946b42fef5fa95af52d8 Author: Peter Levine gmail com> AuthorDate: Fri Sep 14 00:20:26 2018 + Commit: Michał Górny gentoo org> CommitDate: Sat Sep 22 07:07:09 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1836afdc dev-cpp/gtest: Don't use gtest-1.8.0-fix-doublefree.patch The patch that fixes Bug# 631698 has been commited upstream. Package-Manager: Portage-2.3.49, Repoman-2.3.10 dev-cpp/gtest/gtest-.ebuild | 1 - 1 file changed, 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-.ebuild b/dev-cpp/gtest/gtest-.ebuild index 06c94dbd49a..a2c14fe23fd 100644 --- a/dev-cpp/gtest/gtest-.ebuild +++ b/dev-cpp/gtest/gtest-.ebuild @@ -30,7 +30,6 @@ RDEPEND="!dev-cpp/gmock" PATCHES=( "${FILESDIR}"/${PN}--fix-gcc6-undefined-behavior.patch "${FILESDIR}"/${PN}-1.8.0-increase-clone-stack-size.patch - "${FILESDIR}"/${PN}-1.8.0-fix-doublefree.patch ) pkg_setup() {
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 29813dfe9222aa81b9706f29dbb5d91bc0a81c55 Author: Peter Levine gmail com> AuthorDate: Tue Sep 18 21:37:26 2018 + Commit: Michał Górny gentoo org> CommitDate: Sat Sep 22 07:07:12 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29813dfe dev-cpp/gtest: Remove python3 support Tests currently fail with python3. Remove support pending https://github.com/google/googletest/pull/1839. Package-Manager: Portage-2.3.49, Repoman-2.3.10 dev-cpp/gtest/gtest-.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/gtest/gtest-.ebuild b/dev-cpp/gtest/gtest-.ebuild index 8f46196ac70..7a444173666 100644 --- a/dev-cpp/gtest/gtest-.ebuild +++ b/dev-cpp/gtest/gtest-.ebuild @@ -4,7 +4,7 @@ EAPI="6" # Python is required for tests and some build tasks. -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) +PYTHON_COMPAT=( python2_7 pypy ) inherit cmake-multilib python-any-r1
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
commit: 0046e49dc0a3f3c9bf8aedbfb18df752152a4d03 Author: Peter Levine gmail com> AuthorDate: Fri Sep 14 01:05:13 2018 + Commit: Michał Górny gentoo org> CommitDate: Sat Sep 22 07:07:10 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0046e49d dev-cpp/gtest: Reenable building shared libraries The doublefree bug is fixed upstream with the merge of https://github.com/google/googletest/pull/1339 Package-Manager: Portage-2.3.49, Repoman-2.3.10 dev-cpp/gtest/gtest-.ebuild | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/dev-cpp/gtest/gtest-.ebuild b/dev-cpp/gtest/gtest-.ebuild index a1b5e7ed14c..a2e7c57c55e 100644 --- a/dev-cpp/gtest/gtest-.ebuild +++ b/dev-cpp/gtest/gtest-.ebuild @@ -40,11 +40,7 @@ multilib_src_configure() { local mycmakeargs=( -DBUILD_GMOCK=ON -DINSTALL_GTEST=ON - - # currently only static libs work - # due to numerous ODR violations - # https://github.com/google/googletest/issues/930 - -DBUILD_SHARED_LIBS=OFF + -DBUILD_SHARED_LIBS=ON # tests -Dgmock_build_tests=$(usex test)