[Git][haskell-team/DHG_packages][master] trifecta: Disable doctests

Ilias Tsitsimpis gitlab at salsa.debian.org
Wed Jun 27 13:27:16 BST 2018


Ilias Tsitsimpis pushed to branch master at Debian Haskell Group / DHG_packages


Commits:
68df207f by Ilias Tsitsimpis at 2018-06-27T15:21:12+03:00
trifecta: Disable doctests

- - - - -


5 changed files:

- p/haskell-trifecta/debian/changelog
- + p/haskell-trifecta/debian/patches/disable-doctests
- p/haskell-trifecta/debian/patches/newer-deps
- p/haskell-trifecta/debian/patches/series
- p/haskell-trifecta/debian/rules


Changes:

=====================================
p/haskell-trifecta/debian/changelog
=====================================
--- a/p/haskell-trifecta/debian/changelog
+++ b/p/haskell-trifecta/debian/changelog
@@ -1,3 +1,9 @@
+haskell-trifecta (1.7.1.1-4) unstable; urgency=medium
+
+  * Disable doctests, fails on too many architectures
+
+ -- Ilias Tsitsimpis <iliastsi at debian.org>  Wed, 27 Jun 2018 14:54:35 +0300
+
 haskell-trifecta (1.7.1.1-3) unstable; urgency=medium
 
   [ Clint Adams ]


=====================================
p/haskell-trifecta/debian/patches/disable-doctests
=====================================
--- /dev/null
+++ b/p/haskell-trifecta/debian/patches/disable-doctests
@@ -0,0 +1,19 @@
+Description: Disable doctests
+  Doctests and Template Haskell are incompatible. The following ghc
+  bug seems related:
+    https://ghc.haskell.org/trac/ghc/ticket/8025
+  Re-enable doctests once this has been fixed.
+Author: Ilias Tsitsimpis <iliastsi at debian.org>
+
+Index: b/trifecta.cabal
+===================================================================
+--- a/trifecta.cabal
++++ b/trifecta.cabal
+@@ -89,6 +89,7 @@ library
+     build-depends: fail == 4.9.*
+ 
+ test-suite doctests
++  buildable: false
+   type:             exitcode-stdio-1.0
+   main-is:          doctests.hs
+   ghc-options:      -Wall -threaded


=====================================
p/haskell-trifecta/debian/patches/newer-deps
=====================================
--- a/p/haskell-trifecta/debian/patches/newer-deps
+++ b/p/haskell-trifecta/debian/patches/newer-deps
@@ -1,6 +1,8 @@
+Index: b/trifecta.cabal
+===================================================================
 --- a/trifecta.cabal
 +++ b/trifecta.cabal
-@@ -54,7 +54,7 @@
+@@ -54,7 +54,7 @@ library
  
    build-depends:
      ansi-wl-pprint       >= 0.6.6   && < 0.7,
@@ -9,7 +11,7 @@
      array                >= 0.3.0.2 && < 0.6,
      base                 >= 4.4     && < 5,
      blaze-builder        >= 0.3.0.1 && < 0.5,
-@@ -96,7 +96,7 @@
+@@ -96,7 +96,7 @@ test-suite doctests
    default-language: Haskell2010
    build-depends:
      base,


=====================================
p/haskell-trifecta/debian/patches/series
=====================================
--- a/p/haskell-trifecta/debian/patches/series
+++ b/p/haskell-trifecta/debian/patches/series
@@ -1 +1,2 @@
 newer-deps
+disable-doctests


=====================================
p/haskell-trifecta/debian/rules
=====================================
--- a/p/haskell-trifecta/debian/rules
+++ b/p/haskell-trifecta/debian/rules
@@ -1,11 +1,6 @@
 #!/usr/bin/make -f
 
-ifeq (armel,$(DEB_HOST_ARCH))
-	# doctests fail on armel due to #839840
-	DEB_ENABLE_TESTS = no
-else
-	DEB_ENABLE_TESTS = yes
-endif
+DEB_ENABLE_TESTS = yes
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/hlibrary.mk



View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/commit/68df207fc1cc6be265860de1e42e673f3a7570cf

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/commit/68df207fc1cc6be265860de1e42e673f3a7570cf
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20180627/0696acb8/attachment-0001.html>


More information about the Pkg-haskell-commits mailing list