[DHG_packages] 01/01: sandi: patch to not use tasty-th

Clint Adams clint at moszumanska.debian.org
Thu Jul 27 02:37:15 UTC 2017


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

clint pushed a commit to branch master
in repository DHG_packages.

commit 6676338af123c7a57b4b34a587ab1cbcb73f46c5
Author: Clint Adams <clint at debian.org>
Date:   Wed Jul 26 22:35:12 2017 -0400

    sandi: patch to not use tasty-th
---
 p/haskell-sandi/debian/changelog           |   8 +-
 p/haskell-sandi/debian/control             |   9 +-
 p/haskell-sandi/debian/patches/no-tasty-th | 274 +++++++++++++++++++++++++++++
 p/haskell-sandi/debian/patches/series      |   1 +
 4 files changed, 285 insertions(+), 7 deletions(-)

diff --git a/p/haskell-sandi/debian/changelog b/p/haskell-sandi/debian/changelog
index 74eac38..7fe827c 100644
--- a/p/haskell-sandi/debian/changelog
+++ b/p/haskell-sandi/debian/changelog
@@ -1,8 +1,12 @@
-haskell-sandi (0.4.0-3) UNRELEASED; urgency=medium
+haskell-sandi (0.4.0-3) unstable; urgency=medium
 
+  [ Joachim Breitner ]
   * Remove Joey Hess from Uploaders
 
- -- Joachim Breitner <nomeata at debian.org>  Sat, 22 Jul 2017 15:48:14 -0400
+  [ Clint Adams ]
+  * Patch to not use tasty-th.
+
+ -- Clint Adams <clint at debian.org>  Wed, 26 Jul 2017 22:33:49 -0400
 
 haskell-sandi (0.4.0-2) unstable; urgency=medium
 
diff --git a/p/haskell-sandi/debian/control b/p/haskell-sandi/debian/control
index 05239fa..2d6a66b 100644
--- a/p/haskell-sandi/debian/control
+++ b/p/haskell-sandi/debian/control
@@ -20,16 +20,15 @@ Build-Depends:
  libghc-stringsearch-dev (<< 0.4),
  libghc-stringsearch-dev (>= 0.3),
  libghc-stringsearch-prof,
- libghc-tasty-dev,
- libghc-tasty-hunit-dev,
- libghc-tasty-quickcheck-dev,
- libghc-tasty-th-dev,
+ libghc-tasty-dev <!nocheck>,
+ libghc-tasty-hunit-dev <!nocheck>,
+ libghc-tasty-quickcheck-dev <!nocheck>,
 Build-Depends-Indep:
  ghc-doc,
  libghc-conduit-doc,
  libghc-exceptions-doc,
  libghc-stringsearch-doc,
-Standards-Version: 3.9.8
+Standards-Version: 4.0.0
 Homepage: http://hackage.haskell.org/package/sandi
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-haskell/DHG_packages.git/tree/p/haskell-sandi
 Vcs-Git: https://anonscm.debian.org/cgit/pkg-haskell/DHG_packages.git
