Permalink
Browse files

app-text/pandoc: disable faulty tests on ghc-7.6

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
  • Loading branch information...
1 parent a0e2538 commit 61df90aea9f85cd627c6d8dc9ebca768bb162c6c @trofi trofi committed Dec 7, 2012
@@ -0,0 +1,23 @@
+Fails on ghc-7.6 only as:
+
+--- tables.man
++++ ../dist/build/pandoc/pandoc --data-dir .. tables.native -r native -w man --columns=78
+- 141 cw(10.50n) lw(9.63n) rw(11.38n) lw(23.63n).
++ 141 cw(10.50n) lw(9.62n) rw(11.38n) lw(23.62n).
+- 177 cw(10.50n) lw(9.63n) rw(11.38n) lw(23.63n).
++ 177 cw(10.50n) lw(9.62n) rw(11.38n) lw(23.62n).
+- 247 cw(10.50n) lw(9.63n) rw(11.38n) lw(23.63n).
++ 247 cw(10.50n) lw(9.62n) rw(11.38n) lw(23.62n).
+diff --git a/tests/Tests/Old.hs b/tests/Tests/Old.hs
+index 67eb515..196fa45 100644
+--- a/tests/Tests/Old.hs
++++ b/tests/Tests/Old.hs
+@@ -109,7 +109,7 @@ tests = [ testGroup "markdown"
+ ]
+ , testGroup "other writers" $ map (\f -> testGroup f $ writerTests f)
+ [ "opendocument" , "context" , "texinfo"
+- , "man" , "plain" , "mediawiki", "rtf", "org", "asciidoc"
++ {- , "man" -} , "plain" , "mediawiki", "rtf", "org", "asciidoc"
+ ]
+ ]
+
@@ -7,7 +7,7 @@ EAPI=5
# ebuild generated by hackport 0.3.9999
CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite"
-inherit haskell-cabal
+inherit base haskell-cabal
DESCRIPTION="Conversion between markup formats"
HOMEPAGE="http://johnmacfarlane.net/pandoc"
@@ -67,6 +67,8 @@ DEPEND="${RDEPEND}
)
>=dev-haskell/cabal-1.10"
+PATCHES=("${FILESDIR}"/${P}-disable-writes-other-man.patch)
+
src_install() {
cabal_src_install

0 comments on commit 61df90a

Please sign in to comment.