packages feed

debian 4.0.3 → 4.0.4

raw patch · 3 files changed

+4/−7 lines, 3 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Debian.URI: instance Test.QuickCheck.Arbitrary.Arbitrary Network.URI.URI

Files

Test/Control.hs view
@@ -57,8 +57,8 @@                             (replaceStrings "[0-9]+" "?" $ show (either Left (debianRelations "Foo") vc)))     , TestCase (parseDebianControlFromFile "nonexistant" >>= \ vc ->                 assertEqual "policy5"-                            "Left \"src/Debian/Control/Policy.hs\"(line ?, column ?): IOError nonexistant: openBinaryFile: does not exist (No such file or directory)"-                            (replaceStrings "[0-9]+" "?" . replaceStrings "openFile" "openBinaryFile" $ show (either Left (debianRelations "Foo") vc)))+                            "Left \"src/Debian/Control/Policy.hs\"(line ?, column ?): IOError nonexistant: withBinaryFile: does not exist (No such file or directory)"+                            (replaceStrings "[0-9]+" "?" . replaceStrings "openBinaryFile" "withBinaryFile" . replaceStrings "openFile" "withBinaryFile" $ show (either Left (debianRelations "Foo") vc)))      -- Test whether embedded newlines in field values can be mistaken     -- for field or paragraph divisions.  In cases pretty7 and pretty9
debian.cabal view
@@ -1,6 +1,6 @@ cabal-version:  3.0 Name:           debian-Version:        4.0.3+Version:        4.0.4 License:        BSD-3-Clause License-File:   debian/copyright Author:         David Fox <dsf@seereason.com>, Jeremy Shaw <jeremy@seereason.com>, Clifford Beshers <beshers@seereason.com>@@ -9,6 +9,7 @@ Homepage:       https://github.com/clinty/debian-haskell Build-Type:     Simple Synopsis:       Modules for working with the Debian package system+Tested-With:    GHC ==9.2.3 || ==9.0.2 || ==8.10.7 || ==8.8.4 || ==8.6.5 || ==8.4.4 Description:   This library includes modules covering some basic data types defined by   the Debian policy manual - version numbers, control file syntax, etc.
src/Debian/URI.hs view
@@ -56,7 +56,6 @@ #endif import Network.URI (nullURI, parseURIReference, parseURI, parseAbsoluteURI, parseRelativeReference, URI(..), URIAuth(..), uriToString) import System.FilePath ((</>), dropTrailingPathSeparator, takeDirectory)-import Test.QuickCheck (Arbitrary) import Text.Parsec (ParseError)  $(makeLensesFor [("uriScheme", "uriSchemeLens"),@@ -141,9 +140,6 @@  uriToString' :: URI -> String uriToString' uri = uriToString id uri ""--instance Arbitrary URI where-    -- Replace with import from network-arbitrary package  class HasParseError e where fromParseError :: ParseError -> e instance HasParseError ParseError where fromParseError = id