From 71fde338f2bdb118f383356ea01ddab28434dc89 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 12 Dec 2019 16:32:46 +0100 Subject: [PATCH] dev-libs/mongo-c-driver: [QA] Fix MissingTestRestrict MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild | 2 +- dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild | 2 +- dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild | 2 +- dev-libs/mongo-c-driver/mongo-c-driver-1.10.3.ebuild | 2 +- dev-libs/mongo-c-driver/mongo-c-driver-1.11.0.ebuild | 2 +- dev-libs/mongo-c-driver/mongo-c-driver-1.12.0.ebuild | 2 +- dev-libs/mongo-c-driver/mongo-c-driver-1.13.0-r1.ebuild | 2 +- dev-libs/mongo-c-driver/mongo-c-driver-1.13.1.ebuild | 2 +- dev-libs/mongo-c-driver/mongo-c-driver-1.14.0.ebuild | 2 +- dev-libs/mongo-c-driver/mongo-c-driver-1.3.5.ebuild | 2 +- dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild | 2 +- dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild | 2 +- dev-libs/mongo-c-driver/mongo-c-driver-1.9.3.ebuild | 2 +- 13 files changed, 13 insertions(+), 13 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 73a6478fd07c..e57a3560443f 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 @@ -27,7 +27,7 @@ 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 )" +RESTRICT="!test? ( test ) x86? ( test )" src_prepare() { # https://github.com/mongodb/mongo-c-driver/issues/54 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 e7ca688a3cd1..06580e8e4bb9 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 @@ -27,7 +27,7 @@ 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 )" +RESTRICT="!test? ( test ) x86? ( test )" src_prepare() { rm -r src/libbson || 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 46adaf6e0c40..8bb38f883513 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 @@ -27,7 +27,7 @@ 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 )" +RESTRICT="!test? ( test ) x86? ( test )" src_prepare() { rm -r src/libbson || die diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.10.3.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.10.3.ebuild index e9641be05a99..7e671d96e059 100644 --- a/dev-libs/mongo-c-driver/mongo-c-driver-1.10.3.ebuild +++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.10.3.ebuild @@ -32,7 +32,7 @@ DEPEND="${RDEPEND} # No tests on x86 because tests require dev-db/mongodb which don't support # x86 anymore (bug #645994) -RESTRICT="x86? ( test )" +RESTRICT="!test? ( test ) x86? ( test )" PATCHES=( "${FILESDIR}/${P}-enable-tests.patch" # enable tests without libbson diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.11.0.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.11.0.ebuild index 9555f7a1f3cb..ec8f06577251 100644 --- a/dev-libs/mongo-c-driver/mongo-c-driver-1.11.0.ebuild +++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.11.0.ebuild @@ -32,7 +32,7 @@ DEPEND="${RDEPEND} # No tests on x86 because tests require dev-db/mongodb which don't support # x86 anymore (bug #645994) -RESTRICT="x86? ( test )" +RESTRICT="!test? ( test ) x86? ( test )" PATCHES=( "${FILESDIR}/${P}-enable-tests.patch" # enable tests without libbson diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.12.0.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.12.0.ebuild index 8b1af6b106f7..0755827f8491 100644 --- a/dev-libs/mongo-c-driver/mongo-c-driver-1.12.0.ebuild +++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.12.0.ebuild @@ -32,7 +32,7 @@ DEPEND="${RDEPEND} # No tests on x86 because tests require dev-db/mongodb which don't support # x86 anymore (bug #645994) -RESTRICT="x86? ( test )" +RESTRICT="!test? ( test ) x86? ( test )" PATCHES=( "${FILESDIR}/${PN}-1.11.0-enable-tests.patch" # enable tests without libbson diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0-r1.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0-r1.ebuild index 78ede21f8526..415dc7078333 100644 --- a/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0-r1.ebuild +++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0-r1.ebuild @@ -33,7 +33,7 @@ DEPEND="${RDEPEND} # No tests on x86 because tests require dev-db/mongodb which don't support # x86 anymore (bug #645994) -RESTRICT="x86? ( test )" +RESTRICT="!test? ( test ) x86? ( test )" PATCHES=( "${FILESDIR}/${P}-no-uninstall.patch" diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.13.1.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.13.1.ebuild index 9c37da616632..e61cc887ea3d 100644 --- a/dev-libs/mongo-c-driver/mongo-c-driver-1.13.1.ebuild +++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.13.1.ebuild @@ -33,7 +33,7 @@ DEPEND="${RDEPEND} # No tests on x86 because tests require dev-db/mongodb which don't support # x86 anymore (bug #645994) -RESTRICT="x86? ( test )" +RESTRICT="!test? ( test ) x86? ( test )" PATCHES=( "${FILESDIR}/${PN}-1.13.0-enable-tests.patch" # enable tests with system libbson diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.14.0.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.14.0.ebuild index eaea5a9fc5ac..4ad9e86cd71e 100644 --- a/dev-libs/mongo-c-driver/mongo-c-driver-1.14.0.ebuild +++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.14.0.ebuild @@ -33,7 +33,7 @@ DEPEND="${RDEPEND} # No tests on x86 because tests require dev-db/mongodb which don't support # x86 anymore (bug #645994) -RESTRICT="x86? ( test )" +RESTRICT="!test? ( test ) x86? ( test )" PATCHES=( "${FILESDIR}/${PN}-1.13.1-drop-failing-test.patch" # one test fails 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 e48c6b583445..dd8921b43802 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 @@ -27,7 +27,7 @@ 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 )" +RESTRICT="!test? ( test ) x86? ( test )" src_prepare() { rm -r src/libbson || 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 b637d1e84498..f66b7f0c74b9 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 @@ -27,7 +27,7 @@ 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 )" +RESTRICT="!test? ( test ) x86? ( test )" src_prepare() { rm -r src/libbson || die 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 index beb5282faaf3..1c81a8f60b99 100644 --- 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 @@ -25,7 +25,7 @@ DEPEND="${RDEPEND} # No tests on x86 because tests require dev-db/mongodb which don't support # x86 anymore (bug #645994) -RESTRICT="x86? ( test )" +RESTRICT="!test? ( test ) x86? ( test )" src_prepare() { # remove bundled libs diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.9.3.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.9.3.ebuild index 825f4a506112..ab6b5baaaf37 100644 --- a/dev-libs/mongo-c-driver/mongo-c-driver-1.9.3.ebuild +++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.9.3.ebuild @@ -25,7 +25,7 @@ DEPEND="${RDEPEND} # No tests on x86 because tests require dev-db/mongodb which don't support # x86 anymore (bug #645994) -RESTRICT="x86? ( test )" +RESTRICT="!test? ( test ) x86? ( test )" src_prepare() { # remove bundled libs -- 2.26.2