1 |
commit: aa89b1449bc88fc12783fea969cf5fe761d3498c |
2 |
Author: Aaron Bauman <bman <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 5 19:40:47 2018 +0000 |
4 |
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 5 19:44:50 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa89b144 |
7 |
|
8 |
dev-cpp/gmock: treeclean |
9 |
|
10 |
dev-cpp/gmock/Manifest | 1 - |
11 |
dev-cpp/gmock/files/gmock-1.7.0-gcc6.patch | 32 ---------------- |
12 |
dev-cpp/gmock/gmock-1.7.0-r1.ebuild | 61 ------------------------------ |
13 |
dev-cpp/gmock/metadata.xml | 9 ----- |
14 |
profiles/package.mask | 5 --- |
15 |
5 files changed, 108 deletions(-) |
16 |
|
17 |
diff --git a/dev-cpp/gmock/Manifest b/dev-cpp/gmock/Manifest |
18 |
deleted file mode 100644 |
19 |
index b455c0c8817..00000000000 |
20 |
--- a/dev-cpp/gmock/Manifest |
21 |
+++ /dev/null |
22 |
@@ -1 +0,0 @@ |
23 |
-DIST gmock-1.7.0.zip 2167746 BLAKE2B fc8939615d076512181c62e87028f55ac962a462a625faa4dbf4e8368dc59949f38413293e941c02e21c459190a8678f6618f252364d288b1d2323bcd19bd525 SHA512 0ab7bb2614f8c00e4842a6819dbc6d9323c42241335078c23eaee53ed420d42f1845d44334eccbf7c114cc88f6ac7a493e20d9b46c58cdba645bbd400eb6db55 |
24 |
|
25 |
diff --git a/dev-cpp/gmock/files/gmock-1.7.0-gcc6.patch b/dev-cpp/gmock/files/gmock-1.7.0-gcc6.patch |
26 |
deleted file mode 100644 |
27 |
index 58a78462d60..00000000000 |
28 |
--- a/dev-cpp/gmock/files/gmock-1.7.0-gcc6.patch |
29 |
+++ /dev/null |
30 |
@@ -1,32 +0,0 @@ |
31 |
-Bug: https://bugs.gentoo.org/602158 |
32 |
-Patch: https://github.com/google/googletest/issues/705#issuecomment-235067917 |
33 |
- |
34 |
---- a/include/gmock/gmock-spec-builders.h |
35 |
-+++ b/include/gmock/gmock-spec-builders.h |
36 |
-@@ -1370,6 +1370,8 @@ |
37 |
- template <> |
38 |
- class ActionResultHolder<void> : public UntypedActionResultHolderBase { |
39 |
- public: |
40 |
-+ explicit ActionResultHolder() {} |
41 |
-+ |
42 |
- void GetValueAndDelete() const { delete this; } |
43 |
- |
44 |
- virtual void PrintAsActionResult(::std::ostream* /* os */) const {} |
45 |
-@@ -1381,7 +1383,7 @@ |
46 |
- const typename Function<F>::ArgumentTuple& args, |
47 |
- const string& call_description) { |
48 |
- func_mocker->PerformDefaultAction(args, call_description); |
49 |
-- return NULL; |
50 |
-+ return new ActionResultHolder(); |
51 |
- } |
52 |
- |
53 |
- // Performs the given action and returns NULL. |
54 |
-@@ -1390,7 +1392,7 @@ |
55 |
- const Action<F>& action, |
56 |
- const typename Function<F>::ArgumentTuple& args) { |
57 |
- action.Perform(args); |
58 |
-- return NULL; |
59 |
-+ return new ActionResultHolder(); |
60 |
- } |
61 |
- }; |
62 |
- |
63 |
|
64 |
diff --git a/dev-cpp/gmock/gmock-1.7.0-r1.ebuild b/dev-cpp/gmock/gmock-1.7.0-r1.ebuild |
65 |
deleted file mode 100644 |
66 |
index 42e424f63b8..00000000000 |
67 |
--- a/dev-cpp/gmock/gmock-1.7.0-r1.ebuild |
68 |
+++ /dev/null |
69 |
@@ -1,61 +0,0 @@ |
70 |
-# Copyright 1999-2017 Gentoo Foundation |
71 |
-# Distributed under the terms of the GNU General Public License v2 |
72 |
- |
73 |
-EAPI="4" |
74 |
- |
75 |
-PYTHON_COMPAT=( python2_7 ) |
76 |
- |
77 |
-inherit epatch libtool multilib-minimal python-any-r1 |
78 |
- |
79 |
-DESCRIPTION="Google's C++ mocking framework" |
80 |
-HOMEPAGE="https://github.com/google/googlemock" |
81 |
-SRC_URI="https://googlemock.googlecode.com/files/${P}.zip" |
82 |
- |
83 |
-LICENSE="BSD" |
84 |
-SLOT="0" |
85 |
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86" |
86 |
-IUSE="static-libs test" |
87 |
- |
88 |
-RDEPEND="=dev-cpp/gtest-${PV}*[${MULTILIB_USEDEP}]" |
89 |
-DEPEND="${RDEPEND} |
90 |
- test? ( ${PYTHON_DEPS} ) |
91 |
- app-arch/unzip" |
92 |
- |
93 |
-pkg_setup() { |
94 |
- # Stub to disable python_setup running when USE=-test. |
95 |
- # We'll handle it down in src_test ourselves. |
96 |
- : |
97 |
-} |
98 |
- |
99 |
-src_unpack() { |
100 |
- default |
101 |
- # make sure we always use the system one |
102 |
- rm -r "${S}"/gtest/{Makefile,configure}* || die |
103 |
-} |
104 |
- |
105 |
-src_prepare() { |
106 |
- epatch "${FILESDIR}"/${P}-gcc6.patch |
107 |
- |
108 |
- sed -i -r \ |
109 |
- -e '/^install-(data|exec)-local:/s|^.*$|&\ndisabled-&|' \ |
110 |
- Makefile.in |
111 |
- elibtoolize |
112 |
-} |
113 |
- |
114 |
-multilib_src_configure() { |
115 |
- ECONF_SOURCE=${S} econf $(use_enable static-libs static) |
116 |
-} |
117 |
- |
118 |
-multilib_src_test() { |
119 |
- python_setup |
120 |
- emake check |
121 |
-} |
122 |
- |
123 |
-multilib_src_install() { |
124 |
- default |
125 |
- dobin scripts/gmock-config |
126 |
-} |
127 |
- |
128 |
-multilib_src_install_all() { |
129 |
- use static-libs || find "${ED}" -name '*.la' -delete |
130 |
-} |
131 |
|
132 |
diff --git a/dev-cpp/gmock/metadata.xml b/dev-cpp/gmock/metadata.xml |
133 |
deleted file mode 100644 |
134 |
index 09ce02b4056..00000000000 |
135 |
--- a/dev-cpp/gmock/metadata.xml |
136 |
+++ /dev/null |
137 |
@@ -1,9 +0,0 @@ |
138 |
-<?xml version="1.0" encoding="UTF-8"?> |
139 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
140 |
-<pkgmetadata> |
141 |
- <!-- maintainer-needed --> |
142 |
- <upstream> |
143 |
- <remote-id type="google-code">googlemock</remote-id> |
144 |
- <remote-id type="github">google/googlemock</remote-id> |
145 |
- </upstream> |
146 |
-</pkgmetadata> |
147 |
|
148 |
diff --git a/profiles/package.mask b/profiles/package.mask |
149 |
index 2909041bac4..2f4449978cd 100644 |
150 |
--- a/profiles/package.mask |
151 |
+++ b/profiles/package.mask |
152 |
@@ -83,11 +83,6 @@ dev-python/kiwi |
153 |
# instead of its own. Removal in 30 days. Bug #526552. |
154 |
dev-python/tdaemon |
155 |
|
156 |
-# Arfrever Frehtes Taifersar Arahesis <arfrever.fta@×××××.com> (26 Apr 2018) |
157 |
-# Merged into >=dev-cpp/gtest-1.8.0. |
158 |
-# Masked for removal in 30 days. |
159 |
-dev-cpp/gmock |
160 |
- |
161 |
# Andreas Sturmlechner <asturm@g.o> (26 Apr 2018) |
162 |
# Depends on dead Qt4, no more revdeps. Masked for removal in 30 days. |
163 |
dev-libs/qjson |