packages feed

cabal-debian 4.36.1 → 4.36.2

raw patch · 4 files changed

+8/−8 lines, 4 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Debian.Debianize.Files: instance Text.PrettyPrint.HughesPJClass.Pretty (Debian.Pretty.PP (Distribution.PackageDescription.PackageDescription -> GHC.Types.IO Debian.Debianize.CopyrightDescription.CopyrightDescription))
- Debian.Debianize.Prelude: instance Text.PrettyPrint.HughesPJClass.Pretty (Debian.Pretty.PP Distribution.Package.PackageIdentifier)
- Debian.Debianize.Prelude: instance Text.PrettyPrint.HughesPJClass.Pretty (Debian.Pretty.PP Distribution.Package.PackageName)
- Debian.Debianize.Prelude: mkFlagName :: String -> FlagName
- Debian.Debianize.Prelude: mkPackageName :: String -> PackageName
- Debian.Debianize.Prelude: mkVersion :: [Int] -> Version
- Debian.Debianize.Prelude: mkVersion' :: Version -> Version
- Debian.Debianize.Prelude: unPackageName :: PackageName -> String
- Debian.Debianize.Prelude: versionNumbers :: Version -> [Int]
- Debian.Debianize.VersionSplits: instance Debian.Debianize.Interspersed.Interspersed Debian.Debianize.VersionSplits.VersionSplits Debian.Debianize.VersionSplits.DebBase Data.Version.Version
- Debian.GHC: instance Data.Function.Memoize.Class.Memoizable Data.Version.Version
+ Debian.Debianize.Files: instance Text.PrettyPrint.HughesPJClass.Pretty (Debian.Pretty.PP (Distribution.Types.PackageDescription.PackageDescription -> GHC.Types.IO Debian.Debianize.CopyrightDescription.CopyrightDescription))
+ Debian.Debianize.Prelude: instance Text.PrettyPrint.HughesPJClass.Pretty (Debian.Pretty.PP Distribution.Types.PackageId.PackageIdentifier)
+ Debian.Debianize.Prelude: instance Text.PrettyPrint.HughesPJClass.Pretty (Debian.Pretty.PP Distribution.Types.PackageName.PackageName)
+ Debian.Debianize.VersionSplits: instance Debian.Debianize.Interspersed.Interspersed Debian.Debianize.VersionSplits.VersionSplits Debian.Debianize.VersionSplits.DebBase Distribution.Version.Version
+ Debian.GHC: instance Data.Function.Memoize.Class.Memoizable Distribution.Version.Version
+ Debian.GHC: instance Data.Function.Memoize.Class.Memoizable GHC.Word.Word64
+ Paths_cabal_debian: getDynLibDir :: IO FilePath
- Debian.Debianize.Interspersed: class Interspersed t around between | t -> around, t -> between where foldTriples f r0 x = snd $ foldl (\ (b1, r) (c, b2) -> (b1, f b1 c b2 r)) (leftmost x, r0) (pairs x) foldInverted f r0 x = (\ (bn, an, r) -> f bn an Nothing r) $ foldl g (Nothing, leftmost x, r0) (pairs x) where g (b1, a1, r) (b2, a2) = (Just b2, a2, f b1 a1 (Just b2) r) foldArounds f r0 x = snd $ foldl (\ (a1, r) (_, a2) -> (a2, f a1 a2 r)) (leftmost x, r0) (pairs x) foldBetweens f r0 x = foldl (\ r (b, _) -> (f b r)) r0 (pairs x)
+ Debian.Debianize.Interspersed: class Interspersed t around between | t -> around, t -> between

Files

cabal-debian.cabal view
@@ -1,5 +1,5 @@ Name:           cabal-debian-Version:        4.36.1+Version:        4.36.2 Copyright:      Copyright (c) 2007-2014, David Fox, Jeremy Shaw License:        BSD3 License-File:   LICENSE
src/Debian/Debianize/CopyrightDescription.hs view
@@ -99,7 +99,7 @@  instance Default CopyrightDescription where     def = CopyrightDescription-          { _format = fromJust $ parseURI "http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/"+          { _format = fromJust $ parseURI "https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/"           , _upstreamName = Nothing           , _upstreamContact = Nothing           , _upstreamSource = Nothing
src/Debian/Debianize/Finalize.hs view
@@ -386,17 +386,17 @@         D.omitProfVersionDeps .= True         SrcPkgName src <- fromMaybe officialError <$> use D.sourcePackageName -        let packagesURI = "https://anonscm.debian.org/cgit/pkg-haskell/DHG_packages.git/tree/p/" <> pack src+        let packagesURI = "https://salsa.debian.org/haskell-team/DHG_packages/tree/master/p/" <> pack src         zoom D.control $ do            S.standardsVersion .?= Just (parseStandardsVersion "4.1.1") #if MIN_VERSION_Cabal(2,0,0)-           S.homepage .?= Just ("http://hackage.haskell.org/package/" <> pack (unPackageName cabal))+           S.homepage .?= Just ("https://hackage.haskell.org/package/" <> pack (unPackageName cabal)) #else-           S.homepage .?= Just ("http://hackage.haskell.org/package/" <> pack cabal)+           S.homepage .?= Just ("https://hackage.haskell.org/package/" <> pack cabal) #endif            S.vcsFields %= Set.union (Set.fromList               [ S.VCSBrowser packagesURI-              , S.VCSGit  "https://anonscm.debian.org/cgit/pkg-haskell/DHG_packages.git"+              , S.VCSGit  "https://salsa.debian.org/haskell-team/DHG_packages.git"               ])  putBuildDeps :: (MonadIO m, Functor m) => (Relations -> Relations) -> PackageDescription -> CabalT m ()
src/Debian/Debianize/Goodies.hs view
@@ -176,10 +176,10 @@ watchAtom :: PackageName -> Text #if MIN_VERSION_Cabal(2,0,0) watchAtom pkgname =-    pack $ "version=3\nhttp://hackage.haskell.org/package/" ++ unPackageName pkgname ++ "/distro-monitor .*-([0-9\\.]+)\\.(?:zip|tgz|tbz|txz|(?:tar\\.(?:gz|bz2|xz)))\n"+    pack $ "version=3\nhttps://hackage.haskell.org/package/" ++ unPackageName pkgname ++ "/distro-monitor .*-([0-9\\.]+)\\.(?:zip|tgz|tbz|txz|(?:tar\\.(?:gz|bz2|xz)))\n" #else watchAtom (PackageName pkgname) =-    pack $ "version=3\nhttp://hackage.haskell.org/package/" ++ pkgname ++ "/distro-monitor .*-([0-9\\.]+)\\.(?:zip|tgz|tbz|txz|(?:tar\\.(?:gz|bz2|xz)))\n"+    pack $ "version=3\nhttps://hackage.haskell.org/package/" ++ pkgname ++ "/distro-monitor .*-([0-9\\.]+)\\.(?:zip|tgz|tbz|txz|(?:tar\\.(?:gz|bz2|xz)))\n" #endif  siteAtoms :: PackageDescription -> BinPkgName -> D.Site -> CabalInfo -> CabalInfo