Commit eeff430c authored by Clint Adams's avatar Clint Adams
Browse files

haddock-library: enable testsuite

parent 31f0ff21
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
haskell-haddock-library (1.4.5-2) unstable; urgency=medium

  * Enable testsuite.

 -- Clint Adams <clint@debian.org>  Sun, 22 Apr 2018 08:38:24 -0400

haskell-haddock-library (1.4.5-1) unstable; urgency=medium

  * New upstream release
+3 −0
Original line number Diff line number Diff line
@@ -10,6 +10,9 @@ Build-Depends: debhelper (>= 9),
 ghc-prof,
 libghc-attoparsec-dev,
 libghc-attoparsec-prof,
 libghc-base-compat-dev (>= 0.9.3),
 libghc-hspec-dev (>= 2.4.4),
 libghc-quickcheck2-dev (>= 2.10),
Build-Depends-Indep: ghc-doc,
 libghc-attoparsec-doc,
Standards-Version: 4.1.4
+1 −0
Original line number Diff line number Diff line
avoid-unicode-in-description
system-attoparsec
+53 −0
Original line number Diff line number Diff line
--- a/haddock-library.cabal
+++ b/haddock-library.cabal
@@ -25,7 +25,6 @@
     , bytestring   >= 0.9.2.1 && < 0.11
     , transformers >= 0.3.0   && < 0.6
 
-  -- internal sub-lib
   build-depends:        attoparsec
 
   hs-source-dirs:       src
@@ -46,42 +45,6 @@
   if impl(ghc >= 8.0)
     ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances
 
-library attoparsec
-  default-language:     Haskell2010
-
-  build-depends:
-      base         >= 4.5     && < 4.11
-    , bytestring   >= 0.9.2.1 && < 0.11
-    , deepseq      >= 1.3     && < 1.5
-
-  hs-source-dirs:       vendor/attoparsec-0.13.1.0
-
-  -- NB: haddock-library needs only small part of lib:attoparsec
-  --     internally, so we only bundle that subset here
-  exposed-modules:
-    Data.Attoparsec.ByteString
-    Data.Attoparsec.ByteString.Char8
-
-  other-modules:
-    Data.Attoparsec
-    Data.Attoparsec.ByteString.Buffer
-    Data.Attoparsec.ByteString.FastSet
-    Data.Attoparsec.ByteString.Internal
-    Data.Attoparsec.Combinator
-    Data.Attoparsec.Internal
-    Data.Attoparsec.Internal.Fhthagn
-    Data.Attoparsec.Internal.Types
-    Data.Attoparsec.Number
-
-  ghc-options:          -funbox-strict-fields -Wall -fwarn-tabs -O2
-
-  ghc-options: -Wall
-  if impl(ghc >= 8.0)
-    ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances
-  else
-    build-depends: semigroups ^>= 0.18.3, fail ^>= 4.9.0.0
-
-
 test-suite spec
   type:             exitcode-stdio-1.0
   default-language: Haskell2010
+4 −0
Original line number Diff line number Diff line
#!/usr/bin/make -f

DEB_ENABLE_TESTS = yes

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/hlibrary.mk

check-ghc-stamp: export LC_ALL := C.UTF-8