summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-12-10 23:02:54 +0100
committerMichał Górny <mgorny@gentoo.org>2019-12-11 00:22:38 +0100
commit064af661d0c9a31cecdf348632bc5603333a9149 (patch)
tree2202373a7cafcb8a761d32747d4f62263aed64d5 /dev-db
parentdev-python/passlib: keyworded 1.7.1-r2 for hppa, bug #700918 (diff)
downloadgentoo-064af661d0c9a31cecdf348632bc5603333a9149.tar.gz
gentoo-064af661d0c9a31cecdf348632bc5603333a9149.tar.bz2
gentoo-064af661d0c9a31cecdf348632bc5603333a9149.zip
*/*: [QA] Fix trivial cases of MissingTestRestrict
The result was achieved via the following pipeline: pkgcheck scan -c RestrictTestCheck -R FormatReporter \ --format '{category}/{package}/{package}-{version}.ebuild' | xargs -n32 grep -L RESTRICT | xargs -n32 sed -i -e '/^IUSE=.*test/aRESTRICT="!test? ( test )"' The resulting metadata was compared before and after the change. Few Go ebuilds had to be fixed manually due to implicit RESTRICT=strip added by the eclass. Two ebuilds have to be fixed because of multiline IUSE. Suggested-by: Robin H. Johnson <robbat2@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/13942 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/apgdiff/apgdiff-1.4.ebuild3
-rw-r--r--dev-db/apgdiff/apgdiff-2.2.1.ebuild3
-rw-r--r--dev-db/apgdiff/apgdiff-2.2.2.ebuild3
-rw-r--r--dev-db/apgdiff/apgdiff-2.3.ebuild3
-rw-r--r--dev-db/apgdiff/apgdiff-2.4.ebuild3
-rw-r--r--dev-db/clickhouse/clickhouse-18.10.3-r1.ebuild1
-rw-r--r--dev-db/clickhouse/clickhouse-18.12.17-r1.ebuild1
-rw-r--r--dev-db/clickhouse/clickhouse-18.6.0-r1.ebuild1
-rw-r--r--dev-db/clickhouse/clickhouse-19.13.1.11-r2.ebuild1
-rw-r--r--dev-db/clickhouse/clickhouse-19.13.1.11-r3.ebuild1
-rw-r--r--dev-db/clickhouse/clickhouse-19.15.2.2.ebuild1
-rw-r--r--dev-db/clickhouse/clickhouse-19.5.3.8-r1.ebuild1
-rw-r--r--dev-db/clickhouse/clickhouse-19.9.5.36-r1.ebuild1
-rw-r--r--dev-db/mariadb-connector-c/mariadb-connector-c-3.0.6-r1.ebuild1
-rw-r--r--dev-db/mongodb/mongodb-3.6.13.ebuild1
-rw-r--r--dev-db/mongodb/mongodb-3.6.14.ebuild1
-rw-r--r--dev-db/mongodb/mongodb-3.6.8.ebuild1
-rw-r--r--dev-db/mongodb/mongodb-4.0.10.ebuild1
-rw-r--r--dev-db/mongodb/mongodb-4.0.12.ebuild1
-rw-r--r--dev-db/mongodb/mongodb-4.0.13.ebuild1
-rw-r--r--dev-db/mongodb/mongodb-4.2.0-r2.ebuild1
-rw-r--r--dev-db/mongodb/mongodb-4.2.1.ebuild1
-rw-r--r--dev-db/mycli/mycli-1.19.0.ebuild1
-rw-r--r--dev-db/mycli/mycli-1.20.1.ebuild1
-rw-r--r--dev-db/mycli/mycli-9999.ebuild1
-rw-r--r--dev-db/pgxnclient/pgxnclient-1.2-r1.ebuild1
-rw-r--r--dev-db/pgxnclient/pgxnclient-1.2.1.ebuild1
-rw-r--r--dev-db/redis/redis-4.0.10.ebuild3
-rw-r--r--dev-db/redis/redis-4.0.11.ebuild3
-rw-r--r--dev-db/redis/redis-4.0.12.ebuild3
-rw-r--r--dev-db/redis/redis-4.0.13.ebuild1
-rw-r--r--dev-db/redis/redis-4.0.14.ebuild1
-rw-r--r--dev-db/redis/redis-4.0.2-r1.ebuild3
-rw-r--r--dev-db/redis/redis-5.0.3.ebuild1
-rw-r--r--dev-db/redis/redis-5.0.4.ebuild1
-rw-r--r--dev-db/redis/redis-5.0.5.ebuild1
-rw-r--r--dev-db/sadisplay/sadisplay-0.4.8.ebuild1
-rw-r--r--dev-db/spatialite/spatialite-4.3.0-r1.ebuild1
-rw-r--r--dev-db/spatialite/spatialite-4.3.0a.ebuild1
-rw-r--r--dev-db/sqlcipher/sqlcipher-3.4.2.ebuild1
-rw-r--r--dev-db/sqlitebrowser/sqlitebrowser-3.11.1-r1.ebuild1
-rw-r--r--dev-db/sqlitestudio/sqlitestudio-3.2.1-r1.ebuild1
42 files changed, 51 insertions, 9 deletions
diff --git a/dev-db/apgdiff/apgdiff-1.4.ebuild b/dev-db/apgdiff/apgdiff-1.4.ebuild
index 1899250f799..b23143f348b 100644
--- a/dev-db/apgdiff/apgdiff-1.4.ebuild
+++ b/dev-db/apgdiff/apgdiff-1.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -12,6 +12,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND=">=virtual/jdk-1.5
>=dev-java/ant-core-1.7.0:0
diff --git a/dev-db/apgdiff/apgdiff-2.2.1.ebuild b/dev-db/apgdiff/apgdiff-2.2.1.ebuild
index b52222f6cf7..82e2382f393 100644
--- a/dev-db/apgdiff/apgdiff-2.2.1.ebuild
+++ b/dev-db/apgdiff/apgdiff-2.2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -12,6 +12,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND=">=virtual/jdk-1.6
>=dev-java/ant-core-1.7.0:0
diff --git a/dev-db/apgdiff/apgdiff-2.2.2.ebuild b/dev-db/apgdiff/apgdiff-2.2.2.ebuild
index fd930739b11..8066c91411e 100644
--- a/dev-db/apgdiff/apgdiff-2.2.2.ebuild
+++ b/dev-db/apgdiff/apgdiff-2.2.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -12,6 +12,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND=">=virtual/jdk-1.6
>=dev-java/ant-core-1.7.0:0
diff --git a/dev-db/apgdiff/apgdiff-2.3.ebuild b/dev-db/apgdiff/apgdiff-2.3.ebuild
index fd930739b11..8066c91411e 100644
--- a/dev-db/apgdiff/apgdiff-2.3.ebuild
+++ b/dev-db/apgdiff/apgdiff-2.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -12,6 +12,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND=">=virtual/jdk-1.6
>=dev-java/ant-core-1.7.0:0
diff --git a/dev-db/apgdiff/apgdiff-2.4.ebuild b/dev-db/apgdiff/apgdiff-2.4.ebuild
index fd930739b11..8066c91411e 100644
--- a/dev-db/apgdiff/apgdiff-2.4.ebuild
+++ b/dev-db/apgdiff/apgdiff-2.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -12,6 +12,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND=">=virtual/jdk-1.6
>=dev-java/ant-core-1.7.0:0
diff --git a/dev-db/clickhouse/clickhouse-18.10.3-r1.ebuild b/dev-db/clickhouse/clickhouse-18.10.3-r1.ebuild
index ff3db2a3a66..051b8e2ae35 100644
--- a/dev-db/clickhouse/clickhouse-18.10.3-r1.ebuild
+++ b/dev-db/clickhouse/clickhouse-18.10.3-r1.ebuild
@@ -21,6 +21,7 @@ SRC_URI="https://github.com/yandex/${MY_PN}/archive/v${PV}-${TYPE}.tar.gz -> ${P
SLOT="0/${TYPE}"
IUSE="+client cpu_flags_x86_sse4_2 +server debug doc kafka mongodb mysql static test tools zookeeper"
+RESTRICT="!test? ( test )"
KEYWORDS="~amd64"
REQUIRED_USE="
diff --git a/dev-db/clickhouse/clickhouse-18.12.17-r1.ebuild b/dev-db/clickhouse/clickhouse-18.12.17-r1.ebuild
index b8a7337618a..a2fa3854429 100644
--- a/dev-db/clickhouse/clickhouse-18.12.17-r1.ebuild
+++ b/dev-db/clickhouse/clickhouse-18.12.17-r1.ebuild
@@ -21,6 +21,7 @@ SRC_URI="https://github.com/yandex/${MY_PN}/archive/v${PV}-${TYPE}.tar.gz -> ${P
SLOT="0/${TYPE}"
IUSE="+client cpu_flags_x86_sse4_2 +server debug doc kafka mongodb mysql static test tools"
+RESTRICT="!test? ( test )"
KEYWORDS="~amd64"
REQUIRED_USE="
diff --git a/dev-db/clickhouse/clickhouse-18.6.0-r1.ebuild b/dev-db/clickhouse/clickhouse-18.6.0-r1.ebuild
index e419edfa157..d92170ac9fe 100644
--- a/dev-db/clickhouse/clickhouse-18.6.0-r1.ebuild
+++ b/dev-db/clickhouse/clickhouse-18.6.0-r1.ebuild
@@ -22,6 +22,7 @@ SRC_URI="https://github.com/yandex/${MY_PN}/archive/v${PV}-${TYPE}.tar.gz -> ${P
SLOT="0/${TYPE}"
IUSE="+client cpu_flags_x86_sse4_2 +server debug doc kafka mongodb mysql static test tools zookeeper"
+RESTRICT="!test? ( test )"
KEYWORDS="~amd64"
REQUIRED_USE="
diff --git a/dev-db/clickhouse/clickhouse-19.13.1.11-r2.ebuild b/dev-db/clickhouse/clickhouse-19.13.1.11-r2.ebuild
index 799746e089b..4e0ea139c71 100644
--- a/dev-db/clickhouse/clickhouse-19.13.1.11-r2.ebuild
+++ b/dev-db/clickhouse/clickhouse-19.13.1.11-r2.ebuild
@@ -21,6 +21,7 @@ SRC_URI="https://github.com/yandex/${MY_PN}/archive/v${PV}-${TYPE}.zip -> ${P}.z
SLOT="0/${TYPE}"
IUSE="+client cpu_flags_x86_sse4_2 +server debug doc kafka mongodb mysql static test tools"
+RESTRICT="!test? ( test )"
KEYWORDS="~amd64"
REQUIRED_USE="
diff --git a/dev-db/clickhouse/clickhouse-19.13.1.11-r3.ebuild b/dev-db/clickhouse/clickhouse-19.13.1.11-r3.ebuild
index 6525cf8d8cf..dd1a6eead24 100644
--- a/dev-db/clickhouse/clickhouse-19.13.1.11-r3.ebuild
+++ b/dev-db/clickhouse/clickhouse-19.13.1.11-r3.ebuild
@@ -21,6 +21,7 @@ SRC_URI="https://github.com/yandex/${MY_PN}/archive/v${PV}-${TYPE}.zip -> ${P}.z
SLOT="0/${TYPE}"
IUSE="+client cpu_flags_x86_sse4_2 +server debug doc kafka mongodb mysql static test tools"
+RESTRICT="!test? ( test )"
KEYWORDS="~amd64"
REQUIRED_USE="
diff --git a/dev-db/clickhouse/clickhouse-19.15.2.2.ebuild b/dev-db/clickhouse/clickhouse-19.15.2.2.ebuild
index 47fed41d0c7..c93c0264066 100644
--- a/dev-db/clickhouse/clickhouse-19.15.2.2.ebuild
+++ b/dev-db/clickhouse/clickhouse-19.15.2.2.ebuild
@@ -21,6 +21,7 @@ SRC_URI="https://github.com/yandex/${MY_PN}/archive/v${PV}-${TYPE}.zip -> ${P}.z
SLOT="0/${TYPE}"
IUSE="+client cpu_flags_x86_sse4_2 +server debug doc kafka mongodb mysql static test tools"
+RESTRICT="!test? ( test )"
KEYWORDS="~amd64"
REQUIRED_USE="
diff --git a/dev-db/clickhouse/clickhouse-19.5.3.8-r1.ebuild b/dev-db/clickhouse/clickhouse-19.5.3.8-r1.ebuild
index 7892e4667f5..3e511dc357c 100644
--- a/dev-db/clickhouse/clickhouse-19.5.3.8-r1.ebuild
+++ b/dev-db/clickhouse/clickhouse-19.5.3.8-r1.ebuild
@@ -21,6 +21,7 @@ SRC_URI="https://github.com/yandex/${MY_PN}/archive/v${PV}-${TYPE}.zip -> ${P}.z
SLOT="0/${TYPE}"
IUSE="+client cpu_flags_x86_sse4_2 +server debug doc kafka mongodb mysql static test tools"
+RESTRICT="!test? ( test )"
KEYWORDS="~amd64"
REQUIRED_USE="
diff --git a/dev-db/clickhouse/clickhouse-19.9.5.36-r1.ebuild b/dev-db/clickhouse/clickhouse-19.9.5.36-r1.ebuild
index 7892e4667f5..3e511dc357c 100644
--- a/dev-db/clickhouse/clickhouse-19.9.5.36-r1.ebuild
+++ b/dev-db/clickhouse/clickhouse-19.9.5.36-r1.ebuild
@@ -21,6 +21,7 @@ SRC_URI="https://github.com/yandex/${MY_PN}/archive/v${PV}-${TYPE}.zip -> ${P}.z
SLOT="0/${TYPE}"
IUSE="+client cpu_flags_x86_sse4_2 +server debug doc kafka mongodb mysql static test tools"
+RESTRICT="!test? ( test )"
KEYWORDS="~amd64"
REQUIRED_USE="
diff --git a/dev-db/mariadb-connector-c/mariadb-connector-c-3.0.6-r1.ebuild b/dev-db/mariadb-connector-c/mariadb-connector-c-3.0.6-r1.ebuild
index f2f106102fe..c4997d7b954 100644
--- a/dev-db/mariadb-connector-c/mariadb-connector-c-3.0.6-r1.ebuild
+++ b/dev-db/mariadb-connector-c/mariadb-connector-c-3.0.6-r1.ebuild
@@ -29,6 +29,7 @@ LICENSE="LGPL-2.1"
SLOT="0/3"
IUSE="+curl gnutls kerberos libressl mysqlcompat +ssl static-libs test"
+RESTRICT="!test? ( test )"
DEPEND="sys-libs/zlib:=[${MULTILIB_USEDEP}]
virtual/libiconv:=[${MULTILIB_USEDEP}]
diff --git a/dev-db/mongodb/mongodb-3.6.13.ebuild b/dev-db/mongodb/mongodb-3.6.13.ebuild
index 4fb9536e58f..88e6596fe83 100644
--- a/dev-db/mongodb/mongodb-3.6.13.ebuild
+++ b/dev-db/mongodb/mongodb-3.6.13.ebuild
@@ -22,6 +22,7 @@ LICENSE="Apache-2.0 SSPL-1"
SLOT="0"
KEYWORDS="amd64"
IUSE="debug kerberos libressl lto mms-agent ssl test +tools"
+RESTRICT="!test? ( test )"
RDEPEND=">=app-arch/snappy-1.1.3
>=dev-cpp/yaml-cpp-0.5.3:=
diff --git a/dev-db/mongodb/mongodb-3.6.14.ebuild b/dev-db/mongodb/mongodb-3.6.14.ebuild
index b63d5ceeb56..346c4039a33 100644
--- a/dev-db/mongodb/mongodb-3.6.14.ebuild
+++ b/dev-db/mongodb/mongodb-3.6.14.ebuild
@@ -22,6 +22,7 @@ LICENSE="Apache-2.0 SSPL-1"
SLOT="0"
KEYWORDS="~amd64"
IUSE="debug kerberos libressl lto mms-agent ssl test +tools"
+RESTRICT="!test? ( test )"
RDEPEND="acct-group/mongodb
acct-user/mongodb
diff --git a/dev-db/mongodb/mongodb-3.6.8.ebuild b/dev-db/mongodb/mongodb-3.6.8.ebuild
index 3f1b10dc84f..e2c2033998d 100644
--- a/dev-db/mongodb/mongodb-3.6.8.ebuild
+++ b/dev-db/mongodb/mongodb-3.6.8.ebuild
@@ -22,6 +22,7 @@ LICENSE="AGPL-3 Apache-2.0"
SLOT="0"
KEYWORDS="amd64"
IUSE="debug kerberos libressl mms-agent ssl test +tools"
+RESTRICT="!test? ( test )"
RDEPEND=">=app-arch/snappy-1.1.3
>=dev-cpp/yaml-cpp-0.5.3:=
diff --git a/dev-db/mongodb/mongodb-4.0.10.ebuild b/dev-db/mongodb/mongodb-4.0.10.ebuild
index ad10fd71e28..5a035ec2344 100644
--- a/dev-db/mongodb/mongodb-4.0.10.ebuild
+++ b/dev-db/mongodb/mongodb-4.0.10.ebuild
@@ -22,6 +22,7 @@ LICENSE="Apache-2.0 SSPL-1"
SLOT="0"
KEYWORDS="amd64"
IUSE="debug kerberos libressl lto mms-agent ssl test +tools"
+RESTRICT="!test? ( test )"
RDEPEND=">=app-arch/snappy-1.1.3
>=dev-cpp/yaml-cpp-0.5.3:=
diff --git a/dev-db/mongodb/mongodb-4.0.12.ebuild b/dev-db/mongodb/mongodb-4.0.12.ebuild
index 2792ff470fe..1aac4e77094 100644
--- a/dev-db/mongodb/mongodb-4.0.12.ebuild
+++ b/dev-db/mongodb/mongodb-4.0.12.ebuild
@@ -22,6 +22,7 @@ LICENSE="Apache-2.0 SSPL-1"
SLOT="0"
KEYWORDS="amd64"
IUSE="debug kerberos libressl lto mms-agent ssl test +tools"
+RESTRICT="!test? ( test )"
RDEPEND=">=app-arch/snappy-1.1.3
>=dev-cpp/yaml-cpp-0.5.3:=
diff --git a/dev-db/mongodb/mongodb-4.0.13.ebuild b/dev-db/mongodb/mongodb-4.0.13.ebuild
index 74236bf4fa1..ef4bca699aa 100644
--- a/dev-db/mongodb/mongodb-4.0.13.ebuild
+++ b/dev-db/mongodb/mongodb-4.0.13.ebuild
@@ -22,6 +22,7 @@ LICENSE="Apache-2.0 SSPL-1"
SLOT="0"
KEYWORDS="~amd64"
IUSE="debug kerberos libressl lto mms-agent ssl test +tools"
+RESTRICT="!test? ( test )"
RDEPEND="acct-group/mongodb
acct-user/mongodb
diff --git a/dev-db/mongodb/mongodb-4.2.0-r2.ebuild b/dev-db/mongodb/mongodb-4.2.0-r2.ebuild
index 23f844c5069..bbb765a7566 100644
--- a/dev-db/mongodb/mongodb-4.2.0-r2.ebuild
+++ b/dev-db/mongodb/mongodb-4.2.0-r2.ebuild
@@ -22,6 +22,7 @@ LICENSE="Apache-2.0 SSPL-1"
SLOT="0"
KEYWORDS="~amd64"
IUSE="debug kerberos libressl lto ssl test +tools"
+RESTRICT="!test? ( test )"
RDEPEND=">=app-arch/snappy-1.1.3
>=dev-cpp/yaml-cpp-0.6.2:=
diff --git a/dev-db/mongodb/mongodb-4.2.1.ebuild b/dev-db/mongodb/mongodb-4.2.1.ebuild
index 6e7959885f0..42fec306370 100644
--- a/dev-db/mongodb/mongodb-4.2.1.ebuild
+++ b/dev-db/mongodb/mongodb-4.2.1.ebuild
@@ -22,6 +22,7 @@ LICENSE="Apache-2.0 SSPL-1"
SLOT="0"
KEYWORDS="~amd64"
IUSE="debug kerberos libressl lto ssl test +tools"
+RESTRICT="!test? ( test )"
RDEPEND="acct-group/mongodb
acct-user/mongodb
diff --git a/dev-db/mycli/mycli-1.19.0.ebuild b/dev-db/mycli/mycli-1.19.0.ebuild
index d69737494d3..98875cc6172 100644
--- a/dev-db/mycli/mycli-1.19.0.ebuild
+++ b/dev-db/mycli/mycli-1.19.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="ssh test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/cli_helpers-1.0.1[${PYTHON_USEDEP}]
>=dev-python/click-4.1[${PYTHON_USEDEP}]
diff --git a/dev-db/mycli/mycli-1.20.1.ebuild b/dev-db/mycli/mycli-1.20.1.ebuild
index 8416d80d359..5d9f47d0778 100644
--- a/dev-db/mycli/mycli-1.20.1.ebuild
+++ b/dev-db/mycli/mycli-1.20.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="ssh test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/cli_helpers-1.1.0[${PYTHON_USEDEP}]
>=dev-python/click-7.0[${PYTHON_USEDEP}]
diff --git a/dev-db/mycli/mycli-9999.ebuild b/dev-db/mycli/mycli-9999.ebuild
index e159c1e0e5b..70af20e6a86 100644
--- a/dev-db/mycli/mycli-9999.ebuild
+++ b/dev-db/mycli/mycli-9999.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD MIT"
SLOT="0"
KEYWORDS=""
IUSE="ssh test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/cli_helpers-1.1.0[${PYTHON_USEDEP}]
>=dev-python/click-7.0[${PYTHON_USEDEP}]
diff --git a/dev-db/pgxnclient/pgxnclient-1.2-r1.ebuild b/dev-db/pgxnclient/pgxnclient-1.2-r1.ebuild
index 77102652e49..679315dda91 100644
--- a/dev-db/pgxnclient/pgxnclient-1.2-r1.ebuild
+++ b/dev-db/pgxnclient/pgxnclient-1.2-r1.ebuild
@@ -15,6 +15,7 @@ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86
LICENSE="BSD"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-db/postgresql-9.1[server]"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
diff --git a/dev-db/pgxnclient/pgxnclient-1.2.1.ebuild b/dev-db/pgxnclient/pgxnclient-1.2.1.ebuild
index b5aa655a650..00235521e84 100644
--- a/dev-db/pgxnclient/pgxnclient-1.2.1.ebuild
+++ b/dev-db/pgxnclient/pgxnclient-1.2.1.ebuild
@@ -15,6 +15,7 @@ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86
LICENSE="BSD"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-db/postgresql-9.1[server]"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
diff --git a/dev-db/redis/redis-4.0.10.ebuild b/dev-db/redis/redis-4.0.10.ebuild
index 0062f6313eb..be27d0c369e 100644
--- a/dev-db/redis/redis-4.0.10.ebuild
+++ b/dev-db/redis/redis-4.0.10.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -12,6 +12,7 @@ SRC_URI="http://download.redis.io/releases/${P}.tar.gz"
LICENSE="BSD"
KEYWORDS="amd64 arm arm64 ~hppa ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris"
IUSE="+jemalloc tcmalloc luajit test"
+RESTRICT="!test? ( test )"
SLOT="0"
# Redis does NOT build with Lua 5.2 or newer at this time.
diff --git a/dev-db/redis/redis-4.0.11.ebuild b/dev-db/redis/redis-4.0.11.ebuild
index a8d59c405e6..ee922018685 100644
--- a/dev-db/redis/redis-4.0.11.ebuild
+++ b/dev-db/redis/redis-4.0.11.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -12,6 +12,7 @@ SRC_URI="http://download.redis.io/releases/${P}.tar.gz"
LICENSE="BSD"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris"
IUSE="+jemalloc tcmalloc luajit test"
+RESTRICT="!test? ( test )"
SLOT="0"
# Redis does NOT build with Lua 5.2 or newer at this time.
diff --git a/dev-db/redis/redis-4.0.12.ebuild b/dev-db/redis/redis-4.0.12.ebuild
index 596754bc3a0..ee922018685 100644
--- a/dev-db/redis/redis-4.0.12.ebuild
+++ b/dev-db/redis/redis-4.0.12.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -12,6 +12,7 @@ SRC_URI="http://download.redis.io/releases/${P}.tar.gz"
LICENSE="BSD"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris"
IUSE="+jemalloc tcmalloc luajit test"
+RESTRICT="!test? ( test )"
SLOT="0"
# Redis does NOT build with Lua 5.2 or newer at this time.
diff --git a/dev-db/redis/redis-4.0.13.ebuild b/dev-db/redis/redis-4.0.13.ebuild
index a1d588da3ae..ee922018685 100644
--- a/dev-db/redis/redis-4.0.13.ebuild
+++ b/dev-db/redis/redis-4.0.13.ebuild
@@ -12,6 +12,7 @@ SRC_URI="http://download.redis.io/releases/${P}.tar.gz"
LICENSE="BSD"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris"
IUSE="+jemalloc tcmalloc luajit test"
+RESTRICT="!test? ( test )"
SLOT="0"
# Redis does NOT build with Lua 5.2 or newer at this time.
diff --git a/dev-db/redis/redis-4.0.14.ebuild b/dev-db/redis/redis-4.0.14.ebuild
index cc327916f83..5ca8d4bae3d 100644
--- a/dev-db/redis/redis-4.0.14.ebuild
+++ b/dev-db/redis/redis-4.0.14.ebuild
@@ -12,6 +12,7 @@ SRC_URI="http://download.redis.io/releases/${P}.tar.gz"
LICENSE="BSD"
KEYWORDS="amd64 arm arm64 hppa ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris"
IUSE="+jemalloc tcmalloc luajit test"
+RESTRICT="!test? ( test )"
SLOT="0"
# Redis does NOT build with Lua 5.2 or newer at this time.
diff --git a/dev-db/redis/redis-4.0.2-r1.ebuild b/dev-db/redis/redis-4.0.2-r1.ebuild
index dd90a7deb36..510cd9b08c0 100644
--- a/dev-db/redis/redis-4.0.2-r1.ebuild
+++ b/dev-db/redis/redis-4.0.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -12,6 +12,7 @@ SRC_URI="http://download.redis.io/releases/${P}.tar.gz"
LICENSE="BSD"
KEYWORDS="amd64 arm arm64 hppa ppc ppc64 x86 ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris"
IUSE="+jemalloc tcmalloc luajit test"
+RESTRICT="!test? ( test )"
SLOT="0"
# Redis does NOT build with Lua 5.2 or newer at this time.
diff --git a/dev-db/redis/redis-5.0.3.ebuild b/dev-db/redis/redis-5.0.3.ebuild
index c584f33c21f..c40f7c3c47c 100644
--- a/dev-db/redis/redis-5.0.3.ebuild
+++ b/dev-db/redis/redis-5.0.3.ebuild
@@ -12,6 +12,7 @@ SRC_URI="http://download.redis.io/releases/${P}.tar.gz"
LICENSE="BSD"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris"
IUSE="+jemalloc tcmalloc luajit test"
+RESTRICT="!test? ( test )"
SLOT="0"
# Redis does NOT build with Lua 5.2 or newer at this time.
diff --git a/dev-db/redis/redis-5.0.4.ebuild b/dev-db/redis/redis-5.0.4.ebuild
index 07c6466e9a1..1b0f17be18b 100644
--- a/dev-db/redis/redis-5.0.4.ebuild
+++ b/dev-db/redis/redis-5.0.4.ebuild
@@ -12,6 +12,7 @@ SRC_URI="http://download.redis.io/releases/${P}.tar.gz"
LICENSE="BSD"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris"
IUSE="+jemalloc tcmalloc luajit test"
+RESTRICT="!test? ( test )"
SLOT="0"
# Redis does NOT build with Lua 5.2 or newer at this time.
diff --git a/dev-db/redis/redis-5.0.5.ebuild b/dev-db/redis/redis-5.0.5.ebuild
index 07c6466e9a1..1b0f17be18b 100644
--- a/dev-db/redis/redis-5.0.5.ebuild
+++ b/dev-db/redis/redis-5.0.5.ebuild
@@ -12,6 +12,7 @@ SRC_URI="http://download.redis.io/releases/${P}.tar.gz"
LICENSE="BSD"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris"
IUSE="+jemalloc tcmalloc luajit test"
+RESTRICT="!test? ( test )"
SLOT="0"
# Redis does NOT build with Lua 5.2 or newer at this time.
diff --git a/dev-db/sadisplay/sadisplay-0.4.8.ebuild b/dev-db/sadisplay/sadisplay-0.4.8.ebuild
index 01dee7c70cd..3802c282403 100644
--- a/dev-db/sadisplay/sadisplay-0.4.8.ebuild
+++ b/dev-db/sadisplay/sadisplay-0.4.8.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/sqlalchemy[${PYTHON_USEDEP}]"
DEPEND="
diff --git a/dev-db/spatialite/spatialite-4.3.0-r1.ebuild b/dev-db/spatialite/spatialite-4.3.0-r1.ebuild
index cc5f1d7760a..fc885a9624f 100644
--- a/dev-db/spatialite/spatialite-4.3.0-r1.ebuild
+++ b/dev-db/spatialite/spatialite-4.3.0-r1.ebuild
@@ -14,6 +14,7 @@ LICENSE="MPL-1.1"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 x86"
IUSE="+geos iconv +proj test +xls +xml"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-db/sqlite-3.7.5:3[extensions(+)]
diff --git a/dev-db/spatialite/spatialite-4.3.0a.ebuild b/dev-db/spatialite/spatialite-4.3.0a.ebuild
index 3fb9d3d53dd..ccd7a6e0770 100644
--- a/dev-db/spatialite/spatialite-4.3.0a.ebuild
+++ b/dev-db/spatialite/spatialite-4.3.0a.ebuild
@@ -16,6 +16,7 @@ LICENSE="MPL-1.1"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 x86"
IUSE="+geos iconv +proj test +xls +xml"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-db/sqlite-3.7.5:3[extensions(+)]
diff --git a/dev-db/sqlcipher/sqlcipher-3.4.2.ebuild b/dev-db/sqlcipher/sqlcipher-3.4.2.ebuild
index 8591e1693bc..490e59bef3e 100644
--- a/dev-db/sqlcipher/sqlcipher-3.4.2.ebuild
+++ b/dev-db/sqlcipher/sqlcipher-3.4.2.ebuild
@@ -14,6 +14,7 @@ SLOT="0"
KEYWORDS="amd64 x86"
IUSE="libedit readline libressl static-libs tcl test"
+RESTRICT="!test? ( test )"
# Tcl is always needed by buildsystem
RDEPEND="
diff --git a/dev-db/sqlitebrowser/sqlitebrowser-3.11.1-r1.ebuild b/dev-db/sqlitebrowser/sqlitebrowser-3.11.1-r1.ebuild
index 937429c32f8..7816ece23a2 100644
--- a/dev-db/sqlitebrowser/sqlitebrowser-3.11.1-r1.ebuild
+++ b/dev-db/sqlitebrowser/sqlitebrowser-3.11.1-r1.ebuild
@@ -13,6 +13,7 @@ LICENSE="GPL-3 MPL-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
BDEPEND="
dev-qt/linguist-tools:5
diff --git a/dev-db/sqlitestudio/sqlitestudio-3.2.1-r1.ebuild b/dev-db/sqlitestudio/sqlitestudio-3.2.1-r1.ebuild
index f1b05ce7abe..eed8e84a6d1 100644
--- a/dev-db/sqlitestudio/sqlitestudio-3.2.1-r1.ebuild
+++ b/dev-db/sqlitestudio/sqlitestudio-3.2.1-r1.ebuild
@@ -15,6 +15,7 @@ KEYWORDS="~amd64 ~x86"
LICENSE="GPL-3"
SLOT="0"
IUSE="cli cups tcl test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="test? ( cli )"