[Pkg-haskell-commits] darcs: haskell-pandoc-citeproc: Patch and enable testsuite.

Clint Adams clint at debian.org
Thu Jan 2 00:21:08 UTC 2014


Thu Jan  2 00:21:03 UTC 2014  Clint Adams <clint at debian.org>
  * Patch and enable testsuite.

    M ./changelog +6
    M ./control +3
    A ./patches/
    A ./patches/series
    A ./patches/tweak-biblio2yaml-test
    M ./rules +2

Thu Jan  2 00:21:03 UTC 2014  Clint Adams <clint at debian.org>
  * Patch and enable testsuite.
diff -rN -u old-haskell-pandoc-citeproc/changelog new-haskell-pandoc-citeproc/changelog
--- old-haskell-pandoc-citeproc/changelog	2014-01-02 00:21:08.512018926 +0000
+++ new-haskell-pandoc-citeproc/changelog	2014-01-02 00:21:08.512018926 +0000
@@ -1,3 +1,9 @@
+haskell-pandoc-citeproc (0.2-2) UNRELEASED; urgency=medium
+
+  * Enable testsuite.
+
+ -- Clint Adams <clint at debian.org>  Wed, 01 Jan 2014 19:20:42 -0500
+
 haskell-pandoc-citeproc (0.2-1) unstable; urgency=medium
 
   * Initial release.
diff -rN -u old-haskell-pandoc-citeproc/control new-haskell-pandoc-citeproc/control
--- old-haskell-pandoc-citeproc/control	2014-01-02 00:21:08.512018926 +0000
+++ new-haskell-pandoc-citeproc/control	2014-01-02 00:21:08.512018926 +0000
@@ -36,6 +36,9 @@
   , libghc-vector-prof
   , libghc-yaml-dev
   , libghc-yaml-prof
+  , libghc-aeson-pretty-dev
+  , libghc-temporary-dev (>= 1.1)
+  , libghc-yaml-dev (>= 0.8)
 Build-Depends-Indep: ghc-doc
   , libghc-aeson-doc
   , libghc-hs-bibutils-doc
diff -rN -u old-haskell-pandoc-citeproc/patches/series new-haskell-pandoc-citeproc/patches/series
--- old-haskell-pandoc-citeproc/patches/series	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-pandoc-citeproc/patches/series	2014-01-02 00:21:08.516018926 +0000
@@ -0,0 +1 @@
+tweak-biblio2yaml-test
diff -rN -u old-haskell-pandoc-citeproc/patches/tweak-biblio2yaml-test new-haskell-pandoc-citeproc/patches/tweak-biblio2yaml-test
--- old-haskell-pandoc-citeproc/patches/tweak-biblio2yaml-test	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-pandoc-citeproc/patches/tweak-biblio2yaml-test	2014-01-02 00:21:08.516018926 +0000
@@ -0,0 +1,11 @@
+--- a/tests/test-pandoc-citeproc.hs
++++ b/tests/test-pandoc-citeproc.hs
+@@ -89,7 +89,7 @@
+   let expected = BL.unlines yamllines
+   (ec, result, errout) <- pipeProcess
+                      (Just [("LANG","en_US.UTF-8"),("HOME",".")])
+-                     "dist/build/biblio2yaml/biblio2yaml"
++                     "dist-ghc/build/biblio2yaml/biblio2yaml"
+                      ["-f", drop 1 $ takeExtension fp] bib
+   if ec == ExitSuccess
+      then do
diff -rN -u old-haskell-pandoc-citeproc/rules new-haskell-pandoc-citeproc/rules
--- old-haskell-pandoc-citeproc/rules	2014-01-02 00:21:08.512018926 +0000
+++ new-haskell-pandoc-citeproc/rules	2014-01-02 00:21:08.516018926 +0000
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
 
+DEB_ENABLE_TESTS = yes
+
 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