[Git][haskell-team/DHG_packages][master] haddock-library: enable testsuite

Clint Adams gitlab at salsa.debian.org
Sun Apr 22 13:49:30 BST 2018


Clint Adams pushed to branch master at Debian Haskell Group / DHG_packages


Commits:
eeff430c by Clint Adams at 2018-04-22T08:48:51-04:00
haddock-library: enable testsuite

- - - - -


5 changed files:

- p/haskell-haddock-library/debian/changelog
- p/haskell-haddock-library/debian/control
- p/haskell-haddock-library/debian/patches/series
- + p/haskell-haddock-library/debian/patches/system-attoparsec
- p/haskell-haddock-library/debian/rules


Changes:

=====================================
p/haskell-haddock-library/debian/changelog
=====================================
--- a/p/haskell-haddock-library/debian/changelog
+++ b/p/haskell-haddock-library/debian/changelog
@@ -1,3 +1,9 @@
+haskell-haddock-library (1.4.5-2) unstable; urgency=medium
+
+  * Enable testsuite.
+
+ -- Clint Adams <clint at debian.org>  Sun, 22 Apr 2018 08:38:24 -0400
+
 haskell-haddock-library (1.4.5-1) unstable; urgency=medium
 
   * New upstream release


=====================================
p/haskell-haddock-library/debian/control
=====================================
--- a/p/haskell-haddock-library/debian/control
+++ b/p/haskell-haddock-library/debian/control
@@ -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


=====================================
p/haskell-haddock-library/debian/patches/series
=====================================
--- a/p/haskell-haddock-library/debian/patches/series
+++ b/p/haskell-haddock-library/debian/patches/series
@@ -1 +1,2 @@
 avoid-unicode-in-description
+system-attoparsec


=====================================
p/haskell-haddock-library/debian/patches/system-attoparsec
=====================================
--- /dev/null
+++ b/p/haskell-haddock-library/debian/patches/system-attoparsec
@@ -0,0 +1,53 @@
+--- 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


=====================================
p/haskell-haddock-library/debian/rules
=====================================
--- a/p/haskell-haddock-library/debian/rules
+++ b/p/haskell-haddock-library/debian/rules
@@ -1,4 +1,8 @@
 #!/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



View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/commit/eeff430cd54bbc65545f9312aa18e0d77be94def

---
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/commit/eeff430cd54bbc65545f9312aa18e0d77be94def
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20180422/0bda4974/attachment-0001.html>


More information about the Pkg-haskell-commits mailing list