commit:     2b31a360115f388597bc606a73d32fa8642fb2dc
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 16 09:07:25 2017 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu Feb 16 10:21:59 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b31a360

dev-haskell/uuid-types: allow quickcheck-2.9

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-haskell/uuid-types/uuid-types-1.0.3.ebuild | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/dev-haskell/uuid-types/uuid-types-1.0.3.ebuild 
b/dev-haskell/uuid-types/uuid-types-1.0.3.ebuild
index caef74d63e..67a2fa8f07 100644
--- a/dev-haskell/uuid-types/uuid-types-1.0.3.ebuild
+++ b/dev-haskell/uuid-types/uuid-types-1.0.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -27,8 +27,15 @@ RDEPEND=">=dev-haskell/binary-0.4:=[profile?] 
<dev-haskell/binary-0.9:=[profile?
 DEPEND="${RDEPEND}
        >=dev-haskell/cabal-1.8
        test? ( >=dev-haskell/hunit-1.2 <dev-haskell/hunit-1.4
-               >=dev-haskell/quickcheck-2.4 <dev-haskell/quickcheck-2.9
+               >=dev-haskell/quickcheck-2.4
                >=dev-haskell/tasty-0.10 <dev-haskell/tasty-0.12
                >=dev-haskell/tasty-hunit-0.9 <dev-haskell/tasty-hunit-0.10
                >=dev-haskell/tasty-quickcheck-0.8 
<dev-haskell/tasty-quickcheck-0.9 )
 "
+
+src_prepare() {
+       default
+
+       cabal_chdeps \
+               'QuickCheck >=2.4 && < 2.9' 'QuickCheck >=2.4'
+}

Reply via email to