exherbo-cabal 0.1.0.0 → 0.1.0.1
raw patch · 3 files changed
+6/−4 lines, 3 filesdep ~Cabaldep ~base
Dependency ranges changed: Cabal, base
Files
- exherbo-cabal.cabal +3/−3
- src/ExRender.hs +2/−0
- src/Main.hs +1/−1
exherbo-cabal.cabal view
@@ -10,7 +10,7 @@ -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change-version: 0.1.0.0+version: 0.1.0.1 -- A short (one-line) description of the package. synopsis: Exheres generator for cabal packages@@ -66,8 +66,8 @@ -- Other library packages from which modules are imported. build-depends:- Cabal >=1.18 && <1.19,- base >=4.7 && <4.8,+ Cabal >=1.20 && <1.23,+ base >=4.7 && <4.9, bytestring >=0.10 && <0.11, containers, haddock-library >=1.0 && <1.3,
src/ExRender.hs view
@@ -193,6 +193,7 @@ ] exParams = spaces $ exHasLib <+> exHasBin <+> exHasOptions + exSlot = if hasLib then empty else exField "SLOT" "0" exheres = vcat [ "# Copyright 2015 Mykola Orliuk <virkony@gmail.com>", "# Distributed under the terms of the GNU General Public License v2",@@ -205,6 +206,7 @@ exField "HOMEPAGE" (homepage pkgDescr), "", exField "LICENCES" (exRender $ license pkgDescr),+ exSlot, exField "PLATFORMS" "~amd64", "", exDependencies,
src/Main.hs view
@@ -59,7 +59,7 @@ pkgDescr = packageDescription descr packageUri = hackageBaseUri ++ display (package pkgDescr) adjustLicense = do- let licensePath = licenseFile pkgDescr+ let licensePath = head $ licenseFiles pkgDescr -- TODO: proper handling of multiple licenses licenseContent ← simpleFetch (packageUri ++ "/src/" ++ licensePath) license' ← guessLicense licenseContent case license' of