commit:     2fc14c499be9cdc5736bfde619039b5413d6a5bc
Author:     Tomas Mozes <tmozes <AT> sygic <DOT> com>
AuthorDate: Wed Oct 17 08:55:05 2018 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Fri Oct 26 13:17:50 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fc14c49

dev-libs/mongo-c-driver: drop tests on x86

Closes: https://bugs.gentoo.org/668288
Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild   | 6 +++++-
 dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild   | 6 +++++-
 dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild | 6 +++++-
 dev-libs/mongo-c-driver/mongo-c-driver-1.3.5.ebuild    | 6 +++++-
 dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild    | 6 +++++-
 5 files changed, 25 insertions(+), 5 deletions(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild
index c8cfa98b12d..c5f0ca6a857 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -25,6 +25,10 @@ DEPEND="${RDEPEND}
 
 DOCS=( NEWS README.rst TUTORIAL.md )
 
+# No tests on x86 because tests require dev-db/mongodb which don't support
+# x86 anymore (bug #645994)
+RESTRICT="x86? ( test )"
+
 src_prepare() {
        # https://github.com/mongodb/mongo-c-driver/issues/54
        sed -i -e "s/PTHREAD_LIBS/PTHREAD_CFLAGS/g" src/Makefile.am \

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild
index 270c3fa2549..2af17a8e308 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -25,6 +25,10 @@ DEPEND="${RDEPEND}
 
 DOCS=( NEWS README.rst TUTORIAL.md )
 
+# No tests on x86 because tests require dev-db/mongodb which don't support
+# x86 anymore (bug #645994)
+RESTRICT="x86? ( test )"
+
 src_prepare() {
        rm -r src/libbson || die
        sed -i -e '/SUBDIRS/s:src/libbson::g' Makefile.am || die

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild
index 44af34364f2..aa9e3818623 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -25,6 +25,10 @@ DEPEND="${RDEPEND}
 
 DOCS=( NEWS README.rst TUTORIAL.md )
 
+# No tests on x86 because tests require dev-db/mongodb which don't support
+# x86 anymore (bug #645994)
+RESTRICT="x86? ( test )"
+
 src_prepare() {
        rm -r src/libbson || die
        sed -i -e '/SUBDIRS/s:src/libbson::g' Makefile.am || die

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.3.5.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.3.5.ebuild
index 4ae9ba80014..90f322d03b4 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.3.5.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.3.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -25,6 +25,10 @@ DEPEND="${RDEPEND}
 
 DOCS=( NEWS README.rst )
 
+# No tests on x86 because tests require dev-db/mongodb which don't support
+# x86 anymore (bug #645994)
+RESTRICT="x86? ( test )"
+
 src_prepare() {
        rm -r src/libbson || die
        sed -i -e '/SUBDIRS/s:src/libbson::g' Makefile.am || die

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild
index 09d274361f4..841127cf7d9 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -25,6 +25,10 @@ DEPEND="${RDEPEND}
 
 DOCS=( NEWS README.rst )
 
+# No tests on x86 because tests require dev-db/mongodb which don't support
+# x86 anymore (bug #645994)
+RESTRICT="x86? ( test )"
+
 src_prepare() {
        rm -r src/libbson || die
        sed -i -e '/SUBDIRS/s:src/libbson::g' Makefile.am || die

Reply via email to