Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-cxx-driver/, profiles/, dev-libs/mongo-cxx-driver/files/
Date: Mon, 26 Oct 2020 07:39:49
Message-Id: 1603697941.c0503a83fe990abc7a2954ab2f1b1f68710a5844.mgorny@gentoo
1 commit: c0503a83fe990abc7a2954ab2f1b1f68710a5844
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 26 07:33:00 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 26 07:39:01 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0503a83
7
8 dev-libs/mongo-cxx-driver: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/735530
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 dev-libs/mongo-cxx-driver/Manifest | 4 -
14 .../files/mongo-cxx-driver-1.0.0-fix-scons.patch | 34 ---------
15 .../files/mongo-cxx-driver-1.1.0-fix-scons.patch | 54 -------------
16 .../files/mongo-cxx-driver-1.1.2-boost-next.patch | 21 -----
17 .../files/mongo-cxx-driver-1.1.2-boost-ref.patch | 15 ----
18 .../mongo-cxx-driver-26compat-fix-scons.patch | 34 ---------
19 dev-libs/mongo-cxx-driver/metadata.xml | 11 ---
20 .../mongo-cxx-driver-0.0.2.6.7-r1.ebuild | 89 ----------------------
21 .../mongo-cxx-driver/mongo-cxx-driver-1.0.0.ebuild | 72 -----------------
22 .../mongo-cxx-driver/mongo-cxx-driver-1.0.5.ebuild | 72 -----------------
23 .../mongo-cxx-driver-1.1.2-r1.ebuild | 72 -----------------
24 profiles/package.mask | 8 --
25 12 files changed, 486 deletions(-)
26
27 diff --git a/dev-libs/mongo-cxx-driver/Manifest b/dev-libs/mongo-cxx-driver/Manifest
28 deleted file mode 100644
29 index 7837ecb34b3..00000000000
30 --- a/dev-libs/mongo-cxx-driver/Manifest
31 +++ /dev/null
32 @@ -1,4 +0,0 @@
33 -DIST legacy-0.0-26compat-2.6.7.tar.gz 1512331 BLAKE2B 43735ef7be4d5f3094eccedb5ee70f9f9722a174513a10f2f5f7c3c5603766f85e13717ea8c68b935c0ba5914c8e4a9b6e6797cd1a10d0257b654473799070bc SHA512 edf13d5b7802c3b2e9772f08949fd0c412f2cd25ec6d05ff4e8c1f25c3e3506da6ebbd7b017ceec5478585c84e9fa44c66a5094ad3e7a7373187d3fb3c1c1222
34 -DIST legacy-1.0.0.tar.gz 1569156 BLAKE2B 6c231d6a4c9f6c54aaea2b6f5ce10c80537875e69508fbd3598a835b52ca2bd984d2d7bf3bd35bff83b78408d3c185715f2fb8d6eef3b697c864161479a016ab SHA512 e161972715fe45b777ee3d9c7e788ee3a808af789e2c1248af1dde3d3f3936e29f619e039f53210cdd3fc6a6bd8a02c101facf49c61759c6f108d25c5c03b59b
35 -DIST legacy-1.0.5.tar.gz 1573929 BLAKE2B 85476dddefdcbd7a4b8ac945a39633965ade0389131e554c04aab3d457a3651b79292b88882613af6bb07f56759e75f67eb72d27b23209cc0df36df9eec58846 SHA512 e904d73f78ffbc1ce18ffa11dd7e3dddd67c730b6e79bace0e48c0be4e8ffd7b5fe12e1373e42ad941d8fc239ef031a47d39ff04aaf3f0a5ecf88115c816bc70
36 -DIST legacy-1.1.2.tar.gz 1577527 BLAKE2B 277e5ed6d6897587d3d9f9681b6821d2cc4bba71191c27083306d3a4d7dd778fdb3707e5b70fe9f528be8142dd755ba8e2a19ee866f5583dc57d297c642e6e02 SHA512 a0b21719db8205a16c574ce21565577787ea00cf2492353bcd4dd79a7ef3b7d685287be47e6eee59fad46c6fa2ac3c6a0e00c26ef88be8b17e9d93fbc763cb10
37
38 diff --git a/dev-libs/mongo-cxx-driver/files/mongo-cxx-driver-1.0.0-fix-scons.patch b/dev-libs/mongo-cxx-driver/files/mongo-cxx-driver-1.0.0-fix-scons.patch
39 deleted file mode 100644
40 index 319773c7d57..00000000000
41 --- a/dev-libs/mongo-cxx-driver/files/mongo-cxx-driver-1.0.0-fix-scons.patch
42 +++ /dev/null
43 @@ -1,34 +0,0 @@
44 ---- a/SConstruct 2015-03-17 10:19:58.766530807 +0100
45 -+++ b/SConstruct 2015-03-17 10:27:58.400062874 +0100
46 -@@ -853,7 +853,6 @@
47 -
48 - # -Winvalid-pch Warn if a precompiled header (see Precompiled Headers) is found in the search path but can't be used.
49 - env.Append( CCFLAGS=["-fPIC",
50 -- "-ggdb",
51 - "-pthread",
52 - "-Wall",
53 - "-Wsign-compare",
54 -@@ -861,13 +860,13 @@
55 - "-Winvalid-pch"] )
56 - # env.Append( " -Wconversion" ) TODO: this doesn't really work yet
57 - if linux or darwin:
58 -- env.Append( CCFLAGS=["-pipe"] )
59 - if not has_option("disable-warnings-as-errors"):
60 - env.Append( CCFLAGS=["-Werror"] )
61 -
62 - env.Append( CPPDEFINES=["_FILE_OFFSET_BITS=64"] )
63 -- env.Append( CXXFLAGS=["-Wnon-virtual-dtor", "-Woverloaded-virtual"] )
64 - env.Append( LINKFLAGS=["-fPIC"] )
65 -+ env.Append( CXXFLAGS=os.environ['CXXFLAGS'] )
66 -+ env.Append( LINKFLAGS=os.environ['LDFLAGS'] )
67 -
68 - # SERVER-9761: Ensure early detection of missing symbols in dependent libraries at program
69 - # startup.
70 -@@ -933,7 +932,6 @@
71 - except OSError:
72 - pass
73 -
74 --env.Prepend(CPPPATH=['$VARIANT_DIR/third_party/gtest-1.7.0/include'])
75 -
76 - boostSuffixList = ["-mt", ""]
77 - if get_option("boost-lib-search-suffixes") is not None:
78
79 diff --git a/dev-libs/mongo-cxx-driver/files/mongo-cxx-driver-1.1.0-fix-scons.patch b/dev-libs/mongo-cxx-driver/files/mongo-cxx-driver-1.1.0-fix-scons.patch
80 deleted file mode 100644
81 index 2a8ce309b66..00000000000
82 --- a/dev-libs/mongo-cxx-driver/files/mongo-cxx-driver-1.1.0-fix-scons.patch
83 +++ /dev/null
84 @@ -1,54 +0,0 @@
85 ---- a/SConstruct
86 -+++ b/SConstruct
87 -@@ -865,7 +865,6 @@
88 -
89 - # -Winvalid-pch Warn if a precompiled header (see Precompiled Headers) is found in the search path but can't be used.
90 - env.Append( CCFLAGS=["-fPIC",
91 -- "-ggdb",
92 - "-pthread",
93 - "-Wall",
94 - "-Wsign-compare",
95 -@@ -873,13 +872,13 @@
96 - "-Winvalid-pch"] )
97 - # env.Append( " -Wconversion" ) TODO: this doesn't really work yet
98 - if linux or darwin:
99 -- env.Append( CCFLAGS=["-pipe"] )
100 - if not has_option("disable-warnings-as-errors"):
101 - env.Append( CCFLAGS=["-Werror"] )
102 -
103 - env.Append( CPPDEFINES=["_FILE_OFFSET_BITS=64"] )
104 -- env.Append( CXXFLAGS=["-Wnon-virtual-dtor", "-Woverloaded-virtual"] )
105 - env.Append( LINKFLAGS=["-fPIC"] )
106 -+ env.Append( CXXFLAGS=os.environ['CXXFLAGS'] )
107 -+ env.Append( LINKFLAGS=os.environ['LDFLAGS'] )
108 -
109 - # SERVER-9761: Ensure early detection of missing symbols in dependent libraries at program
110 - # startup.
111 -@@ -905,11 +904,6 @@
112 - env.Append( CXXFLAGS=" -fprofile-arcs -ftest-coverage " )
113 - env.Append( LINKFLAGS=" -fprofile-arcs -ftest-coverage " )
114 -
115 -- if optBuild:
116 -- env.Append( CCFLAGS=["-O3"] )
117 -- else:
118 -- env.Append( CCFLAGS=["-O0"] )
119 --
120 - if debugBuild:
121 - if not optBuild:
122 - env.Append( CCFLAGS=["-fstack-protector"] )
123 -@@ -932,7 +926,6 @@
124 - except OSError:
125 - pass
126 -
127 --env.Prepend(CPPPATH=['$VARIANT_DIR/third_party/gtest-1.7.0/include'])
128 -
129 - boostSuffixList = ["-mt", ""]
130 - if get_option("boost-lib-search-suffixes") is not None:
131 -@@ -1143,6 +1136,7 @@
132 - # Clang likes to warn about unused functions, which seems a tad aggressive and breaks
133 - # -Werror, which we want to be able to use.
134 - AddToCCFLAGSIfSupported(myenv, '-Wno-unused-function')
135 -+ AddToCCFLAGSIfSupported(myenv, '-Wno-unused-variable')
136 -
137 - # TODO: Note that the following two flags are added to CCFLAGS even though they are
138 - # really C++ specific. We need to do this because SCons passes CXXFLAGS *before*
139
140 diff --git a/dev-libs/mongo-cxx-driver/files/mongo-cxx-driver-1.1.2-boost-next.patch b/dev-libs/mongo-cxx-driver/files/mongo-cxx-driver-1.1.2-boost-next.patch
141 deleted file mode 100644
142 index 68bdc4dc1a4..00000000000
143 --- a/dev-libs/mongo-cxx-driver/files/mongo-cxx-driver-1.1.2-boost-next.patch
144 +++ /dev/null
145 @@ -1,21 +0,0 @@
146 -Add missing include for boost::next()
147 -
148 -https://bugs.gentoo.org/671422
149 ---- a/src/mongo/client/command_writer.cpp
150 -+++ b/src/mongo/client/command_writer.cpp
151 -@@ -22,4 +22,6 @@
152 - #include "mongo/db/namespace_string.h"
153 -
154 -+#include <boost/next_prior.hpp>
155 -+
156 - namespace mongo {
157 -
158 ---- a/src/mongo/client/wire_protocol_writer.cpp
159 -+++ b/src/mongo/client/wire_protocol_writer.cpp
160 -@@ -22,4 +22,6 @@
161 - #include "mongo/db/namespace_string.h"
162 -
163 -+#include <boost/next_prior.hpp>
164 -+
165 - namespace mongo {
166 -
167
168 diff --git a/dev-libs/mongo-cxx-driver/files/mongo-cxx-driver-1.1.2-boost-ref.patch b/dev-libs/mongo-cxx-driver/files/mongo-cxx-driver-1.1.2-boost-ref.patch
169 deleted file mode 100644
170 index 9997dd57a2c..00000000000
171 --- a/dev-libs/mongo-cxx-driver/files/mongo-cxx-driver-1.1.2-boost-ref.patch
172 +++ /dev/null
173 @@ -1,15 +0,0 @@
174 -Fix missing implicit include.
175 -Patch by Jan-Matthias Braun
176 -See also: https://bugs.gentoo.org/show_bug.cgi?id=598340
177 -
178 ---- a/src/mongo/client/examples/connect.cpp
179 -+++ b/src/mongo/client/examples/connect.cpp
180 -@@ -29,6 +29,8 @@
181 - #include "mongo/client/dbclient.h"
182 - #include "mongo/stdx/functional.h"
183 -
184 -+#include <boost/core/ref.hpp>
185 -+
186 - namespace {
187 -
188 - class OstreamAppender : public mongo::logger::MessageLogDomain::EventAppender {
189
190 diff --git a/dev-libs/mongo-cxx-driver/files/mongo-cxx-driver-26compat-fix-scons.patch b/dev-libs/mongo-cxx-driver/files/mongo-cxx-driver-26compat-fix-scons.patch
191 deleted file mode 100644
192 index be5408511bd..00000000000
193 --- a/dev-libs/mongo-cxx-driver/files/mongo-cxx-driver-26compat-fix-scons.patch
194 +++ /dev/null
195 @@ -1,34 +0,0 @@
196 ---- a/SConstruct 2015-03-23 10:36:42.328921927 +0100
197 -+++ b/SConstruct 2015-03-23 10:37:37.599310414 +0100
198 -@@ -828,7 +828,6 @@
199 - # -Winvalid-pch Warn if a precompiled header (see Precompiled Headers) is found in the search path but can't be used.
200 - env.Append( CCFLAGS=["-fPIC",
201 - "-fno-strict-aliasing",
202 -- "-ggdb",
203 - "-pthread",
204 - "-Wall",
205 - "-Wsign-compare",
206 -@@ -836,13 +835,13 @@
207 - "-Winvalid-pch"] )
208 - # env.Append( " -Wconversion" ) TODO: this doesn't really work yet
209 - if linux or darwin:
210 -- env.Append( CCFLAGS=["-pipe"] )
211 - if not has_option("disable-warnings-as-errors"):
212 - env.Append( CCFLAGS=["-Werror"] )
213 -
214 - env.Append( CPPDEFINES=["_FILE_OFFSET_BITS=64"] )
215 -- env.Append( CXXFLAGS=["-Wnon-virtual-dtor", "-Woverloaded-virtual"] )
216 - env.Append( LINKFLAGS=["-fPIC", "-pthread"] )
217 -+ env.Append( CXXFLAGS=os.environ['CXXFLAGS'] )
218 -+ env.Append( LINKFLAGS=os.environ['LDFLAGS'] )
219 -
220 - # SERVER-9761: Ensure early detection of missing symbols in dependent libraries at program
221 - # startup.
222 -@@ -938,7 +937,6 @@
223 - if not use_system_version_of_library("snappy"):
224 - env.Prepend(CPPPATH=['$BUILD_DIR/third_party/snappy'])
225 -
226 --env.Prepend(CPPPATH=['$BUILD_DIR/third_party/gtest-1.7.0/include'])
227 -
228 - env.Append( CPPPATH=['$EXTRACPPPATH'],
229 - LIBPATH=['$EXTRALIBPATH'] )
230
231 diff --git a/dev-libs/mongo-cxx-driver/metadata.xml b/dev-libs/mongo-cxx-driver/metadata.xml
232 deleted file mode 100644
233 index e27bea24f74..00000000000
234 --- a/dev-libs/mongo-cxx-driver/metadata.xml
235 +++ /dev/null
236 @@ -1,11 +0,0 @@
237 -<?xml version="1.0" encoding="UTF-8"?>
238 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
239 -<pkgmetadata>
240 - <maintainer type="person">
241 - <email>ultrabug@g.o</email>
242 - <name>Alexys Jacob</name>
243 - </maintainer>
244 - <upstream>
245 - <remote-id type="github">mongodb/mongo-cxx-driver</remote-id>
246 - </upstream>
247 -</pkgmetadata>
248
249 diff --git a/dev-libs/mongo-cxx-driver/mongo-cxx-driver-0.0.2.6.7-r1.ebuild b/dev-libs/mongo-cxx-driver/mongo-cxx-driver-0.0.2.6.7-r1.ebuild
250 deleted file mode 100644
251 index 27e4b7ee964..00000000000
252 --- a/dev-libs/mongo-cxx-driver/mongo-cxx-driver-0.0.2.6.7-r1.ebuild
253 +++ /dev/null
254 @@ -1,89 +0,0 @@
255 -# Copyright 1999-2020 Gentoo Authors
256 -# Distributed under the terms of the GNU General Public License v2
257 -
258 -EAPI=5
259 -SCONS_MIN_VERSION="2.3.0"
260 -
261 -inherit eutils flag-o-matic multilib scons-utils toolchain-funcs versionator
262 -
263 -MY_PV=$(get_version_component_range 3-5)
264 -MY_P=legacy-0.0-26compat-${MY_PV}
265 -
266 -DESCRIPTION="C++ Driver for MongoDB"
267 -HOMEPAGE="https://github.com/mongodb/mongo-cxx-driver"
268 -SRC_URI="https://github.com/mongodb/${PN}/archive/${MY_P}.tar.gz"
269 -
270 -LICENSE="AGPL-3 Apache-2.0"
271 -SLOT="0"
272 -KEYWORDS="~amd64 ~x86"
273 -IUSE="kerberos libressl ssl static-libs"
274 -
275 -RDEPEND="
276 - app-arch/snappy
277 - >=dev-cpp/yaml-cpp-0.5.1
278 - >=dev-libs/boost-1.50[threads(+)]
279 - >=dev-libs/libpcre-8.30[cxx]
280 - dev-util/google-perftools[-minimal]
281 - ssl? (
282 - !libressl? ( dev-libs/openssl:0= )
283 - libressl? ( dev-libs/libressl:0= )
284 - )"
285 -DEPEND="${RDEPEND}
286 - kerberos? ( dev-libs/cyrus-sasl[kerberos] )"
287 -
288 -S=${WORKDIR}/${PN}-${MY_P}
289 -
290 -pkg_setup() {
291 - scons_opts="--variant-dir=build --cc=$(tc-getCC) --cxx=$(tc-getCXX)"
292 - scons_opts+=" --disable-warnings-as-errors --sharedclient"
293 - scons_opts+=" --use-system-boost"
294 - scons_opts+=" --use-system-pcre"
295 - scons_opts+=" --use-system-snappy"
296 - scons_opts+=" --use-system-yaml"
297 -
298 - if use prefix; then
299 - scons_opts+=" --cpppath=${EPREFIX}/usr/include"
300 - scons_opts+=" --libpath=${EPREFIX}/usr/$(get_libdir)"
301 - fi
302 -
303 - if use kerberos; then
304 - scons_opts+=" --use-sasl-client"
305 - fi
306 -
307 - if use ssl; then
308 - scons_opts+=" --ssl"
309 - fi
310 -}
311 -
312 -src_prepare() {
313 - epatch "${FILESDIR}/${PN}-26compat-fix-scons.patch"
314 -
315 - # stemmer/pcap are not used, strip them wrt #518104
316 - sed -e '/stemmer/d' -e '/pcap/d' -i SConstruct || die
317 -
318 - # fix yaml-cpp detection
319 - sed -i -e "s/\[\"yaml\"\]/\[\"yaml-cpp\"\]/" SConstruct || die
320 -
321 - # bug #462606
322 - sed -i -e "s@\$INSTALL_DIR/lib@\$INSTALL_DIR/$(get_libdir)@g" src/SConscript.client || die
323 -}
324 -
325 -src_compile() {
326 - escons ${scons_opts} mongoclient
327 -}
328 -
329 -src_install() {
330 - escons ${scons_opts} --full --nostrip install-mongoclient --prefix="${ED}"/usr
331 -
332 - use static-libs || find "${ED}"/usr/ -type f -name "*.a" -delete
333 -
334 - dodoc README.md CONTRIBUTING.md
335 -}
336 -
337 -pkg_preinst() {
338 - if [[ "$(get_libdir)" == "lib64" ]]; then
339 - rmdir "${ED}"/usr/lib64/ &>/dev/null
340 - else
341 - rmdir "${ED}"/usr/lib/ &>/dev/null
342 - fi
343 -}
344
345 diff --git a/dev-libs/mongo-cxx-driver/mongo-cxx-driver-1.0.0.ebuild b/dev-libs/mongo-cxx-driver/mongo-cxx-driver-1.0.0.ebuild
346 deleted file mode 100644
347 index 6775c8f379e..00000000000
348 --- a/dev-libs/mongo-cxx-driver/mongo-cxx-driver-1.0.0.ebuild
349 +++ /dev/null
350 @@ -1,72 +0,0 @@
351 -# Copyright 1999-2020 Gentoo Authors
352 -# Distributed under the terms of the GNU General Public License v2
353 -
354 -EAPI=5
355 -SCONS_MIN_VERSION="2.3.0"
356 -
357 -inherit eutils flag-o-matic multilib scons-utils toolchain-funcs
358 -
359 -DESCRIPTION="C++ Driver for MongoDB"
360 -HOMEPAGE="https://github.com/mongodb/mongo-cxx-driver"
361 -SRC_URI="https://github.com/mongodb/${PN}/archive/legacy-${PV}.tar.gz"
362 -
363 -LICENSE="Apache-2.0"
364 -SLOT="0"
365 -KEYWORDS="~amd64 ~x86"
366 -IUSE="debug libressl sasl ssl static-libs"
367 -
368 -RDEPEND="!dev-db/tokumx
369 - >=dev-libs/boost-1.50[threads(+)]
370 - sasl? ( dev-libs/cyrus-sasl )
371 - ssl? (
372 - !libressl? ( dev-libs/openssl:0= )
373 - libressl? ( dev-libs/libressl:0= )
374 - )"
375 -DEPEND="${RDEPEND}"
376 -
377 -# Maintainer notes
378 -# TODO: enable test in IUSE with
379 -# test? ( >=dev-cpp/gtest-1.7.0 dev-db/mongodb )
380 -
381 -DOCS=( README.md )
382 -
383 -S="${WORKDIR}/${PN}-legacy-${PV}"
384 -
385 -pkg_setup() {
386 - scons_opts="--variant-dir=build --cc=$(tc-getCC) --cxx=$(tc-getCXX)"
387 - scons_opts+=" --disable-warnings-as-errors --sharedclient"
388 -
389 - if use debug; then
390 - scons_opts+=" --dbg=on"
391 - fi
392 -
393 - if use prefix; then
394 - scons_opts+=" --cpppath=${EPREFIX}/usr/include"
395 - scons_opts+=" --libpath=${EPREFIX}/usr/$(get_libdir)"
396 - fi
397 -
398 - if use sasl; then
399 - scons_opts+=" --use-sasl-client"
400 - fi
401 -
402 - if use ssl; then
403 - scons_opts+=" --ssl"
404 - fi
405 -}
406 -
407 -src_prepare() {
408 - epatch "${FILESDIR}/${PN}-1.0.0-fix-scons.patch"
409 -
410 - # respect mongoDB upstream's basic recommendations
411 - # see bug #536688 and #526114
412 - if ! use debug; then
413 - filter-flags '-m*'
414 - filter-flags '-O?'
415 - fi
416 -}
417 -
418 -src_install() {
419 - escons ${scons_opts} install --prefix="${ED}"/usr
420 -
421 - use static-libs || find "${D}" -name '*.a' -delete
422 -}
423
424 diff --git a/dev-libs/mongo-cxx-driver/mongo-cxx-driver-1.0.5.ebuild b/dev-libs/mongo-cxx-driver/mongo-cxx-driver-1.0.5.ebuild
425 deleted file mode 100644
426 index 6775c8f379e..00000000000
427 --- a/dev-libs/mongo-cxx-driver/mongo-cxx-driver-1.0.5.ebuild
428 +++ /dev/null
429 @@ -1,72 +0,0 @@
430 -# Copyright 1999-2020 Gentoo Authors
431 -# Distributed under the terms of the GNU General Public License v2
432 -
433 -EAPI=5
434 -SCONS_MIN_VERSION="2.3.0"
435 -
436 -inherit eutils flag-o-matic multilib scons-utils toolchain-funcs
437 -
438 -DESCRIPTION="C++ Driver for MongoDB"
439 -HOMEPAGE="https://github.com/mongodb/mongo-cxx-driver"
440 -SRC_URI="https://github.com/mongodb/${PN}/archive/legacy-${PV}.tar.gz"
441 -
442 -LICENSE="Apache-2.0"
443 -SLOT="0"
444 -KEYWORDS="~amd64 ~x86"
445 -IUSE="debug libressl sasl ssl static-libs"
446 -
447 -RDEPEND="!dev-db/tokumx
448 - >=dev-libs/boost-1.50[threads(+)]
449 - sasl? ( dev-libs/cyrus-sasl )
450 - ssl? (
451 - !libressl? ( dev-libs/openssl:0= )
452 - libressl? ( dev-libs/libressl:0= )
453 - )"
454 -DEPEND="${RDEPEND}"
455 -
456 -# Maintainer notes
457 -# TODO: enable test in IUSE with
458 -# test? ( >=dev-cpp/gtest-1.7.0 dev-db/mongodb )
459 -
460 -DOCS=( README.md )
461 -
462 -S="${WORKDIR}/${PN}-legacy-${PV}"
463 -
464 -pkg_setup() {
465 - scons_opts="--variant-dir=build --cc=$(tc-getCC) --cxx=$(tc-getCXX)"
466 - scons_opts+=" --disable-warnings-as-errors --sharedclient"
467 -
468 - if use debug; then
469 - scons_opts+=" --dbg=on"
470 - fi
471 -
472 - if use prefix; then
473 - scons_opts+=" --cpppath=${EPREFIX}/usr/include"
474 - scons_opts+=" --libpath=${EPREFIX}/usr/$(get_libdir)"
475 - fi
476 -
477 - if use sasl; then
478 - scons_opts+=" --use-sasl-client"
479 - fi
480 -
481 - if use ssl; then
482 - scons_opts+=" --ssl"
483 - fi
484 -}
485 -
486 -src_prepare() {
487 - epatch "${FILESDIR}/${PN}-1.0.0-fix-scons.patch"
488 -
489 - # respect mongoDB upstream's basic recommendations
490 - # see bug #536688 and #526114
491 - if ! use debug; then
492 - filter-flags '-m*'
493 - filter-flags '-O?'
494 - fi
495 -}
496 -
497 -src_install() {
498 - escons ${scons_opts} install --prefix="${ED}"/usr
499 -
500 - use static-libs || find "${D}" -name '*.a' -delete
501 -}
502
503 diff --git a/dev-libs/mongo-cxx-driver/mongo-cxx-driver-1.1.2-r1.ebuild b/dev-libs/mongo-cxx-driver/mongo-cxx-driver-1.1.2-r1.ebuild
504 deleted file mode 100644
505 index 2dad3075312..00000000000
506 --- a/dev-libs/mongo-cxx-driver/mongo-cxx-driver-1.1.2-r1.ebuild
507 +++ /dev/null
508 @@ -1,72 +0,0 @@
509 -# Copyright 1999-2018 Gentoo Authors
510 -# Distributed under the terms of the GNU General Public License v2
511 -
512 -EAPI=6
513 -
514 -SCONS_MIN_VERSION=2.3.0
515 -
516 -inherit scons-utils toolchain-funcs
517 -
518 -DESCRIPTION="C++ Driver for MongoDB"
519 -HOMEPAGE="https://github.com/mongodb/mongo-cxx-driver"
520 -SRC_URI="https://github.com/mongodb/${PN}/archive/legacy-${PV}.tar.gz"
521 -
522 -LICENSE="Apache-2.0"
523 -SLOT="0"
524 -KEYWORDS="~amd64 ~x86"
525 -IUSE="debug libressl sasl ssl static-libs"
526 -
527 -RDEPEND="
528 - !dev-db/tokumx
529 - dev-libs/boost:=[threads(+)]
530 - sasl? ( dev-libs/cyrus-sasl )
531 - ssl? (
532 - !libressl? ( dev-libs/openssl:0= )
533 - libressl? ( dev-libs/libressl:0= )
534 - )"
535 -DEPEND="${RDEPEND}"
536 -
537 -# Maintainer notes
538 -# TODO: enable test in IUSE with
539 -# test? ( >=dev-cpp/gtest-1.7.0 dev-db/mongodb )
540 -
541 -PATCHES=(
542 - "${FILESDIR}"/${PN}-1.1.0-fix-scons.patch
543 - "${FILESDIR}"/${PN}-1.1.2-boost-ref.patch
544 - "${FILESDIR}"/${PN}-1.1.2-boost-next.patch
545 -)
546 -
547 -S="${WORKDIR}/${PN}-legacy-${PV}"
548 -
549 -src_configure() {
550 - scons_opts=(
551 - --cc=$(tc-getCC)
552 - --cxx=$(tc-getCXX)
553 - --cpppath="${EPREFIX}"/usr/include
554 - --libpath="${EPREFIX}"/usr/$(get_libdir)
555 - --variant-dir=build
556 - --disable-warnings-as-errors
557 - --sharedclient
558 - )
559 -
560 - use debug && scons_opts+=( --dbg=on )
561 - use sasl && scons_opts+=( --use-sasl-client )
562 - use ssl && scons_opts+=( --ssl )
563 -}
564 -
565 -src_compile() {
566 - escons "${scons_opts[@]}"
567 -}
568 -
569 -src_install() {
570 - escons "${scons_opts[@]}" install --prefix="${ED%/}"/usr
571 -
572 - # fix multilib-strict QA failures
573 - mv "${ED%/}"/usr/{lib,$(get_libdir)} || die
574 -
575 - einstalldocs
576 -
577 - if ! use static-libs; then
578 - find "${D}" -name '*.a' -delete || die
579 - fi
580 -}
581
582 diff --git a/profiles/package.mask b/profiles/package.mask
583 index 7a8a99453c1..44486c2f21c 100644
584 --- a/profiles/package.mask
585 +++ b/profiles/package.mask
586 @@ -253,14 +253,6 @@ dev-python/mysql-python
587 # Removal in 30 days. Bug #734636.
588 dev-python/singledispatch
589
590 -# Michał Górny <mgorny@g.o> (2020-09-26)
591 -# These packages either use obsolete scons-utils.eclass API that
592 -# does not support Python 3, or do not support Python 3 at all.
593 -# Their maintainers are unresponsive. Please do not remove any packages
594 -# from this list unless you actually port them to Python 3.
595 -# Removal in 30 days. Please find relevant bugs on tracker bug #635934.
596 -dev-libs/mongo-cxx-driver
597 -
598 # Michał Górny <mgorny@g.o> (2020-09-25)
599 # PyPy3.7 alpha. Known to break a few packages. Masked until it
600 # matures more.