diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2016-05-15 10:07:15 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2016-05-15 10:26:17 +0100 |
commit | 8d996c95f3de3c15a5907631d41de2db0b1d179c (patch) | |
tree | f72da326360fc9fd4584e6b4b9951f147d7e4b92 /dev-games | |
parent | profiles/package.mask: mask sci-libs/torch for removal, bug #583068 (diff) | |
download | gentoo-8d996c95f3de3c15a5907631d41de2db0b1d179c.tar.gz gentoo-8d996c95f3de3c15a5907631d41de2db0b1d179c.tar.bz2 gentoo-8d996c95f3de3c15a5907631d41de2db0b1d179c.zip |
dev-games/goatee: tweak tests for ghc-7.10
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-games')
-rw-r--r-- | dev-games/goatee/files/goatee-0.3.0-ghc-7.10.patch | 14 | ||||
-rw-r--r-- | dev-games/goatee/goatee-0.3.0.ebuild | 9 |
2 files changed, 22 insertions, 1 deletions
diff --git a/dev-games/goatee/files/goatee-0.3.0-ghc-7.10.patch b/dev-games/goatee/files/goatee-0.3.0-ghc-7.10.patch new file mode 100644 index 000000000000..e2881220fec4 --- /dev/null +++ b/dev-games/goatee/files/goatee-0.3.0-ghc-7.10.patch @@ -0,0 +1,14 @@ +diff --git a/tests/Game/Goatee/CommonTest.hs b/tests/Game/Goatee/CommonTest.hs +index bf27662..33e4f24 100644 +--- a/tests/Game/Goatee/CommonTest.hs ++++ b/tests/Game/Goatee/CommonTest.hs +@@ -1 +1,2 @@ ++{-# LANGUAGE FlexibleContexts #-} + -- This file is part of Goatee. +diff --git a/tests/Game/Goatee/Lib/MonadTest.hs b/tests/Game/Goatee/Lib/MonadTest.hs +index c5b505f..bf10f4e 100644 +--- a/tests/Game/Goatee/Lib/MonadTest.hs ++++ b/tests/Game/Goatee/Lib/MonadTest.hs +@@ -1 +1,2 @@ ++{-# LANGUAGE FlexibleContexts #-} + -- This file is part of Goatee. diff --git a/dev-games/goatee/goatee-0.3.0.ebuild b/dev-games/goatee/goatee-0.3.0.ebuild index 00d0b9ca4d24..9d00fc1b4cb1 100644 --- a/dev-games/goatee/goatee-0.3.0.ebuild +++ b/dev-games/goatee/goatee-0.3.0.ebuild @@ -24,5 +24,12 @@ RDEPEND=">=dev-haskell/mtl-2.1:=[profile?] <dev-haskell/mtl-2.3:=[profile?] " DEPEND="${RDEPEND} >=dev-haskell/cabal-1.8 - test? ( >=dev-haskell/hunit-1.2 <dev-haskell/hunit-1.3 ) + test? ( >=dev-haskell/hunit-1.2 ) " + +src_prepare() { + epatch "${FILESDIR}"/${P}-ghc-7.10.patch + + cabal_chdeps \ + 'HUnit >= 1.2 && < 1.3' 'HUnit >= 1.2' +} |