1 |
commit: 18602efd3de03bd491dcf492bd3cea8f3fa0992d |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 9 14:12:25 2018 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 9 14:12:25 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18602efd |
7 |
|
8 |
dev-libs/mongo-c-driver: Restrict tests for x86 |
9 |
|
10 |
Tests require a local mongodb instance. However, dev-db/mongodb upstream |
11 |
doesn't support x86 anymore [Bug 646016] so we are restricting tests. |
12 |
|
13 |
Bug: https://bugs.gentoo.org/646016 |
14 |
Closes: https://bugs.gentoo.org/645994 |
15 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
16 |
|
17 |
dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild | 4 ++++ |
18 |
1 file changed, 4 insertions(+) |
19 |
|
20 |
diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild |
21 |
index 179b8e0a175..256c3356f43 100644 |
22 |
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild |
23 |
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild |
24 |
@@ -23,6 +23,10 @@ RDEPEND="app-arch/snappy:= |
25 |
DEPEND="${RDEPEND} |
26 |
test? ( dev-db/mongodb )" |
27 |
|
28 |
+# No tests on x86 because tests require dev-db/mongodb which don't support |
29 |
+# x86 anymore (bug #645994) |
30 |
+RESTRICT="x86? ( test )" |
31 |
+ |
32 |
src_prepare() { |
33 |
# remove bundled libs |
34 |
rm -rv src/{libbson,zlib*} || die |