dev-libs/mongo-c-driver: drop tests on x86
authorTomas Mozes <tmozes@sygic.com>
Wed, 17 Oct 2018 08:55:05 +0000 (10:55 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Fri, 26 Oct 2018 13:17:50 +0000 (15:17 +0200)
Closes: https://bugs.gentoo.org/668288
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild
dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild
dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild
dev-libs/mongo-c-driver/mongo-c-driver-1.3.5.ebuild
dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild

index c8cfa98b12d527114e6474705c86764765f05fca..c5f0ca6a85764f8fdbf07376ffb3c95ec7f86313 100644 (file)
@@ -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 \
index 270c3fa25494659022e02586e8069d3a2abfaf54..2af17a8e308f754acdb01cd3606c2c593af0377b 100644 (file)
@@ -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
index 44af34364f2452de6589122246f2866d7eb4fe0b..aa9e3818623ad150e2010df5d2f110c1055bc29f 100644 (file)
@@ -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
index 4ae9ba800142ee7ed9704fb8ec7fff56452dad47..90f322d03b42322b9f31cb0bd649e89284d8be43 100644 (file)
@@ -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
index 09d274361f4b8f0c5575931725f63cb12cccd43c..841127cf7d9ea218dc2f03a7252a77ec0820964b 100644 (file)
@@ -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