diff --git a/p/haskell-sandi/debian/patches/no-tasty-th b/p/haskell-sandi/debian/patches/no-tasty-th
new file mode 100644
index 0000000..00f6bb1
--- /dev/null
+++ b/p/haskell-sandi/debian/patches/no-tasty-th
@@ -0,0 +1,274 @@
+--- a/sandi.cabal
++++ b/sandi.cabal
+@@ -71,8 +71,7 @@
+         HUnit,
+         tasty,
+         tasty-hunit,
+-        tasty-quickcheck,
+-        tasty-th
++        tasty-quickcheck
+     main-is: Main.hs
+     other-modules:
+         Codec.Binary.Base16Test
+--- a/test-src/Codec/Binary/Base16Test.hs
++++ b/test-src/Codec/Binary/Base16Test.hs
+@@ -1,4 +1,3 @@
+-{-# LANGUAGE TemplateHaskell #-}
+ -- Copyright: (c) Magnus Therning, 2013
+ -- License: BSD3, found in the LICENSE file
+ 
+@@ -12,7 +11,6 @@
+ import Data.Word (Word8)
+ 
+ import Test.Tasty
+-import Test.Tasty.TH
+ import Test.Tasty.HUnit
+ import Test.Tasty.QuickCheck
+ 
+@@ -45,4 +43,9 @@
+ prop_b16_encdec ws = BS.pack ws == fromRight (B16.decode $ B16.encode $ BS.pack ws)
+ 
+ tests :: TestTree
+-tests = $(testGroupGenerator)
++tests = testGroup
++      "Codec.Binary.Base16Test"
++      [testProperty "b16 encdec" prop_b16_encdec,
++       testCase "b16 enc foobar" case_b16_enc_foobar,
++       testCase "b16 dec foobar" case_b16_dec_foobar,
++       testCase "b16 dec failure" case_b16_dec_failure]
+--- a/test-src/Codec/Binary/Base32HexTest.hs
++++ b/test-src/Codec/Binary/Base32HexTest.hs
+@@ -1,4 +1,3 @@
+-{-# LANGUAGE TemplateHaskell #-}
+ -- Copyright: (c) Magnus Therning, 2013
+ -- License: BSD3, found in the LICENSE file
+ 
+@@ -12,7 +11,6 @@
+ import Data.Word (Word8)
+ 
+ import Test.Tasty
+-import Test.Tasty.TH
+ import Test.Tasty.HUnit
+ import Test.Tasty.QuickCheck
+ 
+@@ -49,4 +47,9 @@
+ prop_encdec ws = BS.pack ws == fromRight (B32H.decode $ B32H.encode $ BS.pack ws)
+ 
+ tests :: TestTree
+-tests = $(testGroupGenerator)
++tests = testGroup
++      "Codec.Binary.Base32HexTest"
++      [testProperty "encdec" prop_encdec,
++       testCase "enc foobar" case_enc_foobar,
++       testCase "dec foobar" case_dec_foobar,
++       testCase "dec failures" case_dec_failures]
+--- a/test-src/Codec/Binary/Base32Test.hs
++++ b/test-src/Codec/Binary/Base32Test.hs
+@@ -1,4 +1,3 @@
+-{-# LANGUAGE TemplateHaskell #-}
+ -- Copyright: (c) Magnus Therning, 2013
+ -- License: BSD3, found in the LICENSE file
+ 
+@@ -12,7 +11,6 @@
+ import Data.Word (Word8)
+ 
+ import Test.Tasty
+-import Test.Tasty.TH
+ import Test.Tasty.HUnit
+ import Test.Tasty.QuickCheck
+ 
+@@ -49,4 +47,9 @@
+ prop_encdec ws = BS.pack ws == fromRight (B32.decode $ B32.encode $ BS.pack ws)
+ 
+ tests :: TestTree
+-tests = $(testGroupGenerator)
++tests = testGroup
++      "Codec.Binary.Base32Test"
++      [testProperty "encdec" prop_encdec,
++       testCase "enc foobar" case_enc_foobar,
++       testCase "dec foobar" case_dec_foobar,
++       testCase "dec failures" case_dec_failures]
+--- a/test-src/Codec/Binary/Base64Test.hs
++++ b/test-src/Codec/Binary/Base64Test.hs
+@@ -1,4 +1,3 @@
+-{-# LANGUAGE TemplateHaskell #-}
+ -- Copyright: (c) Magnus Therning, 2013
+ -- License: BSD3, found in the LICENSE file
+ 
+@@ -12,7 +11,6 @@
+ import Data.Word (Word8)
+ 
+ import Test.Tasty
+-import Test.Tasty.TH
+ import Test.Tasty.HUnit
+ import Test.Tasty.QuickCheck
+ 
+@@ -50,4 +48,10 @@
+ prop_encdec ws = BS.pack ws == fromRight (B64.decode $ B64.encode $ BS.pack ws)
+ 
+ tests :: TestTree
+-tests = $(testGroupGenerator)
++tests = testGroup
++      "Codec.Binary.Base64Test"
++      [testProperty "encdec" prop_encdec,
++       testCase "enc foobar" case_enc_foobar,
++       testCase "enc specials" case_enc_specials,
++       testCase "dec foobar" case_dec_foobar,
++       testCase "dec specials" case_dec_specials]
+--- a/test-src/Codec/Binary/Base64UrlTest.hs
++++ b/test-src/Codec/Binary/Base64UrlTest.hs
+@@ -1,4 +1,3 @@
+-{-# LANGUAGE TemplateHaskell #-}
+ -- Copyright: (c) Magnus Therning, 2013
+ -- License: BSD3, found in the LICENSE file
+ 
+@@ -12,7 +11,6 @@
+ import Data.Word (Word8)
+ 
+ import Test.Tasty
+-import Test.Tasty.TH
+ import Test.Tasty.HUnit
+ import Test.Tasty.QuickCheck
+ 
+@@ -50,4 +48,10 @@
+ prop_encdec ws = BS.pack ws == fromRight (B64U.decode $ B64U.encode $ BS.pack ws)
+ 
+ tests :: TestTree
+-tests = $(testGroupGenerator)
++tests = testGroup
++      "Codec.Binary.Base64UrlTest"
++      [testProperty "encdec" prop_encdec,
++       testCase "enc foobar" case_enc_foobar,
++       testCase "enc specials" case_enc_specials,
++       testCase "dec foobar" case_dec_foobar,
++       testCase "dec specials" case_dec_specials]
+--- a/test-src/Codec/Binary/Base85Test.hs
++++ b/test-src/Codec/Binary/Base85Test.hs
+@@ -1,4 +1,3 @@
+-{-# LANGUAGE TemplateHaskell #-}
+ -- Copyright: (c) Magnus Therning, 2013
+ -- License: BSD3, found in the LICENSE file
+ 
+@@ -12,7 +11,6 @@
+ import Data.Word (Word8)
+ 
+ import Test.Tasty
+-import Test.Tasty.TH
+ import Test.Tasty.HUnit
+ import Test.Tasty.QuickCheck
+ 
+@@ -59,4 +57,10 @@
+ prop_encdec ws = BS.pack ws == fromRight (B85.decode $ B85.encode $ BS.pack ws)
+ 
+ tests :: TestTree
+-tests = $(testGroupGenerator)
++tests = testGroup
++      "Codec.Binary.Base85Test"
++      [testProperty "encdec" prop_encdec,
++       testCase "enc foobar" case_enc_foobar,
++       testCase "enc specials" case_enc_specials,
++       testCase "dec foobar" case_dec_foobar,
++       testCase "dec specials" case_dec_specials]
+--- a/test-src/Codec/Binary/QuotedPrintableTest.hs
++++ b/test-src/Codec/Binary/QuotedPrintableTest.hs
+@@ -1,4 +1,3 @@
+-{-# LANGUAGE TemplateHaskell #-}
+ -- Copyright: (c) Magnus Therning, 2013-2015
+ -- License: BSD3, found in the LICENSE file
+ 
+@@ -12,7 +11,6 @@
+ import Data.Word (Word8)
+ 
+ import Test.Tasty
+-import Test.Tasty.TH
+ import Test.Tasty.HUnit
+ import Test.Tasty.QuickCheck
+ 
+@@ -48,4 +46,9 @@
+ prop_encdec ws = BS.pack ws == fromRight (QP.decode $ QP.encode $ BS.pack ws)
+ 
+ tests :: TestTree
+-tests = $(testGroupGenerator)
++tests = testGroup
++      "Codec.Binary.QuotedPrintableTest"
++      [testProperty "encdec" prop_encdec,
++       testCase "enc foobar" case_enc_foobar,
++       testCase "enc splitting" case_enc_splitting,
++       testCase "dec foobar" case_dec_foobar]
+--- a/test-src/Codec/Binary/UuTest.hs
++++ b/test-src/Codec/Binary/UuTest.hs
+@@ -1,4 +1,3 @@
+-{-# LANGUAGE TemplateHaskell #-}
+ -- Copyright: (c) Magnus Therning, 2013
+ -- License: BSD3, found in the LICENSE file
+ 
+@@ -12,7 +11,6 @@
+ import Data.Word (Word8)
+ 
+ import Test.Tasty
+-import Test.Tasty.TH
+ import Test.Tasty.HUnit
+ import Test.Tasty.QuickCheck
+ 
+@@ -40,4 +38,8 @@
+ prop_encdec ws = BS.pack ws == fromRight (Uu.decode $ Uu.encode $ BS.pack ws)
+ 
+ tests :: TestTree
+-tests = $(testGroupGenerator)
++tests = testGroup
++      "Codec.Binary.UuTest"
++      [testProperty "encdec" prop_encdec,
++       testCase "enc foobar" case_enc_foobar,
++       testCase "dec foobar" case_dec_foobar]
+--- a/test-src/Codec/Binary/XxTest.hs
++++ b/test-src/Codec/Binary/XxTest.hs
+@@ -1,4 +1,3 @@
+-{-# LANGUAGE TemplateHaskell #-}
+ -- Copyright: (c) Magnus Therning, 2013
+ -- License: BSD3, found in the LICENSE file
+ 
+@@ -12,7 +11,6 @@
+ import Data.Word (Word8)
+ 
+ import Test.Tasty
+-import Test.Tasty.TH
+ import Test.Tasty.HUnit
+ import Test.Tasty.QuickCheck
+ 
+@@ -40,4 +38,8 @@
+ prop_encdec ws = BS.pack ws == fromRight (Xx.decode $ Xx.encode $ BS.pack ws)
+ 
+ tests :: TestTree
+-tests = $(testGroupGenerator)
++tests = testGroup
++      "Codec.Binary.XxTest"
++      [testProperty "encdec" prop_encdec,
++       testCase "enc foobar" case_enc_foobar,
++       testCase "dec foobar" case_dec_foobar]
+--- a/test-src/Codec/Binary/YencTest.hs
++++ b/test-src/Codec/Binary/YencTest.hs
+@@ -1,4 +1,3 @@
+-{-# LANGUAGE TemplateHaskell #-}
+ -- Copyright: (c) Magnus Therning, 2013
+ -- License: BSD3, found in the LICENSE file
+ 
+@@ -12,7 +11,6 @@
+ import Data.Word (Word8)
+ 
+ import Test.Tasty
+-import Test.Tasty.TH
+ import Test.Tasty.QuickCheck
+ import Test.Tasty.HUnit
+ 
+@@ -56,4 +54,10 @@
+ prop_encdec ws = BS.pack ws == fromRight (Y.decode $ Y.encode $ BS.pack ws)
+ 
+ tests :: TestTree
+-tests = $(testGroupGenerator)
++tests = testGroup
++      "Codec.Binary.YencTest"
++      [testProperty "encdec" prop_encdec,
++       testCase "enc foobar" case_enc_foobar,
++       testCase "enc specials" case_enc_specials,
++       testCase "dec foobar" case_dec_foobar,
++       testCase "dec specials" case_dec_specials]
diff --git a/p/haskell-sandi/debian/patches/series b/p/haskell-sandi/debian/patches/series
new file mode 100644
index 0000000..2174b5d
--- /dev/null
+++ b/p/haskell-sandi/debian/patches/series
@@ -0,0 +1 @@
+no-tasty-th

-- 
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