mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-17 18:06:59 +02:00
dev-cpp/gmock: Drop package
This is now provided by gtest
This commit is contained in:
parent
b529491896
commit
0fc7100fc1
@ -1,91 +0,0 @@
|
|||||||
# ChangeLog for dev-cpp/gmock
|
|
||||||
# Copyright 1999-2016 Gentoo Foundation; Distributed under the GPL v2
|
|
||||||
# (auto-generated from git log)
|
|
||||||
|
|
||||||
*gmock-1.7.0-r1 (09 Aug 2015)
|
|
||||||
*gmock-1.7.0 (09 Aug 2015)
|
|
||||||
*gmock-1.6.0 (09 Aug 2015)
|
|
||||||
*gmock-1.5.0 (09 Aug 2015)
|
|
||||||
*gmock-1.4.0 (09 Aug 2015)
|
|
||||||
|
|
||||||
09 Aug 2015; Robin H. Johnson <robbat2@gentoo.org>
|
|
||||||
+files/gmock-1.4.0-gcc-4.7.patch, +files/gmock-1.4.0-more-gcc-4.7.patch,
|
|
||||||
+gmock-1.4.0.ebuild, +gmock-1.5.0.ebuild, +gmock-1.6.0.ebuild,
|
|
||||||
+gmock-1.7.0.ebuild, +gmock-1.7.0-r1.ebuild, +metadata.xml:
|
|
||||||
proj/gentoo: Initial commit
|
|
||||||
|
|
||||||
This commit represents a new era for Gentoo:
|
|
||||||
Storing the gentoo-x86 tree in Git, as converted from CVS.
|
|
||||||
|
|
||||||
This commit is the start of the NEW history.
|
|
||||||
Any historical data is intended to be grafted onto this point.
|
|
||||||
|
|
||||||
Creation process:
|
|
||||||
1. Take final CVS checkout snapshot
|
|
||||||
2. Remove ALL ChangeLog* files
|
|
||||||
3. Transform all Manifests to thin
|
|
||||||
4. Remove empty Manifests
|
|
||||||
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
|
|
||||||
5.1. Do not touch files with -kb/-ko keyword flags.
|
|
||||||
|
|
||||||
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
||||||
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration
|
|
||||||
tests
|
|
||||||
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this
|
|
||||||
project
|
|
||||||
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo
|
|
||||||
developer, wrote Git features for the migration
|
|
||||||
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve
|
|
||||||
cvs2svn
|
|
||||||
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
|
|
||||||
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014
|
|
||||||
work in migration
|
|
||||||
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
|
|
||||||
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on
|
|
||||||
the bikeshed
|
|
||||||
|
|
||||||
24 Aug 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
|
|
||||||
Use https by default
|
|
||||||
|
|
||||||
Convert all URLs for sites supporting encrypted connections from http to
|
|
||||||
https
|
|
||||||
|
|
||||||
Signed-off-by: Justin Lecher <jlec@gentoo.org>
|
|
||||||
|
|
||||||
24 Aug 2015; Justin Lecher <jlec@gentoo.org> gmock-1.4.0.ebuild,
|
|
||||||
gmock-1.5.0.ebuild, gmock-1.6.0.ebuild, gmock-1.7.0.ebuild,
|
|
||||||
gmock-1.7.0-r1.ebuild:
|
|
||||||
Enable https for all google URIs
|
|
||||||
|
|
||||||
Signed-off-by: Justin Lecher <jlec@gentoo.org>
|
|
||||||
|
|
||||||
24 Aug 2015; Justin Lecher <jlec@gentoo.org> gmock-1.4.0.ebuild,
|
|
||||||
gmock-1.5.0.ebuild, gmock-1.6.0.ebuild, gmock-1.7.0.ebuild,
|
|
||||||
gmock-1.7.0-r1.ebuild:
|
|
||||||
Convert URIs for googlecode.com to https
|
|
||||||
|
|
||||||
Signed-off-by: Justin Lecher <jlec@gentoo.org>
|
|
||||||
|
|
||||||
24 Aug 2015; Mike Gilbert <floppym@gentoo.org> metadata.xml:
|
|
||||||
Revert DOCTYPE SYSTEM https changes in metadata.xml
|
|
||||||
|
|
||||||
repoman does not yet accept the https version.
|
|
||||||
This partially reverts eaaface92ee81f30a6ac66fe7acbcc42c00dc450.
|
|
||||||
|
|
||||||
Bug: https://bugs.gentoo.org/552720
|
|
||||||
|
|
||||||
01 Sep 2015; Tobias Klausmann <klausman@gentoo.org> gmock-1.4.0.ebuild,
|
|
||||||
gmock-1.5.0.ebuild, gmock-1.6.0.ebuild, gmock-1.7.0.ebuild,
|
|
||||||
gmock-1.7.0-r1.ebuild:
|
|
||||||
Fixing HOMEPAGE move due to code.google.com shutdown
|
|
||||||
|
|
||||||
Package-Manager: portage-2.2.20.1
|
|
||||||
|
|
||||||
07 Sep 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
|
|
||||||
ADd missing remote-id entries
|
|
||||||
|
|
||||||
Signed-off-by: Justin Lecher <jlec@gentoo.org>
|
|
||||||
|
|
||||||
24 Jan 2016; Michał Górny <mgorny@gentoo.org> metadata.xml:
|
|
||||||
Set appropriate maintainer types in metadata.xml (GLEP 67)
|
|
||||||
|
|
@ -1,121 +0,0 @@
|
|||||||
# ChangeLog for dev-cpp/gmock
|
|
||||||
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gmock/ChangeLog,v 1.34 2015/07/29 05:28:07 vapier Exp $
|
|
||||||
|
|
||||||
29 Jul 2015; Mike Frysinger <vapier@gentoo.org> gmock-1.7.0-r1.ebuild:
|
|
||||||
Mark arm64/m68k/s390/sh stable.
|
|
||||||
|
|
||||||
21 Apr 2015; Pacho Ramos <pacho@gentoo.org> gmock-1.7.0-r1.ebuild:
|
|
||||||
ppc stable wrt bug #525970
|
|
||||||
|
|
||||||
02 Apr 2015; Michael Sterrett <mr_bones_@gentoo.org> gmock-1.7.0-r1.ebuild:
|
|
||||||
add missing test to IUSE
|
|
||||||
|
|
||||||
16 Jan 2015; Raúl Porcel <armin76@gentoo.org> gmock-1.7.0-r1.ebuild:
|
|
||||||
alpha/ia64/sparc stable wrt #525970
|
|
||||||
|
|
||||||
19 Nov 2014; Agostino Sarubbo <ago@gentoo.org> gmock-1.7.0-r1.ebuild:
|
|
||||||
Stable for ppc64, wrt bug #529822
|
|
||||||
|
|
||||||
25 Oct 2014; Markus Meier <maekke@gentoo.org> gmock-1.7.0-r1.ebuild:
|
|
||||||
arm stable, bug #525970
|
|
||||||
|
|
||||||
23 Oct 2014; Pacho Ramos <pacho@gentoo.org> gmock-1.7.0-r1.ebuild:
|
|
||||||
amd64/x86 stable, bug #525970
|
|
||||||
|
|
||||||
21 Aug 2014; Raúl Porcel <armin76@gentoo.org> gmock-1.7.0.ebuild:
|
|
||||||
alpha/ia64/sparc stable wrt bug #513804
|
|
||||||
|
|
||||||
15 Aug 2014; Raúl Porcel <armin76@gentoo.org> gmock-1.6.0.ebuild:
|
|
||||||
sparc stable
|
|
||||||
|
|
||||||
23 Jul 2014; Tobias Klausmann <klausman@gentoo.org> gmock-1.6.0.ebuild:
|
|
||||||
Stable on alpha, bug #493400
|
|
||||||
|
|
||||||
19 Jul 2014; Pacho Ramos <pacho@gentoo.org> gmock-1.7.0.ebuild:
|
|
||||||
amd64/x86 stable, bug #513804
|
|
||||||
|
|
||||||
29 Jun 2014; Markus Meier <maekke@gentoo.org> gmock-1.7.0.ebuild:
|
|
||||||
arm stable, bug #513804
|
|
||||||
|
|
||||||
23 Jun 2014; Jeroen Roovers <jer@gentoo.org> gmock-1.7.0-r1.ebuild:
|
|
||||||
Stable for HPPA (bug #513804).
|
|
||||||
|
|
||||||
04 May 2014; Mike Frysinger <vapier@gentoo.org> gmock-1.7.0-r1.ebuild:
|
|
||||||
Force python-2.x when running tests #455276 by Markus Oehme.
|
|
||||||
|
|
||||||
*gmock-1.7.0-r1 (27 Mar 2014)
|
|
||||||
|
|
||||||
27 Mar 2014; Mike Frysinger <vapier@gentoo.org> +gmock-1.7.0-r1.ebuild:
|
|
||||||
Add multilib build support.
|
|
||||||
|
|
||||||
14 Feb 2014; Akinori Hattori <hattya@gentoo.org> gmock-1.6.0.ebuild:
|
|
||||||
ia64 stable wrt bug #493400
|
|
||||||
|
|
||||||
*gmock-1.7.0 (12 Jan 2014)
|
|
||||||
|
|
||||||
12 Jan 2014; Ryan Hill <dirtyepic@gentoo.org> +gmock-1.7.0.ebuild:
|
|
||||||
Version bump (bug #490406 by Jauhien Piatlicki).
|
|
||||||
|
|
||||||
09 Dec 2013; Jeroen Roovers <jer@gentoo.org> gmock-1.6.0.ebuild:
|
|
||||||
Stable for HPPA (bug #493400).
|
|
||||||
|
|
||||||
19 Oct 2013; Mike Frysinger <vapier@gentoo.org> gmock-1.6.0.ebuild:
|
|
||||||
Add keywords for everyone.
|
|
||||||
|
|
||||||
07 Aug 2013; Sergey Popov <pinkbyte@gentoo.org> gmock-1.6.0.ebuild:
|
|
||||||
Stable on arm, wrt bug #478210
|
|
||||||
|
|
||||||
28 Aug 2012; Mike Frysinger <vapier@gentoo.org>
|
|
||||||
+files/gmock-1.4.0-more-gcc-4.7.patch, gmock-1.4.0.ebuild:
|
|
||||||
Add another fix from upstream for building with gcc-4.7.
|
|
||||||
|
|
||||||
24 Aug 2012; Michael Weber <xmw@gentoo.org> gmock-1.6.0.ebuild:
|
|
||||||
ppc stable (bug 420853).
|
|
||||||
|
|
||||||
17 Jul 2012; Anthony G. Basile <blueness@gentoo.org> gmock-1.6.0.ebuild:
|
|
||||||
Keyword ~mips ~ppc ~ppc64
|
|
||||||
|
|
||||||
12 Jun 2012; Jeff Horelick <jdhore@gentoo.org> gmock-1.4.0.ebuild,
|
|
||||||
gmock-1.5.0.ebuild:
|
|
||||||
Drop app-arch/unzip from DEPEND on 1.4.0 and 1.5.0 as only 1.6.0 needs it.
|
|
||||||
|
|
||||||
12 Jun 2012; Jeff Horelick <jdhore@gentoo.org> gmock-1.6.0.ebuild:
|
|
||||||
marked x86 per bug 420853
|
|
||||||
|
|
||||||
12 Jun 2012; Agostino Sarubbo <ago@gentoo.org> gmock-1.4.0.ebuild,
|
|
||||||
gmock-1.5.0.ebuild, gmock-1.6.0.ebuild:
|
|
||||||
Add app-arch/unzip as DEPEND per JD request
|
|
||||||
|
|
||||||
12 Jun 2012; Agostino Sarubbo <ago@gentoo.org> gmock-1.6.0.ebuild:
|
|
||||||
Stable for amd64, wrt bug #420853
|
|
||||||
|
|
||||||
30 May 2012; Mike Frysinger <vapier@gentoo.org>
|
|
||||||
+files/gmock-1.4.0-gcc-4.7.patch, gmock-1.4.0.ebuild:
|
|
||||||
Fix via ChromiumOS from upstream for building with gcc-4.7.
|
|
||||||
|
|
||||||
*gmock-1.6.0 (30 Mar 2012)
|
|
||||||
|
|
||||||
30 Mar 2012; Mike Frysinger <vapier@gentoo.org> +gmock-1.6.0.ebuild:
|
|
||||||
Version bump.
|
|
||||||
|
|
||||||
20 Feb 2012; Mike Gilbert <floppym@gentoo.org> metadata.xml:
|
|
||||||
Drop no-herd.
|
|
||||||
|
|
||||||
11 Nov 2011; Mike Frysinger <vapier@gentoo.org> gmock-1.4.0.ebuild,
|
|
||||||
gmock-1.5.0.ebuild:
|
|
||||||
Call elibtoolize to fix cross-compiling relink issues.
|
|
||||||
|
|
||||||
*gmock-1.4.0 (11 Nov 2011)
|
|
||||||
|
|
||||||
11 Nov 2011; Mike Frysinger <vapier@gentoo.org> +gmock-1.4.0.ebuild:
|
|
||||||
Add an older version to match versions available for gtest.
|
|
||||||
|
|
||||||
11 Nov 2011; Mike Frysinger <vapier@gentoo.org> gmock-1.5.0.ebuild:
|
|
||||||
Update gtest depend after category migration #387155.
|
|
||||||
|
|
||||||
*gmock-1.5.0 (14 Oct 2011)
|
|
||||||
|
|
||||||
14 Oct 2011; Mike Frysinger <vapier@gentoo.org> +gmock-1.5.0.ebuild,
|
|
||||||
+metadata.xml:
|
|
||||||
Initial import based on ChromeOS's ebuild.
|
|
@ -1,14 +0,0 @@
|
|||||||
AUX gmock-1.4.0-gcc-4.7.patch 6982 SHA256 851343d6d805abd5c03c91c9a6dd0dbcb7db99a60d8a87100025cd167fb5f01c SHA512 fca0b60fe1715613ca7ef6dfd2f1c65c0cbf97a39a4bb86a1396c3acf4a6d5d4a53876187a4888e268abbfe0e7098b6e6d8258563d41c09d1f7709f4034b7936 WHIRLPOOL b76ebbf677d96b6b3c9788c912ee28b8a58ba3cd3f01b6c122d92428288f4de89ec0f5edcc5ebd2c19ae6e7f9c4a577ea6a76cc90dea2b53e3ab8aea0254a25e
|
|
||||||
AUX gmock-1.4.0-more-gcc-4.7.patch 5156 SHA256 be933382c5baf74eb3304c619c6f004635b5d92f36562bdf3af61b4b2f8e9600 SHA512 a09bb34261f9af7ec107e026b125d1351dca3d125ad212b382edffe6aae38fc6b9551484169eee58aa8becd8d594fdf36524b1a1bd65bf9911a4a27e946fa6e8 WHIRLPOOL 11000f315bde9f24e1f3b5fdf8faf2f9d42632cac0259dd6d022802c5b7adec8d73b8c8a4a86aa497499745629226626b31709ca85dff0222e22da2b06426fd1
|
|
||||||
DIST gmock-1.4.0.tar.bz2 946373 SHA256 21d37c154a7b8d7a8562b9dde82db7db0a6c188b985c4a18ff3413daae8caa8c SHA512 df99aae44d23f4b0b4ce9ac24fde9e72508c9a915323dd07fb475c708953b79310c164141d085a04a9203b6abd759336d55a94979495f429c92f11bc4d1b038c WHIRLPOOL 7a4525a589770cd5de21c0b82a7b9a7219b3fcdef605e0b455dfff50bc87ff1432b3989cc7e0c08c42c68083e2618841a77d8afcf4ed51b3f55f09a5a64c4fb2
|
|
||||||
DIST gmock-1.5.0.tar.bz2 1283432 SHA256 d8689a51fbc13f55509f5842fe7d514839d9fd6092743d145304bc2824fc9197 SHA512 b0a3897c801d14a9f59a07911fa77ae15ddae9bef6e2d818583ff0b5085d35507259c195b43a6fe25af70b4d2eee3796889ffcda91d16ce6e6e5b4e462196aa2 WHIRLPOOL f00854ebdece304006907ea2e3906fbe58578a7a3684d93eb8e9f2c26bd100f751878109d5fd13a31cf58463d759fc09c1b07c035107c127c19f572ff264fd76
|
|
||||||
DIST gmock-1.6.0.zip 2053682 SHA256 341ad07c31c619ba32c88c2265bc23693da1df062f47f146a7ed340f646d82b7 SHA512 7adff00bb6ff81a6ffb704be71d0747636d69e24b4a8b709e1fb8c177a9a47f6dea8d14fde73034ebfb1529c291c7212a944ad92a34f88abdfe23c2d0b11b6f7 WHIRLPOOL 1a03ff8f2d96287f5deb24f970688f20f3480e77a4a71089ef1399a87f28f616bf0feaedc217e7ac1ca8ca1246e53f5d882f350704be111ae547961949939530
|
|
||||||
DIST gmock-1.7.0.zip 2167746 SHA256 26fcbb5925b74ad5fc8c26b0495dfc96353f4d553492eb97e85a8a6d2f43095b SHA512 0ab7bb2614f8c00e4842a6819dbc6d9323c42241335078c23eaee53ed420d42f1845d44334eccbf7c114cc88f6ac7a493e20d9b46c58cdba645bbd400eb6db55 WHIRLPOOL 722ea3f8bd4130662386810ae0270baafcecb6b7066e8a361388d530e7a2bad4e10787c921c6bb5cefb15a640f4302d288d07deea58acf8c5f5ca84d82722c8e
|
|
||||||
EBUILD gmock-1.4.0.ebuild 801 SHA256 f2b9b493ba8ba9a7368661dc4eecf577433328c5ef74a6259a7e96ea5892af7d SHA512 ff47d959b2c85b27bf42b80ea15a15b91d8af4ebe5e579091299fbf57c55658aa3b62b9fb573149b228e9df0f92d9f91af18035dfe0192b4026ca5c8b3459214 WHIRLPOOL 7ae5c42eb5016903720228707c26250a3bb53f5ea97c9b34ea533042d59fa8d2dcf3821c087991308147c6746ae28b813714ae18081bb23f9020c1dcda4ba0a8
|
|
||||||
EBUILD gmock-1.5.0.ebuild 702 SHA256 b93772de648fc5f3ca62001c9a8d9e494cec09f4fcac891a66336b728fb434f8 SHA512 e4ad63b092eacebdb5ecaae1e9ef659d2110af3b1b22ed2413907361c638eb31df0f11da3dd886d7cc254b7bca30917c4b9153b520c7ea64dd6282a48ec045bd WHIRLPOOL 0de535b2c65a908fab9eae6d18385798c4d500f25029739812bae3be5cd339ac8d186796cac9cf63adae259c0820fb0daeaa65f9ff4ab8cf64e461d145ad221f
|
|
||||||
EBUILD gmock-1.6.0.ebuild 893 SHA256 7e0fd1f4bcaa432ddd81363d3f0aabafe545694cbb6631b5dd3cbb167393899e SHA512 6f02a6bd185054054707f1ff9b3d9a338c041f28ab03ff4882c71271a1772aa1c7abcef787609b14b3ea3e45bcdb4d6f46aac3f9e97ee17218961177d9ba0b9a WHIRLPOOL 0fe81556d647e4e5f54b5d5618aad223a7071e209533c766cf916fcdfbb82d65452bbe73b33638cb27a0341a187bcdaf571a13bbf0e9f817b6e8f6cda153d36b
|
|
||||||
EBUILD gmock-1.7.0-r1.ebuild 1250 SHA256 93deb4864d29edd865169ec128521dbe1c46dd7420064919e0fdf88484a7479b SHA512 0e99c959e5d3a1bf29bbb0f0c33f80e7ea4070922cb9f86e42a8d2b1d5d2d635bb72e3cfd44a4a362dad4128ba2ccf3014b1a7211d53840e806810d3bb22b32c WHIRLPOOL e62b6d617aca110b0527f9eaf5b74faaa73fc3989408ef3ddb2690b4df12ec1e531f8ddc45514a70667b3fc3975968a4ed1cc69334ee6a9cd727785e1d2b9cb5
|
|
||||||
EBUILD gmock-1.7.0.ebuild 895 SHA256 0b11d06dea22f14f12c8b79e53daa896c3d2c315d468c5976f2a053fb05d23ea SHA512 cdfda55f9271dc61bfe21c721e5351bee0ce9d91e54583e6560dbfc6c92ebce44f09393538a778f93c446fa282986bd33f4a4b67df66459a19ccac572b3f6dd0 WHIRLPOOL d61bc43bc82498af9c32b5cb49bba1363964fc33bd9ded846bd3f9a631f8cbc623367ac8cb1f658b46aeadfd42525f91a3c468c1abcf54262394130c6d9f871f
|
|
||||||
MISC ChangeLog 3330 SHA256 1cbdc308564969b6c1a97f86dc484c4c8d1ef4eb263960b39b70724f44f2b0ef SHA512 3531e64a57ec586db444e6ab4c105c8c5e51de701f0cac903f0c79c539e765c08766b2cec65ee9239d1a187ae2d2a61d10ac0660a1ad82f3619d9acb2d0a225c WHIRLPOOL 0e7ce418b8e8cb9142a77c2faf0101ca5eccbe5ceeb110af982358efab655313fd3307b9c94c399e01f914ee3df00181d7dbbc074a2966c313fe0dfc7d3d751e
|
|
||||||
MISC ChangeLog-2015 4228 SHA256 df7c6913b69a0753e56dc0e56d8f0c91ef1bc812715cc35de5e2ef514c1b972a SHA512 d78535d15a9b53ff974ad3b779f5452fa71c839e1a92092a1f5026a7f1694927283150f96744ff19500a8be27a6160f69b6a5d778c18fc098e00e2d722705a79 WHIRLPOOL ac416ad8f7f7aac26ca2c4dc3624583e867714d147e6d5b4d7dae6607657921e1e36efb2e909aee8867ef93a4e2b4118409fdb6f7e5ae118945e791b3bf8b58c
|
|
||||||
MISC metadata.xml 354 SHA256 dd5b363c503f555907c6415e5dbd86c7230860984229cbb8738270999a41ffff SHA512 61df749507137960049707611f4d4fae7183714c1f701c30cf53aecb095341fedabca711c3a8f2d3aca5d9df117e7e219f5a2951729fcc679249d20210239af7 WHIRLPOOL bbd1beee1584af3229638db78a74cc91c54e4d254afb50b1d0d7b72a0f29488bb9707f7569431dcd168b114cc62b8ab536f59be4099121b2aa1a73e5db201342
|
|
@ -1,189 +0,0 @@
|
|||||||
taken from upstream repo
|
|
||||||
|
|
||||||
Index: include/gmock/gmock-generated-function-mockers.h.pump
|
|
||||||
===================================================================
|
|
||||||
--- include/gmock/gmock-generated-function-mockers.h.pump (revision 227)
|
|
||||||
+++ include/gmock/gmock-generated-function-mockers.h.pump (revision 228)
|
|
||||||
@@ -45,10 +45,6 @@ $var n = 10 $$ The maximum arity we sup
|
|
||||||
#include <gmock/internal/gmock-internal-utils.h>
|
|
||||||
|
|
||||||
namespace testing {
|
|
||||||
-
|
|
||||||
-template <typename F>
|
|
||||||
-class MockSpec;
|
|
||||||
-
|
|
||||||
namespace internal {
|
|
||||||
|
|
||||||
template <typename F>
|
|
||||||
@@ -89,7 +85,11 @@ $if i >= 1 [[
|
|
||||||
}
|
|
||||||
|
|
||||||
R Invoke($Aas) {
|
|
||||||
- return InvokeWith(ArgumentTuple($as));
|
|
||||||
+ // Even though gcc and MSVC don't enforce it, 'this->' is required
|
|
||||||
+ // by the C++ standard [14.6.4] here, as the base class type is
|
|
||||||
+ // dependent on the template argument (and thus shouldn't be
|
|
||||||
+ // looked into when resolving InvokeWith).
|
|
||||||
+ return this->InvokeWith(ArgumentTuple($as));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
Index: include/gmock/gmock-generated-function-mockers.h
|
|
||||||
===================================================================
|
|
||||||
--- include/gmock/gmock-generated-function-mockers.h (revision 227)
|
|
||||||
+++ include/gmock/gmock-generated-function-mockers.h (revision 228)
|
|
||||||
@@ -42,10 +42,6 @@
|
|
||||||
#include <gmock/internal/gmock-internal-utils.h>
|
|
||||||
|
|
||||||
namespace testing {
|
|
||||||
-
|
|
||||||
-template <typename F>
|
|
||||||
-class MockSpec;
|
|
||||||
-
|
|
||||||
namespace internal {
|
|
||||||
|
|
||||||
template <typename F>
|
|
||||||
@@ -71,7 +67,11 @@ class FunctionMocker<R()> : public
|
|
||||||
}
|
|
||||||
|
|
||||||
R Invoke() {
|
|
||||||
- return InvokeWith(ArgumentTuple());
|
|
||||||
+ // Even though gcc and MSVC don't enforce it, 'this->' is required
|
|
||||||
+ // by the C++ standard [14.6.4] here, as the base class type is
|
|
||||||
+ // dependent on the template argument (and thus shouldn't be
|
|
||||||
+ // looked into when resolving InvokeWith).
|
|
||||||
+ return this->InvokeWith(ArgumentTuple());
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
@@ -88,7 +88,11 @@ class FunctionMocker<R(A1)> : public
|
|
||||||
}
|
|
||||||
|
|
||||||
R Invoke(A1 a1) {
|
|
||||||
- return InvokeWith(ArgumentTuple(a1));
|
|
||||||
+ // Even though gcc and MSVC don't enforce it, 'this->' is required
|
|
||||||
+ // by the C++ standard [14.6.4] here, as the base class type is
|
|
||||||
+ // dependent on the template argument (and thus shouldn't be
|
|
||||||
+ // looked into when resolving InvokeWith).
|
|
||||||
+ return this->InvokeWith(ArgumentTuple(a1));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
@@ -105,7 +109,11 @@ class FunctionMocker<R(A1, A2)> : public
|
|
||||||
}
|
|
||||||
|
|
||||||
R Invoke(A1 a1, A2 a2) {
|
|
||||||
- return InvokeWith(ArgumentTuple(a1, a2));
|
|
||||||
+ // Even though gcc and MSVC don't enforce it, 'this->' is required
|
|
||||||
+ // by the C++ standard [14.6.4] here, as the base class type is
|
|
||||||
+ // dependent on the template argument (and thus shouldn't be
|
|
||||||
+ // looked into when resolving InvokeWith).
|
|
||||||
+ return this->InvokeWith(ArgumentTuple(a1, a2));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
@@ -123,7 +131,11 @@ class FunctionMocker<R(A1, A2, A3)> : pu
|
|
||||||
}
|
|
||||||
|
|
||||||
R Invoke(A1 a1, A2 a2, A3 a3) {
|
|
||||||
- return InvokeWith(ArgumentTuple(a1, a2, a3));
|
|
||||||
+ // Even though gcc and MSVC don't enforce it, 'this->' is required
|
|
||||||
+ // by the C++ standard [14.6.4] here, as the base class type is
|
|
||||||
+ // dependent on the template argument (and thus shouldn't be
|
|
||||||
+ // looked into when resolving InvokeWith).
|
|
||||||
+ return this->InvokeWith(ArgumentTuple(a1, a2, a3));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
@@ -141,7 +153,11 @@ class FunctionMocker<R(A1, A2, A3, A4)>
|
|
||||||
}
|
|
||||||
|
|
||||||
R Invoke(A1 a1, A2 a2, A3 a3, A4 a4) {
|
|
||||||
- return InvokeWith(ArgumentTuple(a1, a2, a3, a4));
|
|
||||||
+ // Even though gcc and MSVC don't enforce it, 'this->' is required
|
|
||||||
+ // by the C++ standard [14.6.4] here, as the base class type is
|
|
||||||
+ // dependent on the template argument (and thus shouldn't be
|
|
||||||
+ // looked into when resolving InvokeWith).
|
|
||||||
+ return this->InvokeWith(ArgumentTuple(a1, a2, a3, a4));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
@@ -161,7 +177,11 @@ class FunctionMocker<R(A1, A2, A3, A4, A
|
|
||||||
}
|
|
||||||
|
|
||||||
R Invoke(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5) {
|
|
||||||
- return InvokeWith(ArgumentTuple(a1, a2, a3, a4, a5));
|
|
||||||
+ // Even though gcc and MSVC don't enforce it, 'this->' is required
|
|
||||||
+ // by the C++ standard [14.6.4] here, as the base class type is
|
|
||||||
+ // dependent on the template argument (and thus shouldn't be
|
|
||||||
+ // looked into when resolving InvokeWith).
|
|
||||||
+ return this->InvokeWith(ArgumentTuple(a1, a2, a3, a4, a5));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
@@ -182,7 +202,11 @@ class FunctionMocker<R(A1, A2, A3, A4, A
|
|
||||||
}
|
|
||||||
|
|
||||||
R Invoke(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6) {
|
|
||||||
- return InvokeWith(ArgumentTuple(a1, a2, a3, a4, a5, a6));
|
|
||||||
+ // Even though gcc and MSVC don't enforce it, 'this->' is required
|
|
||||||
+ // by the C++ standard [14.6.4] here, as the base class type is
|
|
||||||
+ // dependent on the template argument (and thus shouldn't be
|
|
||||||
+ // looked into when resolving InvokeWith).
|
|
||||||
+ return this->InvokeWith(ArgumentTuple(a1, a2, a3, a4, a5, a6));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
@@ -203,7 +227,11 @@ class FunctionMocker<R(A1, A2, A3, A4, A
|
|
||||||
}
|
|
||||||
|
|
||||||
R Invoke(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7) {
|
|
||||||
- return InvokeWith(ArgumentTuple(a1, a2, a3, a4, a5, a6, a7));
|
|
||||||
+ // Even though gcc and MSVC don't enforce it, 'this->' is required
|
|
||||||
+ // by the C++ standard [14.6.4] here, as the base class type is
|
|
||||||
+ // dependent on the template argument (and thus shouldn't be
|
|
||||||
+ // looked into when resolving InvokeWith).
|
|
||||||
+ return this->InvokeWith(ArgumentTuple(a1, a2, a3, a4, a5, a6, a7));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
@@ -224,7 +252,11 @@ class FunctionMocker<R(A1, A2, A3, A4, A
|
|
||||||
}
|
|
||||||
|
|
||||||
R Invoke(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8) {
|
|
||||||
- return InvokeWith(ArgumentTuple(a1, a2, a3, a4, a5, a6, a7, a8));
|
|
||||||
+ // Even though gcc and MSVC don't enforce it, 'this->' is required
|
|
||||||
+ // by the C++ standard [14.6.4] here, as the base class type is
|
|
||||||
+ // dependent on the template argument (and thus shouldn't be
|
|
||||||
+ // looked into when resolving InvokeWith).
|
|
||||||
+ return this->InvokeWith(ArgumentTuple(a1, a2, a3, a4, a5, a6, a7, a8));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
@@ -246,7 +278,11 @@ class FunctionMocker<R(A1, A2, A3, A4, A
|
|
||||||
}
|
|
||||||
|
|
||||||
R Invoke(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8, A9 a9) {
|
|
||||||
- return InvokeWith(ArgumentTuple(a1, a2, a3, a4, a5, a6, a7, a8, a9));
|
|
||||||
+ // Even though gcc and MSVC don't enforce it, 'this->' is required
|
|
||||||
+ // by the C++ standard [14.6.4] here, as the base class type is
|
|
||||||
+ // dependent on the template argument (and thus shouldn't be
|
|
||||||
+ // looked into when resolving InvokeWith).
|
|
||||||
+ return this->InvokeWith(ArgumentTuple(a1, a2, a3, a4, a5, a6, a7, a8, a9));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
@@ -270,7 +306,12 @@ class FunctionMocker<R(A1, A2, A3, A4, A
|
|
||||||
|
|
||||||
R Invoke(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8, A9 a9,
|
|
||||||
A10 a10) {
|
|
||||||
- return InvokeWith(ArgumentTuple(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10));
|
|
||||||
+ // Even though gcc and MSVC don't enforce it, 'this->' is required
|
|
||||||
+ // by the C++ standard [14.6.4] here, as the base class type is
|
|
||||||
+ // dependent on the template argument (and thus shouldn't be
|
|
||||||
+ // looked into when resolving InvokeWith).
|
|
||||||
+ return this->InvokeWith(ArgumentTuple(a1, a2, a3, a4, a5, a6, a7, a8, a9,
|
|
||||||
+ a10));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
@ -1,144 +0,0 @@
|
|||||||
taken from upstream repo
|
|
||||||
|
|
||||||
------------------------------------------------------------------------
|
|
||||||
r245 | zhanyong.wan | 2009-12-02 03:36:42 -0500 (Wed, 02 Dec 2009) | 2 lines
|
|
||||||
|
|
||||||
Fixes a C++-standard-compliance bug in gmock-printers.h.
|
|
||||||
|
|
||||||
|
|
||||||
Index: include/gmock/gmock-printers.h
|
|
||||||
===================================================================
|
|
||||||
--- include/gmock/gmock-printers.h (revision 244)
|
|
||||||
+++ include/gmock/gmock-printers.h (revision 245)
|
|
||||||
@@ -434,63 +434,10 @@ inline void PrintTo(const ::std::wstring
|
|
||||||
// Overload for ::std::tr1::tuple. Needed for printing function
|
|
||||||
// arguments, which are packed as tuples.
|
|
||||||
|
|
||||||
-typedef ::std::vector<string> Strings;
|
|
||||||
-
|
|
||||||
-// This helper template allows PrintTo() for tuples and
|
|
||||||
-// UniversalTersePrintTupleFieldsToStrings() to be defined by
|
|
||||||
-// induction on the number of tuple fields. The idea is that
|
|
||||||
-// TuplePrefixPrinter<N>::PrintPrefixTo(t, os) prints the first N
|
|
||||||
-// fields in tuple t, and can be defined in terms of
|
|
||||||
-// TuplePrefixPrinter<N - 1>.
|
|
||||||
-
|
|
||||||
-// The inductive case.
|
|
||||||
-template <size_t N>
|
|
||||||
-struct TuplePrefixPrinter {
|
|
||||||
- // Prints the first N fields of a tuple.
|
|
||||||
- template <typename Tuple>
|
|
||||||
- static void PrintPrefixTo(const Tuple& t, ::std::ostream* os) {
|
|
||||||
- TuplePrefixPrinter<N - 1>::PrintPrefixTo(t, os);
|
|
||||||
- *os << ", ";
|
|
||||||
- UniversalPrinter<typename ::std::tr1::tuple_element<N - 1, Tuple>::type>
|
|
||||||
- ::Print(::std::tr1::get<N - 1>(t), os);
|
|
||||||
- }
|
|
||||||
-
|
|
||||||
- // Tersely prints the first N fields of a tuple to a string vector,
|
|
||||||
- // one element for each field.
|
|
||||||
- template <typename Tuple>
|
|
||||||
- static void TersePrintPrefixToStrings(const Tuple& t, Strings* strings) {
|
|
||||||
- TuplePrefixPrinter<N - 1>::TersePrintPrefixToStrings(t, strings);
|
|
||||||
- ::std::stringstream ss;
|
|
||||||
- UniversalTersePrint(::std::tr1::get<N - 1>(t), &ss);
|
|
||||||
- strings->push_back(ss.str());
|
|
||||||
- }
|
|
||||||
-};
|
|
||||||
-
|
|
||||||
-// Base cases.
|
|
||||||
-template <>
|
|
||||||
-struct TuplePrefixPrinter<0> {
|
|
||||||
- template <typename Tuple>
|
|
||||||
- static void PrintPrefixTo(const Tuple&, ::std::ostream*) {}
|
|
||||||
-
|
|
||||||
- template <typename Tuple>
|
|
||||||
- static void TersePrintPrefixToStrings(const Tuple&, Strings*) {}
|
|
||||||
-};
|
|
||||||
-template <>
|
|
||||||
-template <typename Tuple>
|
|
||||||
-void TuplePrefixPrinter<1>::PrintPrefixTo(const Tuple& t, ::std::ostream* os) {
|
|
||||||
- UniversalPrinter<typename ::std::tr1::tuple_element<0, Tuple>::type>::
|
|
||||||
- Print(::std::tr1::get<0>(t), os);
|
|
||||||
-}
|
|
||||||
-
|
|
||||||
// Helper function for printing a tuple. T must be instantiated with
|
|
||||||
// a tuple type.
|
|
||||||
template <typename T>
|
|
||||||
-void PrintTupleTo(const T& t, ::std::ostream* os) {
|
|
||||||
- *os << "(";
|
|
||||||
- TuplePrefixPrinter< ::std::tr1::tuple_size<T>::value>::
|
|
||||||
- PrintPrefixTo(t, os);
|
|
||||||
- *os << ")";
|
|
||||||
-}
|
|
||||||
+void PrintTupleTo(const T& t, ::std::ostream* os);
|
|
||||||
|
|
||||||
// Overloaded PrintTo() for tuples of various arities. We support
|
|
||||||
// tuples of up-to 10 fields. The following implementation works
|
|
||||||
@@ -725,6 +672,64 @@ void UniversalPrint(const T& value, ::st
|
|
||||||
UniversalPrinter<T>::Print(value, os);
|
|
||||||
}
|
|
||||||
|
|
||||||
+typedef ::std::vector<string> Strings;
|
|
||||||
+
|
|
||||||
+// This helper template allows PrintTo() for tuples and
|
|
||||||
+// UniversalTersePrintTupleFieldsToStrings() to be defined by
|
|
||||||
+// induction on the number of tuple fields. The idea is that
|
|
||||||
+// TuplePrefixPrinter<N>::PrintPrefixTo(t, os) prints the first N
|
|
||||||
+// fields in tuple t, and can be defined in terms of
|
|
||||||
+// TuplePrefixPrinter<N - 1>.
|
|
||||||
+
|
|
||||||
+// The inductive case.
|
|
||||||
+template <size_t N>
|
|
||||||
+struct TuplePrefixPrinter {
|
|
||||||
+ // Prints the first N fields of a tuple.
|
|
||||||
+ template <typename Tuple>
|
|
||||||
+ static void PrintPrefixTo(const Tuple& t, ::std::ostream* os) {
|
|
||||||
+ TuplePrefixPrinter<N - 1>::PrintPrefixTo(t, os);
|
|
||||||
+ *os << ", ";
|
|
||||||
+ UniversalPrinter<typename ::std::tr1::tuple_element<N - 1, Tuple>::type>
|
|
||||||
+ ::Print(::std::tr1::get<N - 1>(t), os);
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ // Tersely prints the first N fields of a tuple to a string vector,
|
|
||||||
+ // one element for each field.
|
|
||||||
+ template <typename Tuple>
|
|
||||||
+ static void TersePrintPrefixToStrings(const Tuple& t, Strings* strings) {
|
|
||||||
+ TuplePrefixPrinter<N - 1>::TersePrintPrefixToStrings(t, strings);
|
|
||||||
+ ::std::stringstream ss;
|
|
||||||
+ UniversalTersePrint(::std::tr1::get<N - 1>(t), &ss);
|
|
||||||
+ strings->push_back(ss.str());
|
|
||||||
+ }
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
+// Base cases.
|
|
||||||
+template <>
|
|
||||||
+struct TuplePrefixPrinter<0> {
|
|
||||||
+ template <typename Tuple>
|
|
||||||
+ static void PrintPrefixTo(const Tuple&, ::std::ostream*) {}
|
|
||||||
+
|
|
||||||
+ template <typename Tuple>
|
|
||||||
+ static void TersePrintPrefixToStrings(const Tuple&, Strings*) {}
|
|
||||||
+};
|
|
||||||
+template <>
|
|
||||||
+template <typename Tuple>
|
|
||||||
+void TuplePrefixPrinter<1>::PrintPrefixTo(const Tuple& t, ::std::ostream* os) {
|
|
||||||
+ UniversalPrinter<typename ::std::tr1::tuple_element<0, Tuple>::type>::
|
|
||||||
+ Print(::std::tr1::get<0>(t), os);
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+// Helper function for printing a tuple. T must be instantiated with
|
|
||||||
+// a tuple type.
|
|
||||||
+template <typename T>
|
|
||||||
+void PrintTupleTo(const T& t, ::std::ostream* os) {
|
|
||||||
+ *os << "(";
|
|
||||||
+ TuplePrefixPrinter< ::std::tr1::tuple_size<T>::value>::
|
|
||||||
+ PrintPrefixTo(t, os);
|
|
||||||
+ *os << ")";
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
// Prints the fields of a tuple tersely to a string vector, one
|
|
||||||
// element for each field. See the comment before
|
|
||||||
// UniversalTersePrint() for how we define "tersely".
|
|
||||||
|
|
||||||
------------------------------------------------------------------------
|
|
@ -1,40 +0,0 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
EAPI="4"
|
|
||||||
|
|
||||||
inherit libtool eutils
|
|
||||||
|
|
||||||
DESCRIPTION="Google's C++ mocking framework"
|
|
||||||
HOMEPAGE="https://github.com/google/googlemock"
|
|
||||||
SRC_URI="https://googlemock.googlecode.com/files/${P}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm ~x86"
|
|
||||||
IUSE="static-libs"
|
|
||||||
|
|
||||||
RDEPEND=">=dev-cpp/gtest-${PV}"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
default
|
|
||||||
# make sure we always use the system one
|
|
||||||
rm -r "${S}"/gtest/Makefile* || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch "${FILESDIR}"/${P}-gcc-4.7.patch
|
|
||||||
epatch "${FILESDIR}"/${P}-more-gcc-4.7.patch
|
|
||||||
elibtoolize
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
econf $(use_enable static-libs static)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
use static-libs || find "${ED}"/usr -name '*.la' -delete
|
|
||||||
}
|
|
@ -1,38 +0,0 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
EAPI="4"
|
|
||||||
|
|
||||||
inherit libtool
|
|
||||||
|
|
||||||
DESCRIPTION="Google's C++ mocking framework"
|
|
||||||
HOMEPAGE="https://github.com/google/googlemock"
|
|
||||||
SRC_URI="https://googlemock.googlecode.com/files/${P}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm ~x86"
|
|
||||||
IUSE="static-libs"
|
|
||||||
|
|
||||||
RDEPEND=">=dev-cpp/gtest-${PV}"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
default
|
|
||||||
# make sure we always use the system one
|
|
||||||
rm -r "${S}"/gtest/Makefile* || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
elibtoolize
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
econf $(use_enable static-libs static)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
use static-libs || find "${D}" -name '*.la' -delete
|
|
||||||
}
|
|
@ -1,43 +0,0 @@
|
|||||||
# Copyright 1999-2014 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
EAPI="4"
|
|
||||||
|
|
||||||
inherit libtool
|
|
||||||
|
|
||||||
DESCRIPTION="Google's C++ mocking framework"
|
|
||||||
HOMEPAGE="https://github.com/google/googlemock"
|
|
||||||
SRC_URI="https://googlemock.googlecode.com/files/${P}.zip"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sh sparc x86"
|
|
||||||
IUSE="static-libs"
|
|
||||||
|
|
||||||
RDEPEND="=dev-cpp/gtest-${PV}*"
|
|
||||||
DEPEND="app-arch/unzip
|
|
||||||
${RDEPEND}"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
default
|
|
||||||
# make sure we always use the system one
|
|
||||||
rm -r "${S}"/gtest/{Makefile,configure}* || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
sed -i -r \
|
|
||||||
-e '/^install-(data|exec)-local:/s|^.*$|&\ndisabled-&|' \
|
|
||||||
Makefile.in
|
|
||||||
elibtoolize
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
econf $(use_enable static-libs static)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
dobin scripts/gmock-config
|
|
||||||
use static-libs || find "${D}" -name '*.la' -delete
|
|
||||||
}
|
|
@ -1,60 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
EAPI="4"
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 )
|
|
||||||
|
|
||||||
inherit libtool multilib-minimal python-any-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Google's C++ mocking framework"
|
|
||||||
HOMEPAGE="https://github.com/google/googlemock"
|
|
||||||
SRC_URI="https://googlemock.googlecode.com/files/${P}.zip"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
|
|
||||||
IUSE="static-libs test"
|
|
||||||
|
|
||||||
RDEPEND="=dev-cpp/gtest-${PV}*[${MULTILIB_USEDEP}]"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
test? ( ${PYTHON_DEPS} )
|
|
||||||
app-arch/unzip"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
# Stub to disable python_setup running when USE=-test.
|
|
||||||
# We'll handle it down in src_test ourselves.
|
|
||||||
:
|
|
||||||
}
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
default
|
|
||||||
# make sure we always use the system one
|
|
||||||
rm -r "${S}"/gtest/{Makefile,configure}* || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
sed -i -r \
|
|
||||||
-e '/^install-(data|exec)-local:/s|^.*$|&\ndisabled-&|' \
|
|
||||||
Makefile.in
|
|
||||||
elibtoolize
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_configure() {
|
|
||||||
ECONF_SOURCE=${S} econf $(use_enable static-libs static)
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_test() {
|
|
||||||
python_setup
|
|
||||||
emake check
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install() {
|
|
||||||
default
|
|
||||||
dobin scripts/gmock-config
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install_all() {
|
|
||||||
use static-libs || find "${ED}" -name '*.la' -delete
|
|
||||||
}
|
|
@ -1,43 +0,0 @@
|
|||||||
# Copyright 1999-2014 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
EAPI="4"
|
|
||||||
|
|
||||||
inherit libtool
|
|
||||||
|
|
||||||
DESCRIPTION="Google's C++ mocking framework"
|
|
||||||
HOMEPAGE="https://github.com/google/googlemock"
|
|
||||||
SRC_URI="https://googlemock.googlecode.com/files/${P}.zip"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="alpha amd64 arm ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86"
|
|
||||||
IUSE="static-libs"
|
|
||||||
|
|
||||||
RDEPEND="=dev-cpp/gtest-${PV}*"
|
|
||||||
DEPEND="app-arch/unzip
|
|
||||||
${RDEPEND}"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
default
|
|
||||||
# make sure we always use the system one
|
|
||||||
rm -r "${S}"/gtest/{Makefile,configure}* || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
sed -i -r \
|
|
||||||
-e '/^install-(data|exec)-local:/s|^.*$|&\ndisabled-&|' \
|
|
||||||
Makefile.in
|
|
||||||
elibtoolize
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
econf $(use_enable static-libs static)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
dobin scripts/gmock-config
|
|
||||||
use static-libs || find "${D}" -name '*.la' -delete
|
|
||||||
}
|
|
@ -1,11 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="person">
|
|
||||||
<email>vapier@gentoo.org</email>
|
|
||||||
</maintainer>
|
|
||||||
<upstream>
|
|
||||||
<remote-id type="google-code">googlemock</remote-id>
|
|
||||||
<remote-id type="github">google/googlemock</remote-id>
|
|
||||||
</upstream>
|
|
||||||
</pkgmetadata>
|
|
@ -1,13 +0,0 @@
|
|||||||
DEFINED_PHASES=configure install prepare unpack
|
|
||||||
DEPEND=>=dev-cpp/gtest-1.4.0 >=app-portage/elt-patches-20170422
|
|
||||||
DESCRIPTION=Google's C++ mocking framework
|
|
||||||
EAPI=4
|
|
||||||
HOMEPAGE=https://github.com/google/googlemock
|
|
||||||
IUSE=static-libs
|
|
||||||
KEYWORDS=~amd64 ~arm ~x86
|
|
||||||
LICENSE=BSD
|
|
||||||
RDEPEND=>=dev-cpp/gtest-1.4.0
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=https://googlemock.googlecode.com/files/gmock-1.4.0.tar.bz2
|
|
||||||
_eclasses_=epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 227b041a120d309fdefbebb3b8c1dfa9 libtool 0081a71a261724730ec4c248494f044d ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 185a06792159ca143528e7010368e8af
|
|
||||||
_md5_=08f6e11c1095b3e70691ea2518fbdc8a
|
|
@ -1,13 +0,0 @@
|
|||||||
DEFINED_PHASES=configure install prepare unpack
|
|
||||||
DEPEND=>=dev-cpp/gtest-1.5.0 >=app-portage/elt-patches-20170422
|
|
||||||
DESCRIPTION=Google's C++ mocking framework
|
|
||||||
EAPI=4
|
|
||||||
HOMEPAGE=https://github.com/google/googlemock
|
|
||||||
IUSE=static-libs
|
|
||||||
KEYWORDS=~amd64 ~arm ~x86
|
|
||||||
LICENSE=BSD
|
|
||||||
RDEPEND=>=dev-cpp/gtest-1.5.0
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=https://googlemock.googlecode.com/files/gmock-1.5.0.tar.bz2
|
|
||||||
_eclasses_=libtool 0081a71a261724730ec4c248494f044d multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 185a06792159ca143528e7010368e8af
|
|
||||||
_md5_=06b492983e7d49ec32507302dafd9874
|
|
@ -1,13 +0,0 @@
|
|||||||
DEFINED_PHASES=configure install prepare unpack
|
|
||||||
DEPEND=app-arch/unzip =dev-cpp/gtest-1.6.0* >=app-portage/elt-patches-20170422
|
|
||||||
DESCRIPTION=Google's C++ mocking framework
|
|
||||||
EAPI=4
|
|
||||||
HOMEPAGE=https://github.com/google/googlemock
|
|
||||||
IUSE=static-libs
|
|
||||||
KEYWORDS=alpha amd64 arm hppa ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sh sparc x86
|
|
||||||
LICENSE=BSD
|
|
||||||
RDEPEND==dev-cpp/gtest-1.6.0*
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=https://googlemock.googlecode.com/files/gmock-1.6.0.zip
|
|
||||||
_eclasses_=libtool 0081a71a261724730ec4c248494f044d multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 185a06792159ca143528e7010368e8af
|
|
||||||
_md5_=363bb34980b58cd2a8c5f882d25e293f
|
|
@ -1,13 +0,0 @@
|
|||||||
DEFINED_PHASES=configure install prepare unpack
|
|
||||||
DEPEND=app-arch/unzip =dev-cpp/gtest-1.7.0* >=app-portage/elt-patches-20170422
|
|
||||||
DESCRIPTION=Google's C++ mocking framework
|
|
||||||
EAPI=4
|
|
||||||
HOMEPAGE=https://github.com/google/googlemock
|
|
||||||
IUSE=static-libs
|
|
||||||
KEYWORDS=alpha amd64 arm ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86
|
|
||||||
LICENSE=BSD
|
|
||||||
RDEPEND==dev-cpp/gtest-1.7.0*
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=https://googlemock.googlecode.com/files/gmock-1.7.0.zip
|
|
||||||
_eclasses_=libtool 0081a71a261724730ec4c248494f044d multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 185a06792159ca143528e7010368e8af
|
|
||||||
_md5_=c09c53d46db654463155a5086c49fdb4
|
|
@ -1,13 +0,0 @@
|
|||||||
DEFINED_PHASES=compile configure install prepare setup test unpack
|
|
||||||
DEPEND==dev-cpp/gtest-1.7.0*[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] test? ( || ( >=dev-lang/python-2.7.5-r2:2.7 ) ) app-arch/unzip >=app-portage/elt-patches-20170422
|
|
||||||
DESCRIPTION=Google's C++ mocking framework
|
|
||||||
EAPI=4
|
|
||||||
HOMEPAGE=https://github.com/google/googlemock
|
|
||||||
IUSE=static-libs test abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
|
||||||
KEYWORDS=alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86
|
|
||||||
LICENSE=BSD
|
|
||||||
RDEPEND==dev-cpp/gtest-1.7.0*[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?]
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=https://googlemock.googlecode.com/files/gmock-1.7.0.zip
|
|
||||||
_eclasses_=epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 227b041a120d309fdefbebb3b8c1dfa9 libtool 0081a71a261724730ec4c248494f044d ltprune 2770eed66a9b8ef944714cd0e968182e multibuild 72647e255187a1fadc81097b3657e5c3 multilib 97f470f374f2e94ccab04a2fb21d811e multilib-build eed53a6313267c9fbcd35fc384bd0087 multilib-minimal 9139c3a57e077cb8e0d0f73ceb080b89 python-any-r1 27d7f9da7187d283b7f3eae8390b7b09 python-utils-r1 c9de01becf9df3f8c10aeec3dc693f5d toolchain-funcs 185a06792159ca143528e7010368e8af
|
|
||||||
_md5_=8249ae4e14c1011c8e01b40594c55d7d
|
|
Loading…
Reference in New Issue
Block a user