summaryrefslogtreecommitdiff
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-haskell
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-haskell')
-rw-r--r--dev-haskell/asn1-encoding/asn1-encoding-0.8.1.3.ebuild1
-rw-r--r--dev-haskell/base64-bytestring/base64-bytestring-0.1.1.3.ebuild1
-rw-r--r--dev-haskell/bio/bio-0.5.3-r2.ebuild1
-rw-r--r--dev-haskell/bytes/bytes-0.15.2.ebuild1
-rw-r--r--dev-haskell/cereal/cereal-0.4.1.1.ebuild1
-rw-r--r--dev-haskell/clientsession/clientsession-0.9.1.1.ebuild1
-rw-r--r--dev-haskell/comonad/comonad-4.0.ebuild1
-rw-r--r--dev-haskell/comonad/comonad-4.2.7.2.ebuild1
-rw-r--r--dev-haskell/comonad/comonad-5.ebuild1
-rw-r--r--dev-haskell/convertible/convertible-1.0.11.1.ebuild1
-rw-r--r--dev-haskell/dataenc/dataenc-0.14.0.7.ebuild1
-rw-r--r--dev-haskell/hashed-storage/hashed-storage-0.5.11.ebuild1
-rw-r--r--dev-haskell/hdbc/hdbc-2.3.1.2.ebuild1
-rw-r--r--dev-haskell/lens/lens-3.10.0.1.ebuild1
-rw-r--r--dev-haskell/lens/lens-3.9.2.ebuild1
-rw-r--r--dev-haskell/lens/lens-4.11.ebuild1
-rw-r--r--dev-haskell/lens/lens-4.14.ebuild1
-rw-r--r--dev-haskell/lens/lens-4.6.0.1.ebuild1
-rw-r--r--dev-haskell/pandoc-citeproc/pandoc-citeproc-0.3.1.ebuild1
-rw-r--r--dev-haskell/puremd5/puremd5-2.1.3.ebuild1
-rw-r--r--dev-haskell/scientific/scientific-0.3.3.8.ebuild1
-rw-r--r--dev-haskell/scientific/scientific-0.3.4.4.ebuild1
-rw-r--r--dev-haskell/scientific/scientific-0.3.4.6.ebuild1
-rw-r--r--dev-haskell/shakespeare-js/shakespeare-js-1.2.0.4.ebuild1
-rw-r--r--dev-haskell/shakespeare/shakespeare-1.2.1.1.ebuild1
-rw-r--r--dev-haskell/shakespeare/shakespeare-2.0.12.1.ebuild1
-rw-r--r--dev-haskell/shakespeare/shakespeare-2.0.7.ebuild1
-rw-r--r--dev-haskell/texmath/texmath-0.6.4.ebuild1
-rw-r--r--dev-haskell/texmath/texmath-0.6.6.3.ebuild1
-rw-r--r--dev-haskell/x509-store/x509-store-1.4.4.ebuild1
-rw-r--r--dev-haskell/x509-store/x509-store-1.5.0.ebuild1
31 files changed, 31 insertions, 0 deletions
diff --git a/dev-haskell/asn1-encoding/asn1-encoding-0.8.1.3.ebuild b/dev-haskell/asn1-encoding/asn1-encoding-0.8.1.3.ebuild
index 8b21ce56cf6d..5413f76530ea 100644
--- a/dev-haskell/asn1-encoding/asn1-encoding-0.8.1.3.ebuild
+++ b/dev-haskell/asn1-encoding/asn1-encoding-0.8.1.3.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-haskell/asn1-types-0.2.1:=[profile?] <dev-haskell/asn1-types-0.3:=[profile?]
dev-haskell/mtl:=[profile?]
diff --git a/dev-haskell/base64-bytestring/base64-bytestring-0.1.1.3.ebuild b/dev-haskell/base64-bytestring/base64-bytestring-0.1.1.3.ebuild
index 8ff4a4eb8808..d17395f1f928 100644
--- a/dev-haskell/base64-bytestring/base64-bytestring-0.1.1.3.ebuild
+++ b/dev-haskell/base64-bytestring/base64-bytestring-0.1.1.3.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-lang/ghc-6.10.1"
DEPEND="${RDEPEND}
diff --git a/dev-haskell/bio/bio-0.5.3-r2.ebuild b/dev-haskell/bio/bio-0.5.3-r2.ebuild
index 1293a6e6c51e..9d49efd38d86 100644
--- a/dev-haskell/bio/bio-0.5.3-r2.ebuild
+++ b/dev-haskell/bio/bio-0.5.3-r2.ebuild
@@ -16,6 +16,7 @@ LICENSE="LGPL-2.1"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="+examples test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-haskell/binary-0.4:=[profile?]
dev-haskell/mtl:=[profile?]
diff --git a/dev-haskell/bytes/bytes-0.15.2.ebuild b/dev-haskell/bytes/bytes-0.15.2.ebuild
index 54e863841f19..43080d606bbf 100644
--- a/dev-haskell/bytes/bytes-0.15.2.ebuild
+++ b/dev-haskell/bytes/bytes-0.15.2.ebuild
@@ -17,6 +17,7 @@ LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="+test-doctests"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-haskell/binary-0.5.1:=[profile?] <dev-haskell/binary-0.9:=[profile?]
>=dev-haskell/cereal-0.3.5:=[profile?] <dev-haskell/cereal-0.6:=[profile?]
diff --git a/dev-haskell/cereal/cereal-0.4.1.1.ebuild b/dev-haskell/cereal/cereal-0.4.1.1.ebuild
index 92a685f13ec2..6461da350f63 100644
--- a/dev-haskell/cereal/cereal-0.4.1.1.ebuild
+++ b/dev-haskell/cereal/cereal-0.4.1.1.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-lang/ghc-7.4.1:=
"
diff --git a/dev-haskell/clientsession/clientsession-0.9.1.1.ebuild b/dev-haskell/clientsession/clientsession-0.9.1.1.ebuild
index 397272f81c4e..eeee5b2fe72a 100644
--- a/dev-haskell/clientsession/clientsession-0.9.1.1.ebuild
+++ b/dev-haskell/clientsession/clientsession-0.9.1.1.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-haskell/base64-bytestring-0.1.1.1:=[profile?]
>=dev-haskell/cereal-0.3:=[profile?]
diff --git a/dev-haskell/comonad/comonad-4.0.ebuild b/dev-haskell/comonad/comonad-4.0.ebuild
index 700ca8942fcb..397c594bdd5a 100644
--- a/dev-haskell/comonad/comonad-4.0.ebuild
+++ b/dev-haskell/comonad/comonad-4.0.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="+test-doctests"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-haskell/contravariant-0.2.0.1:=[profile?] <dev-haskell/contravariant-1:=[profile?]
>=dev-haskell/distributive-0.2.2:=[profile?] <dev-haskell/distributive-1:=[profile?]
diff --git a/dev-haskell/comonad/comonad-4.2.7.2.ebuild b/dev-haskell/comonad/comonad-4.2.7.2.ebuild
index 6edd25124a50..fd9f2ce3ed98 100644
--- a/dev-haskell/comonad/comonad-4.2.7.2.ebuild
+++ b/dev-haskell/comonad/comonad-4.2.7.2.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="amd64 x86"
IUSE="+containers +contravariant +distributive +test-doctests"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-haskell/semigroups-0.8.3.1:=[profile?] <dev-haskell/semigroups-1:=[profile?]
>=dev-haskell/tagged-0.1:=[profile?] <dev-haskell/tagged-1:=[profile?]
diff --git a/dev-haskell/comonad/comonad-5.ebuild b/dev-haskell/comonad/comonad-5.ebuild
index c9c16cae68d3..9903125e4a29 100644
--- a/dev-haskell/comonad/comonad-5.ebuild
+++ b/dev-haskell/comonad/comonad-5.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="amd64 x86"
IUSE="+containers +contravariant +distributive +test-doctests"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-haskell/semigroups-0.8.3.1:=[profile?] <dev-haskell/semigroups-1:=[profile?]
>=dev-haskell/tagged-0.1:=[profile?] <dev-haskell/tagged-1:=[profile?]
diff --git a/dev-haskell/convertible/convertible-1.0.11.1.ebuild b/dev-haskell/convertible/convertible-1.0.11.1.ebuild
index 7d5542c25bb1..5c35140fd4d0 100644
--- a/dev-haskell/convertible/convertible-1.0.11.1.ebuild
+++ b/dev-haskell/convertible/convertible-1.0.11.1.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-haskell/mtl[profile?]
>=dev-haskell/text-0.7[profile?]
diff --git a/dev-haskell/dataenc/dataenc-0.14.0.7.ebuild b/dev-haskell/dataenc/dataenc-0.14.0.7.ebuild
index 0dd392d1dd9f..43b3d68e0bb5 100644
--- a/dev-haskell/dataenc/dataenc-0.14.0.7.ebuild
+++ b/dev-haskell/dataenc/dataenc-0.14.0.7.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x86-macos"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-lang/ghc-7.4.1:=
"
diff --git a/dev-haskell/hashed-storage/hashed-storage-0.5.11.ebuild b/dev-haskell/hashed-storage/hashed-storage-0.5.11.ebuild
index c8ca012d11f8..bc92121a9bd4 100644
--- a/dev-haskell/hashed-storage/hashed-storage-0.5.11.ebuild
+++ b/dev-haskell/hashed-storage/hashed-storage-0.5.11.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~amd64-linux ~ppc-macos ~x86-macos"
IUSE="diff hpc test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-haskell/binary:=[profile?]
dev-haskell/dataenc:=[profile?]
diff --git a/dev-haskell/hdbc/hdbc-2.3.1.2.ebuild b/dev-haskell/hdbc/hdbc-2.3.1.2.ebuild
index 21bf97f587fb..c346de331f61 100644
--- a/dev-haskell/hdbc/hdbc-2.3.1.2.ebuild
+++ b/dev-haskell/hdbc/hdbc-2.3.1.2.ebuild
@@ -19,6 +19,7 @@ LICENSE="BSD"
SLOT="2/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="mysql odbc postgres sqlite test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-haskell/convertible-1.0.10.0:=[profile?] <dev-haskell/convertible-1.1.0.0:=[profile?]
dev-haskell/mtl:=[profile?]
diff --git a/dev-haskell/lens/lens-3.10.0.1.ebuild b/dev-haskell/lens/lens-3.10.0.1.ebuild
index eef1125fc918..609f9849d663 100644
--- a/dev-haskell/lens/lens-3.10.0.1.ebuild
+++ b/dev-haskell/lens/lens-3.10.0.1.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="benchmark-uniplate dump-splices +inlining lib-werror old-inline-pragmas safe +test-doctests +test-hunit +test-properties +trustworthy"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-haskell/bifunctors-4:=[profile?] <dev-haskell/bifunctors-5:=[profile?]
>=dev-haskell/comonad-4:=[profile?] <dev-haskell/comonad-5:=[profile?]
diff --git a/dev-haskell/lens/lens-3.9.2.ebuild b/dev-haskell/lens/lens-3.9.2.ebuild
index 55dade3d7877..e94fe831a83e 100644
--- a/dev-haskell/lens/lens-3.9.2.ebuild
+++ b/dev-haskell/lens/lens-3.9.2.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="benchmark-uniplate dump-splices +inlining lib-werror old-inline-pragmas safe +test-doctests +test-hunit +test-properties +trustworthy"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-haskell/bifunctors-3:=[profile?] <dev-haskell/bifunctors-4:=[profile?]
>=dev-haskell/comonad-3:=[profile?] <dev-haskell/comonad-4:=[profile?]
diff --git a/dev-haskell/lens/lens-4.11.ebuild b/dev-haskell/lens/lens-4.11.ebuild
index 3b69a8486295..52018405253d 100644
--- a/dev-haskell/lens/lens-4.11.ebuild
+++ b/dev-haskell/lens/lens-4.11.ebuild
@@ -17,6 +17,7 @@ LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="amd64 x86"
IUSE="benchmark-uniplate dump-splices +inlining j old-inline-pragmas safe +test-doctests +test-hlint +test-hunit +test-properties +trustworthy"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-haskell/bifunctors-5:=[profile?] <dev-haskell/bifunctors-6:=[profile?]
>=dev-haskell/comonad-4:=[profile?] <dev-haskell/comonad-5:=[profile?]
diff --git a/dev-haskell/lens/lens-4.14.ebuild b/dev-haskell/lens/lens-4.14.ebuild
index 9fb4d2b39e88..5cd6d4e13869 100644
--- a/dev-haskell/lens/lens-4.14.ebuild
+++ b/dev-haskell/lens/lens-4.14.ebuild
@@ -17,6 +17,7 @@ LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="amd64 x86"
IUSE="benchmark-uniplate dump-splices +inlining j old-inline-pragmas safe +test-doctests +test-templates +trustworthy"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-haskell/base-orphans-0.3:=[profile?] <dev-haskell/base-orphans-1:=[profile?]
>=dev-haskell/bifunctors-5:=[profile?] <dev-haskell/bifunctors-6:=[profile?]
diff --git a/dev-haskell/lens/lens-4.6.0.1.ebuild b/dev-haskell/lens/lens-4.6.0.1.ebuild
index 7bb480c4d471..65c51397c391 100644
--- a/dev-haskell/lens/lens-4.6.0.1.ebuild
+++ b/dev-haskell/lens/lens-4.6.0.1.ebuild
@@ -17,6 +17,7 @@ LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="amd64 x86"
IUSE="benchmark-uniplate dump-splices +inlining j old-inline-pragmas safe +test-doctests +test-hlint +test-hunit +test-properties +trustworthy"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-haskell/bifunctors-4:=[profile?] <dev-haskell/bifunctors-5:=[profile?]
>=dev-haskell/comonad-4:=[profile?] <dev-haskell/comonad-5:=[profile?]
diff --git a/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.3.1.ebuild b/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.3.1.ebuild
index 79e03fac2798..2fcb5fe15b3b 100644
--- a/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.3.1.ebuild
+++ b/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.3.1.ebuild
@@ -17,6 +17,7 @@ LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="amd64 x86"
IUSE="+bibutils embed-data-files +hexpat +network test-citeproc unicode_collation"
+RESTRICT="!test? ( test )"
RDEPEND=">=app-text/pandoc-1.12.1:=[profile?]
dev-haskell/aeson:=[profile?]
diff --git a/dev-haskell/puremd5/puremd5-2.1.3.ebuild b/dev-haskell/puremd5/puremd5-2.1.3.ebuild
index ed5a5af0db57..e65be7248e8a 100644
--- a/dev-haskell/puremd5/puremd5-2.1.3.ebuild
+++ b/dev-haskell/puremd5/puremd5-2.1.3.ebuild
@@ -19,6 +19,7 @@ LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-haskell/binary-0.4.0:=[profile?]
>=dev-haskell/cereal-0.2:=[profile?]
diff --git a/dev-haskell/scientific/scientific-0.3.3.8.ebuild b/dev-haskell/scientific/scientific-0.3.3.8.ebuild
index 3b544c4e6cda..7b5860057005 100644
--- a/dev-haskell/scientific/scientific-0.3.3.8.ebuild
+++ b/dev-haskell/scientific/scientific-0.3.3.8.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="amd64 x86"
IUSE="+bytestring-builder"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-haskell/hashable-1.1.2:=[profile?] <dev-haskell/hashable-1.3:=[profile?]
>=dev-haskell/text-0.8:=[profile?] <dev-haskell/text-1.3:=[profile?]
diff --git a/dev-haskell/scientific/scientific-0.3.4.4.ebuild b/dev-haskell/scientific/scientific-0.3.4.4.ebuild
index 651786af93af..63d0143a8536 100644
--- a/dev-haskell/scientific/scientific-0.3.4.4.ebuild
+++ b/dev-haskell/scientific/scientific-0.3.4.4.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="+bytestring-builder"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-haskell/binary-0.4.1:=[profile?] <dev-haskell/binary-0.8:=[profile?]
>=dev-haskell/hashable-1.1.2:=[profile?] <dev-haskell/hashable-1.3:=[profile?]
diff --git a/dev-haskell/scientific/scientific-0.3.4.6.ebuild b/dev-haskell/scientific/scientific-0.3.4.6.ebuild
index fea0e594f622..e812a36edaf3 100644
--- a/dev-haskell/scientific/scientific-0.3.4.6.ebuild
+++ b/dev-haskell/scientific/scientific-0.3.4.6.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="+bytestring-builder"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-haskell/binary-0.4.1:=[profile?] <dev-haskell/binary-0.9:=[profile?]
>=dev-haskell/hashable-1.1.2:=[profile?] <dev-haskell/hashable-1.3:=[profile?]
diff --git a/dev-haskell/shakespeare-js/shakespeare-js-1.2.0.4.ebuild b/dev-haskell/shakespeare-js/shakespeare-js-1.2.0.4.ebuild
index 607354d5040c..09db3d7dc8f2 100644
--- a/dev-haskell/shakespeare-js/shakespeare-js-1.2.0.4.ebuild
+++ b/dev-haskell/shakespeare-js/shakespeare-js-1.2.0.4.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="test-coffee test-export test-roy"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-haskell/aeson-0.5:=[profile?]
>=dev-haskell/shakespeare-1.2:=[profile?] <dev-haskell/shakespeare-1.3:=[profile?]
diff --git a/dev-haskell/shakespeare/shakespeare-1.2.1.1.ebuild b/dev-haskell/shakespeare/shakespeare-1.2.1.1.ebuild
index a2f710a4e83b..03a6d544135d 100644
--- a/dev-haskell/shakespeare/shakespeare-1.2.1.1.ebuild
+++ b/dev-haskell/shakespeare/shakespeare-1.2.1.1.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="test-export"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-haskell/parsec-2:=[profile?] <dev-haskell/parsec-4:=[profile?]
>=dev-haskell/system-fileio-0.3:=[profile?]
diff --git a/dev-haskell/shakespeare/shakespeare-2.0.12.1.ebuild b/dev-haskell/shakespeare/shakespeare-2.0.12.1.ebuild
index 2e557a0bc710..d4caa18cff8f 100644
--- a/dev-haskell/shakespeare/shakespeare-2.0.12.1.ebuild
+++ b/dev-haskell/shakespeare/shakespeare-2.0.12.1.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="test-coffee test-export test-roy"
+RESTRICT="!test? ( test )"
RDEPEND="dev-haskell/aeson:=[profile?]
dev-haskell/blaze-html:=[profile?]
diff --git a/dev-haskell/shakespeare/shakespeare-2.0.7.ebuild b/dev-haskell/shakespeare/shakespeare-2.0.7.ebuild
index 06fc6879b383..f143a726ac13 100644
--- a/dev-haskell/shakespeare/shakespeare-2.0.7.ebuild
+++ b/dev-haskell/shakespeare/shakespeare-2.0.7.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="test-coffee test-export test-roy"
+RESTRICT="!test? ( test )"
RDEPEND="dev-haskell/aeson:=[profile?]
dev-haskell/blaze-html:=[profile?]
diff --git a/dev-haskell/texmath/texmath-0.6.4.ebuild b/dev-haskell/texmath/texmath-0.6.4.ebuild
index 5e474432804a..00ff3b3191be 100644
--- a/dev-haskell/texmath/texmath-0.6.4.ebuild
+++ b/dev-haskell/texmath/texmath-0.6.4.ebuild
@@ -16,6 +16,7 @@ LICENSE="GPL-2"
SLOT="0/${PV}"
KEYWORDS="amd64 x86"
IUSE="cgi test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-haskell/pandoc-types:=[profile?]
>=dev-haskell/parsec-3:=[profile?]
diff --git a/dev-haskell/texmath/texmath-0.6.6.3.ebuild b/dev-haskell/texmath/texmath-0.6.6.3.ebuild
index 5b94bc5332ed..309597d081f7 100644
--- a/dev-haskell/texmath/texmath-0.6.6.3.ebuild
+++ b/dev-haskell/texmath/texmath-0.6.6.3.ebuild
@@ -16,6 +16,7 @@ LICENSE="GPL-2"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="cgi test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-haskell/pandoc-types:=[profile?]
>=dev-haskell/parsec-3:=[profile?]
diff --git a/dev-haskell/x509-store/x509-store-1.4.4.ebuild b/dev-haskell/x509-store/x509-store-1.4.4.ebuild
index 34da476d758e..b7b75bc7daa4 100644
--- a/dev-haskell/x509-store/x509-store-1.4.4.ebuild
+++ b/dev-haskell/x509-store/x509-store-1.4.4.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="executable test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-haskell/asn1-encoding-0.8:=[profile?] <dev-haskell/asn1-encoding-0.9:=[profile?]
>=dev-haskell/asn1-types-0.2:=[profile?] <dev-haskell/asn1-types-0.3:=[profile?]
diff --git a/dev-haskell/x509-store/x509-store-1.5.0.ebuild b/dev-haskell/x509-store/x509-store-1.5.0.ebuild
index 32de1203393f..2800baae1629 100644
--- a/dev-haskell/x509-store/x509-store-1.5.0.ebuild
+++ b/dev-haskell/x509-store/x509-store-1.5.0.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="amd64 x86"
IUSE="executable test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-haskell/asn1-encoding-0.9:=[profile?] <dev-haskell/asn1-encoding-0.10:=[profile?]
>=dev-haskell/asn1-types-0.3:=[profile?] <dev-haskell/asn1-types-0.4:=[profile?]