Safe Haskell | None |
---|
- data VersionSplits
- packageRangesFromVersionSplits :: VersionSplits -> [(String, VersionRange)]
- makePackage :: String -> VersionSplits
- insertSplit :: Version -> String -> VersionSplits -> VersionSplits
- doSplits :: VersionSplits -> Maybe VersionReq -> String
- knownVersionSplits :: Map PackageName VersionSplits
Documentation
data VersionSplits Source
Describes a mapping from cabal package name and version to debian package names. For example, versions of the cabal QuickCheck package less than 2 are mapped to quickcheck1, while version 2 or greater is mapped to quickcheck2.
insertSplit :: Version -> String -> VersionSplits -> VersionSplitsSource
Split the version range and give the older packages a new name.
doSplits :: VersionSplits -> Maybe VersionReq -> StringSource
knownVersionSplits :: Map PackageName VersionSplitsSource
These are the instances of debian names changing that I know about. I know they really shouldn't be hard coded. Send a patch. Note that this inherits the lack of type safety of the mkPkgName function.