[Pkg-haskell-commits] darcs: haskell-persistent-template: New upstream version 0.9.0.2.

Clint Adams clint at debian.org
Tue May 15 02:45:33 UTC 2012


Tue May 15 02:45:47 UTC 2012  Clint Adams <clint at debian.org>
  * New upstream version 0.9.0.2.
  Ignore-this: 120c8dabae9361217780af6a87297f78

    M ./changelog +6
    M ./control -2 +3
    R ./patches/series
    R ./patches/testsuite-fix.diff
    R ./patches/testsuite.diff

Tue May 15 02:45:47 UTC 2012  Clint Adams <clint at debian.org>
  * New upstream version 0.9.0.2.
  Ignore-this: 120c8dabae9361217780af6a87297f78
diff -rN -u old-haskell-persistent-template//changelog new-haskell-persistent-template//changelog
--- old-haskell-persistent-template//changelog	2012-05-15 02:45:33.826324878 +0000
+++ new-haskell-persistent-template//changelog	2012-05-15 02:45:33.830323834 +0000
@@ -1,3 +1,9 @@
+haskell-persistent-template (0.9.0.2-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Clint Adams <clint at debian.org>  Mon, 14 May 2012 22:43:14 -0400
+
 haskell-persistent-template (0.8.1.1-1) unstable; urgency=low
 
   * New upstream version.
diff -rN -u old-haskell-persistent-template//control new-haskell-persistent-template//control
--- old-haskell-persistent-template//control	2012-05-15 02:45:33.789845632 +0000
+++ new-haskell-persistent-template//control	2012-05-15 02:45:33.830323834 +0000
@@ -14,13 +14,14 @@
   , libghc-monad-control-dev (>> 0.2)
   , libghc-monad-control-dev (<< 0.4)
   , libghc-monad-control-prof
-  , libghc-persistent-dev (>> 0.8)
-  , libghc-persistent-dev (<< 0.9)
+  , libghc-persistent-dev (>> 0.9)
+  , libghc-persistent-dev (<< 0.10)
   , libghc-persistent-prof
   , libghc-text-dev (>> 0.5)
   , libghc-text-dev (<< 1.0)
   , libghc-text-prof
   , libghc-transformers-dev (>> 0.2)
+  , libghc-transformers-dev (<< 0.4)
   , libghc-transformers-prof
   , libghc-hspec-dev
   , libghc-hunit-dev
diff -rN -u old-haskell-persistent-template//patches/series new-haskell-persistent-template//patches/series
--- old-haskell-persistent-template//patches/series	2012-05-15 02:45:33.789845632 +0000
+++ new-haskell-persistent-template//patches/series	1970-01-01 00:00:00.000000000 +0000
@@ -1,2 +0,0 @@
-testsuite.diff
-testsuite-fix.diff
diff -rN -u old-haskell-persistent-template//patches/testsuite.diff new-haskell-persistent-template//patches/testsuite.diff
--- old-haskell-persistent-template//patches/testsuite.diff	2012-05-15 02:45:33.789845632 +0000
+++ new-haskell-persistent-template//patches/testsuite.diff	1970-01-01 00:00:00.000000000 +0000
@@ -1,51 +0,0 @@
---- /dev/null
-+++ b/test/main.hs
-@@ -0,0 +1,48 @@
-+{-# LANGUAGE OverloadedStrings, QuasiQuotes, TemplateHaskell, TypeFamilies, GADTs #-}
-+import Test.Hspec.Monadic
-+import Test.Hspec.QuickCheck
-+import Test.Hspec.HUnit()
-+import Test.HUnit
-+import Data.ByteString.Lazy.Char8 ()
-+import Test.QuickCheck.Arbitrary
-+import Control.Applicative ((<$>), (<*>))
-+
-+import Database.Persist
-+import Database.Persist.TH
-+import Data.Text (Text, pack)
-+import Data.Aeson
-+
-+mkPersist sqlSettings [persistUpperCase|
-+Person json
-+    name Text
-+    age Int Maybe
-+    address Address
-+Address json
-+    street Text
-+    city Text
-+    zip Int Maybe
-+NoJson
-+    foo Text
-+|]
-+
-+-- ensure no-json works
-+instance ToJSON (NoJsonGeneric b) where
-+    toJSON = undefined
-+instance FromJSON (NoJsonGeneric b) where
-+    parseJSON = undefined
-+
-+arbitraryT = pack <$> arbitrary
-+
-+instance Arbitrary (PersonGeneric b) where
-+    arbitrary = Person <$> arbitraryT <*> arbitrary <*> arbitrary
-+instance Arbitrary (AddressGeneric b) where
-+    arbitrary = Address <$> arbitraryT <*> arbitraryT <*> arbitrary
-+
-+main :: IO ()
-+main = hspecX $ do
-+    describe "JSON serialization" $ do
-+        prop "to/from is idempotent" $ \person ->
-+            decode (encode person) == Just (person :: Person)
-+        it "decode" $
-+            decode "{\"name\":\"Michael\",\"age\":27,\"address\":{\"street\":\"Narkis\",\"city\":\"Maalot\"}}" @?= Just
-+                (Person "Michael" (Just 27) $ Address "Narkis" "Maalot" Nothing)
diff -rN -u old-haskell-persistent-template//patches/testsuite-fix.diff new-haskell-persistent-template//patches/testsuite-fix.diff
--- old-haskell-persistent-template//patches/testsuite-fix.diff	2012-05-15 02:45:33.789845632 +0000
+++ new-haskell-persistent-template//patches/testsuite-fix.diff	1970-01-01 00:00:00.000000000 +0000
@@ -1,8 +0,0 @@
---- a/test/main.hs
-+++ b/test/main.hs
-@@ -1,4 +1,4 @@
--{-# LANGUAGE OverloadedStrings, QuasiQuotes, TemplateHaskell, TypeFamilies, GADTs #-}
-+{-# LANGUAGE OverloadedStrings, QuasiQuotes, TemplateHaskell, TypeFamilies, GADTs, EmptyDataDecls #-}
- import Test.Hspec.Monadic
- import Test.Hspec.QuickCheck
- import Test.Hspec.HUnit()





More information about the Pkg-haskell-commits mailing list