[Pkg-haskell-commits] darcs: haskell-xml-conduit: TemplateHaskell is only used in the test suite, adjust debian/rules accordingly

Joachim Breitner mail at joachim-breitner.de
Tue Jun 16 11:10:13 UTC 2015


Tue Jun 16 11:07:06 UTC 2015  Joachim Breitner <mail at joachim-breitner.de>
  * TemplateHaskell is only used in the test suite, adjust debian/rules accordingly 

    M ./changelog +7
    M ./control -1
    M ./rules +4

Tue Jun 16 11:07:06 UTC 2015  Joachim Breitner <mail at joachim-breitner.de>
  * TemplateHaskell is only used in the test suite, adjust debian/rules accordingly 
diff -rN -u old-haskell-xml-conduit/changelog new-haskell-xml-conduit/changelog
--- old-haskell-xml-conduit/changelog	2015-06-16 11:10:13.036106019 +0000
+++ new-haskell-xml-conduit/changelog	2015-06-16 11:10:13.044106023 +0000
@@ -1,3 +1,10 @@
+haskell-xml-conduit (1.2.3.3-5) UNRELEASED; urgency=medium
+
+  * TemplateHaskell is only used in the test suite, adjust debian/rules
+    accordingly 
+
+ -- Joachim Breitner <nomeata at debian.org>  Tue, 16 Jun 2015 13:06:51 +0200
+
 haskell-xml-conduit (1.2.3.3-4) unstable; urgency=medium
 
   * Depend on ghc-ghci, as it uses Template Haskell
diff -rN -u old-haskell-xml-conduit/control new-haskell-xml-conduit/control
--- old-haskell-xml-conduit/control	2015-06-16 11:10:13.036106019 +0000
+++ new-haskell-xml-conduit/control	2015-06-16 11:10:13.040106021 +0000
@@ -7,7 +7,6 @@
   , cdbs
   , haskell-devscripts (>= 0.9)
   , ghc
-  , ghc-ghci
   , ghc-prof
   , libghc-attoparsec-dev (>= 0.10)
   , libghc-attoparsec-prof
diff -rN -u old-haskell-xml-conduit/rules new-haskell-xml-conduit/rules
--- old-haskell-xml-conduit/rules	2015-06-16 11:10:13.036106019 +0000
+++ new-haskell-xml-conduit/rules	2015-06-16 11:10:13.040106021 +0000
@@ -1,6 +1,10 @@
 #!/usr/bin/make -f
 
+ifeq (0,$(shell ghc --info | grep -q 'Have interpreter.*YES'; echo $$?))
 DEB_ENABLE_TESTS = yes
+else
+DEB_ENABLE_TESTS = no
+endif
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/hlibrary.mk




More information about the Pkg-haskell-commits mailing list