[Git][haskell-team/DHG_packages][master] tar: Disable tests

Ilias Tsitsimpis (@iliastsi) gitlab at salsa.debian.org
Wed Jul 27 15:36:21 BST 2022



Ilias Tsitsimpis pushed to branch master at Debian Haskell Group / DHG_packages


Commits:
3a6e487a by Ilias Tsitsimpis at 2022-07-27T17:35:10+03:00
tar: Disable tests

- - - - -


5 changed files:

- p/haskell-tar/debian/changelog
- p/haskell-tar/debian/control
- p/haskell-tar/debian/copyright
- p/haskell-tar/debian/patches/newer-deps
- p/haskell-tar/debian/rules


Changes:

=====================================
p/haskell-tar/debian/changelog
=====================================
@@ -1,9 +1,11 @@
-haskell-tar (0.5.1.1-3) UNRELEASED; urgency=medium
+haskell-tar (0.5.1.1-3) unstable; urgency=medium
 
   * Declare compliance with Debian policy 4.6.1
   * Remove retired developer, Joachim Breitner, from Uploaders.
+  * Patch for newer dependencies
+  * Disable tests, which rely on bytestring-handle
 
- -- Ilias Tsitsimpis <iliastsi at debian.org>  Tue, 28 Jun 2022 15:33:11 +0300
+ -- Ilias Tsitsimpis <iliastsi at debian.org>  Wed, 27 Jul 2022 17:32:39 +0300
 
 haskell-tar (0.5.1.1-2) unstable; urgency=medium
 


=====================================
p/haskell-tar/debian/control
=====================================
@@ -10,10 +10,6 @@ Build-Depends:
  ghc (>= 8),
  ghc-prof,
  haskell-devscripts (>= 0.13),
- libghc-bytestring-handle-dev,
- libghc-quickcheck2-dev,
- libghc-tasty-dev (>= 0.10),
- libghc-tasty-quickcheck-dev (>= 0.8),
 Build-Depends-Indep: ghc-doc
 Standards-Version: 4.6.1
 Homepage: https://hackage.haskell.org/package/tar


=====================================
p/haskell-tar/debian/copyright
=====================================
@@ -5,14 +5,14 @@ Source: https://hackage.haskell.org/package/tar
 
 Files: *
 Copyright: Copyright 2007 Bjorn Bringert <bjorn at bringert.net>
-	   Copyright 2008 Andrea Vezzosi
+           Copyright 2008 Andrea Vezzosi
            Copyright 2008-2009 Duncan Coutts <duncan at haskell.org>
-License: BSD-C3
+License: BSD-3-clause
  All rights reserved.
-
+ .
  Redistribution and use in source and binary forms, with or without
  modification, are permitted provided that the following conditions are met:
-
+ .
  - Redistributions of source code must retain the above copyright notice,
    this list of conditions and the following disclaimer.
  - Redistributions in binary form must reproduce the above copyright
@@ -21,7 +21,7 @@ License: BSD-C3
  - Neither the names of the copyright owners nor the names of the
    contributors may be used to endorse or promote products derived
    from this software without specific prior written permission.
-
+ .
  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR


=====================================
p/haskell-tar/debian/patches/newer-deps
=====================================
@@ -1,13 +1,79 @@
+Index: b/tar.cabal
+===================================================================
 --- a/tar.cabal
 +++ b/tar.cabal
-@@ -101,8 +101,8 @@
+@@ -1,6 +1,7 @@
+ cabal-version:   1.12
+ name:            tar
+ version:         0.5.1.1
++x-revision: 5
+ 
+ license:         BSD3
+ license-file:    LICENSE
+@@ -26,7 +27,8 @@ description:     This library is for wor
+ build-type:      Simple
+ extra-source-files: changelog.md
+ tested-with:     GHC==7.0.4, GHC==7.2.2, GHC==7.4.2, GHC==7.6.3,
+-                 GHC==7.8.4, GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.1
++                 GHC==7.8.4, GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.4,
++                 GHC==8.6.5, GHC==8.8.3, GHC==8.10.4, GHC==9.0.1
+ 
+ source-repository head
+   type: git
+@@ -40,7 +42,7 @@ flag old-bytestring
+ 
+ library
+ 
+-  build-depends: base       >= 4 && < 4.14,
++  build-depends: base       >= 4 && < 4.18,
+                  filepath             < 1.5,
+                  array                < 0.6,
+                  containers >= 0.2 && < 0.7,
+@@ -49,15 +51,15 @@ library
+   if flag(old-time)
+     build-depends: directory < 1.2, old-time < 1.2
+   else
+-    build-depends: directory >= 1.2 && < 1.4, time < 1.10
++    build-depends: directory >= 1.2 && < 1.4, time < 1.13
+ 
+   if flag(old-bytestring)
+     build-depends: bytestring-builder >= 0.10.4.0.2 && < 0.11, bytestring == 0.9.*
+   else
+-    build-depends: bytestring == 0.10.*
++    build-depends: bytestring >= 0.10 && < 0.12
+ 
+   if !impl(ghc >= 8.0)
+-    build-depends: semigroups == 0.18.*
++    build-depends: semigroups >= 0.18 && < 0.20
+ 
+   exposed-modules:
+     Codec.Archive.Tar
+@@ -101,8 +103,8 @@ test-suite properties
                   deepseq,
                   bytestring-handle,
                   QuickCheck       == 2.*,
 -                 tasty            >= 0.10 && <0.12,
 -                 tasty-quickcheck == 0.8.*
-+                 tasty            >= 0.10,
-+                 tasty-quickcheck >= 0.8
++                 tasty            >= 0.10 && <1.5,
++                 tasty-quickcheck >= 0.8  && <0.11
  
    if flag(old-time)
      build-depends: directory < 1.2, old-time
+@@ -115,7 +117,7 @@ test-suite properties
+     build-depends: bytestring >= 0.10
+ 
+   if !impl(ghc >= 8.0)
+-    build-depends: semigroups == 0.18.*
++    build-depends: semigroups >= 0.18 && <0.20
+ 
+   default-language: Haskell2010
+ 
+@@ -162,7 +164,7 @@ benchmark bench
+                  criterion >= 1.0
+ 
+   if !impl(ghc >= 8.0)
+-    build-depends: semigroups == 0.18.*
++    build-depends: semigroups >= 0.18 && <0.20
+ 
+   default-language: Haskell2010
+ 


=====================================
p/haskell-tar/debian/rules
=====================================
@@ -1,11 +1,8 @@
 #!/usr/bin/make -f
 
 DEB_BUILD_DEPENDENCIES = build-arch
-ifeq (four,$(shell ghc --info | grep -q 'target word size.*"4"' && echo four))
-	DEB_ENABLE_TESTS = no
-else
-	DEB_ENABLE_TESTS = yes
-endif
+# Disable tests, which rely on broken bytestring-handle
+DEB_ENABLE_TESTS = no
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/hlibrary.mk



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

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/3a6e487a74ea6100f658bf8e03fa685a307e38e7
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/20220727/83917d3c/attachment-0001.htm>


More information about the Pkg-haskell-commits mailing list