jailbreak-cabal 1.3.2 → 1.3.3
raw patch · 2 files changed
+17/−17 lines, 2 filesdep ~Cabaldep ~base
Dependency ranges changed: Cabal, base
Files
- Main.hs +10/−1
- jailbreak-cabal.cabal +7/−16
Main.hs view
@@ -4,7 +4,11 @@ import Distribution.Package import Distribution.PackageDescription+#if MIN_VERSION_Cabal(2,2,0)+import Distribution.PackageDescription.Parsec+#else import Distribution.PackageDescription.Parse+#endif import Distribution.PackageDescription.PrettyPrint #if MIN_VERSION_Cabal(1,25,0) import Distribution.Types.Dependency@@ -15,7 +19,7 @@ import System.Environment main :: IO ()-main = getArgs >>= mapM_ (\cabalFile -> readPackageDescription silent cabalFile >>= writeGenericPackageDescription cabalFile . stripVersionRestrictions)+main = getArgs >>= mapM_ (\cabalFile -> readGenericPackageDescription silent cabalFile >>= writeGenericPackageDescription cabalFile . stripVersionRestrictions) -- We don't relax version restrictions inside conditional statements. -- See https://github.com/peti/jailbreak-cabal/commit/99eac40deb481b185fd93fd307625369ff5e1ec0@@ -62,4 +66,9 @@ instance DependencyType LegacyExeDependency where relax (LegacyExeDependency d _) = LegacyExeDependency d anyVersion +#endif++#if !MIN_VERSION_Cabal(2,0,0)+readGenericPackageDescription :: Verbosity -> String -> IO GenericPackageDescription+readGenericPackageDescription = readPackageDescription #endif
jailbreak-cabal.cabal view
@@ -1,25 +1,19 @@--- This file has been generated from package.yaml by hpack version 0.15.0.------ see: https://github.com/sol/hpack- name: jailbreak-cabal-version: 1.3.2-synopsis: Strip version restrictions from build dependencies in Cabal files.+version: 1.3.3+synopsis: Strip version restrictions from Cabal files description: Strip version restrictions from build dependencies in Cabal files. category: Distribution stability: stable homepage: https://github.com/peti/jailbreak-cabal#readme bug-reports: https://github.com/peti/jailbreak-cabal/issues-author: Peter Simons,- Joel Taylor,- Nikolay Amiantov,- aszlig-maintainer: Peter Simons <simons@cryp.to>+author: Peter Simons, Joel Taylor, Nikolay Amiantov, aszlig+maintainer: simons@cryp.to license: BSD3 license-file: LICENSE-tested-with: GHC > 7 && <= 8.1 build-type: Simple cabal-version: >= 1.10+tested-with: GHC == 7.0.4, 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 source-repository head type: git@@ -27,8 +21,5 @@ executable jailbreak-cabal main-is: Main.hs- ghc-options: -Wall- build-depends:- base >= 3 && < 5,- Cabal == 1.20.* || >= 1.23+ build-depends: base < 5, Cabal == 1.20.* || >= 1.23 default-language: Haskell2010