Commit ee0ca32b authored by Ilias Tsitsimpis's avatar Ilias Tsitsimpis
Browse files

http-api-data: Patch for newer doctests

parent 4a88359d
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
haskell-http-api-data (0.3.8.1-4) unstable; urgency=medium

  * Apply upstream patch for newer doctest

 -- Ilias Tsitsimpis <iliastsi@debian.org>  Tue, 23 Oct 2018 13:42:41 +0300

haskell-http-api-data (0.3.8.1-3) unstable; urgency=medium

  * Drop build-dependency on doctest as we are patching the doctests
+4 −3
Original line number Diff line number Diff line
@@ -23,8 +23,6 @@ Build-Depends:
 libghc-http-types-dev (>= 0.8.6),
 libghc-http-types-dev (<< 0.13),
 libghc-http-types-prof,
 libghc-text-show-dev (>= 2),
 libghc-text-show-prof,
 libghc-time-locale-compat-dev (>= 0.1.1.0),
 libghc-time-locale-compat-dev (<< 0.2),
 libghc-time-locale-compat-prof,
@@ -39,6 +37,10 @@ Build-Depends:
 libghc-uuid-types-prof,
 libghc-hunit-dev <!nocheck>,
 libghc-quickcheck2-dev (>= 2.9) <!nocheck>,
 libghc-doctest-dev (>= 0.11) <!nocheck>,
 libghc-doctest-dev (<< 0.17) <!nocheck>,
 libghc-cabal-doctest-dev (>= 1.0.6) <!nocheck>,
 libghc-cabal-doctest-dev (<< 1.1) <!nocheck>,
 libghc-hspec-dev (>= 2.4.7) <!nocheck>,
 libghc-quickcheck-instances-dev (>= 0.3.12) <!nocheck>,
 libghc-unordered-containers-dev,
@@ -48,7 +50,6 @@ Build-Depends-Indep: ghc-doc,
 libghc-attoparsec-iso8601-doc,
 libghc-hashable-doc,
 libghc-http-types-doc,
 libghc-text-show-doc,
 libghc-time-locale-compat-doc,
 libghc-unordered-containers-doc,
 libghc-uri-bytestring-doc,
+0 −21
Original line number Diff line number Diff line
--- a/http-api-data.cabal
+++ b/http-api-data.cabal
@@ -87,18 +87,6 @@
                    , bytestring
                    , uuid
 
-test-suite doctests
-  ghc-options:      -Wall
-  build-depends:
-    base,
-    directory >= 1.0,
-    doctest >= 0.11 && <0.14,
-    filepath
-  default-language: Haskell2010
-  hs-source-dirs:   test
-  main-is:          doctests.hs
-  type:             exitcode-stdio-1.0
-
 source-repository head
   type:     git
   location: https://github.com/fizruk/http-api-data
+29 −0
Original line number Diff line number Diff line
Index: b/http-api-data.cabal
===================================================================
--- a/http-api-data.cabal
+++ b/http-api-data.cabal
@@ -24,12 +24,12 @@ tested-with:
   GHC==7.10.3,
   GHC==8.0.2,
   GHC==8.2.2,
-  GHC==8.4.1
+  GHC==8.4.3
 
 custom-setup
   setup-depends:
-    base >= 4.7 && <4.12,
-    Cabal >= 1.18 && <2.3,
+    base,
+    Cabal,
     cabal-doctest >=1.0.6 && <1.1
 
 flag use-text-show
@@ -95,7 +95,7 @@ test-suite doctests
   build-depends:
     base,
     directory >= 1.0,
-    doctest >= 0.11 && <0.16,
+    doctest >= 0.11 && <0.17,
     filepath
   default-language: Haskell2010
   hs-source-dirs:   test
+1 −0
Original line number Diff line number Diff line
newer-deps
Loading