[DHG_packages] 01/01: bytes: Disable doctests.

Joachim Breitner nomeata at moszumanska.debian.org
Wed May 4 07:44:36 UTC 2016


This is an automated email from the git hooks/post-receive script.

nomeata pushed a commit to annotated tag haskell-bytes_v0.15.1-2
in repository DHG_packages.

commit ce1c027bdfb4e286745052996f4f09a0503afb5f
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Wed May 4 09:42:39 2016 +0200

    bytes: Disable doctests.
---
 p/haskell-bytes/debian/changelog                |  6 ++++++
 p/haskell-bytes/debian/patches/fix-doctest.diff | 18 ------------------
 p/haskell-bytes/debian/patches/series           |  1 -
 p/haskell-bytes/debian/rules                    |  3 +++
 4 files changed, 9 insertions(+), 19 deletions(-)

diff --git a/p/haskell-bytes/debian/changelog b/p/haskell-bytes/debian/changelog
index 4ddc572..8b8d0bc 100644
--- a/p/haskell-bytes/debian/changelog
+++ b/p/haskell-bytes/debian/changelog
@@ -1,3 +1,9 @@
+haskell-bytes (0.15.1-2) unstable; urgency=medium
+
+  * Disable doctests.
+
+ -- Joachim Breitner <nomeata at debian.org>  Wed, 04 May 2016 09:42:23 +0200
+
 haskell-bytes (0.15.1-1) unstable; urgency=medium
 
   * New upstream release
diff --git a/p/haskell-bytes/debian/patches/fix-doctest.diff b/p/haskell-bytes/debian/patches/fix-doctest.diff
deleted file mode 100644
index dd7cc11..0000000
--- a/p/haskell-bytes/debian/patches/fix-doctest.diff
+++ /dev/null
@@ -1,18 +0,0 @@
---- a/tests/doctests.hsc
-+++ b/tests/doctests.hsc
-@@ -54,12 +54,12 @@
- main :: IO ()
- main = withUnicode $ getSources >>= \sources -> doctest $
-     "-isrc"
--  : "-idist/build/autogen"
-+  : "-idist-ghc/build/autogen"
-   : "-optP-include"
--  : "-optPdist/build/autogen/cabal_macros.h"
-+  : "-optPdist-ghc/build/autogen/cabal_macros.h"
-   : "-hide-all-packages"
-   : "-Iincludes"
--  : "dist/build/cbits/i2d.o"
-+  : "dist-ghc/build/cbits/i2d.o"
-   : map ("-package="++) (filter (not . ("bytes-" `isPrefixOf`)) deps) ++ sources
- 
- getSources :: IO [FilePath]
diff --git a/p/haskell-bytes/debian/patches/series b/p/haskell-bytes/debian/patches/series
deleted file mode 100644
index 5b2011a..0000000
--- a/p/haskell-bytes/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-fix-doctest.diff
diff --git a/p/haskell-bytes/debian/rules b/p/haskell-bytes/debian/rules
index 01f1aaf..90e7db3 100755
--- a/p/haskell-bytes/debian/rules
+++ b/p/haskell-bytes/debian/rules
@@ -2,5 +2,8 @@
 
 DEB_ENABLE_TESTS = yes
 
+# Fails on armel
+DEB_SETUP_GHC_CONFIGURE_ARGS += -f-test-doctests
+
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/hlibrary.mk

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/DHG_packages.git



More information about the Pkg-haskell-commits mailing list