-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
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 \
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
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
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
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
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
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
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
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