mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-01-12 07:18:31 +01:00
Get rid of almost all patches
This commit is contained in:
parent
9a14b9e5df
commit
5a5abd678f
@ -190,6 +190,9 @@ defaultExpectedFailures ghcVer = execWriter $ do
|
||||
-- Requires too new a version of time
|
||||
when (ghcVer < GhcMajorVersion 7 8) $ add "cookie"
|
||||
|
||||
-- Restrictive checkers upper bound in test suite
|
||||
add "incremental-parser"
|
||||
|
||||
where
|
||||
add = tell . singleton . PackageName
|
||||
|
||||
@ -212,13 +215,6 @@ defaultStablePackages ghcVer requireHP = unPackageMap $ execWriter $ do
|
||||
, "bzlib-conduit case-insensitive"
|
||||
, "conduit-extra conduit-combinators yesod-websockets"
|
||||
]
|
||||
-- Temporary upper bounds while persistent2 is tested
|
||||
addRange "Michael Snoyman" "persistent" "< 2"
|
||||
addRange "Michael Snoyman" "persistent-mysql" "< 2"
|
||||
addRange "Michael Snoyman" "persistent-template" "< 2"
|
||||
addRange "Michael Snoyman" "persistent-postgresql" "< 2"
|
||||
addRange "Michael Snoyman" "persistent-mongoDB" "< 2"
|
||||
addRange "Michael Snoyman" "persistent-sqlite" "< 2"
|
||||
|
||||
-- https://github.com/fpco/stackage/issues/261
|
||||
addRange "Michael Snoyman" "cabal-install" $
|
||||
@ -258,7 +254,6 @@ defaultStablePackages ghcVer requireHP = unPackageMap $ execWriter $ do
|
||||
]
|
||||
|
||||
-- Deprecated version
|
||||
addRange "FP Complete <michael@fpcomplete.com>" "persistent-mongoDB" "< 1.3.1 || > 1.3.1"
|
||||
when (ghcVer < GhcMajorVersion 7 6) $ do
|
||||
when requireHP $ do
|
||||
addRange "FP Complete <michael@fpcomplete.com>" "hxt" "<= 9.3.0.1"
|
||||
@ -351,8 +346,10 @@ defaultStablePackages ghcVer requireHP = unPackageMap $ execWriter $ do
|
||||
|
||||
mapM_ (add "Patrick Brisbin") $ words "gravatar"
|
||||
|
||||
{- persistent 2.0/conduit 1.2
|
||||
mapM_ (add "Felipe Lessa <felipe.lessa@gmail.com>") $ words
|
||||
"esqueleto fb fb-persistent yesod-fb yesod-auth-fb"
|
||||
-}
|
||||
|
||||
mapM_ (add "Alexander Altman <alexanderaltman@me.com>") $ words
|
||||
"base-unicode-symbols containers-unicode-symbols"
|
||||
@ -501,17 +498,11 @@ defaultStablePackages ghcVer requireHP = unPackageMap $ execWriter $ do
|
||||
addRange "Michael Snoyman" "pandoc" "== 1.12.4.2"
|
||||
addRange "Michael Snoyman" "texmath" "<= 0.6.6.3"
|
||||
|
||||
-- https://github.com/fpco/stackage/issues/242
|
||||
addRange "Michael Snoyman" "mongoDB" "< 1.6"
|
||||
|
||||
-- Requires too new a version of text
|
||||
when (ghcVer == GhcMajorVersion 7 4 && requireHP) $ do
|
||||
addRange "Michael Snoyman" "attoparsec" "< 0.11.2.1"
|
||||
addRange "Michael Snoyman" "parsers" "< 0.11"
|
||||
|
||||
-- local patch
|
||||
addRange "Michael Snoyman" "bson" "== 0.2.4"
|
||||
|
||||
-- 0.16.2 fixes dependency issues with different version of GHC
|
||||
-- and Haskell Platform. Now builds on GHC 7.4-7.8. Version 1.0 is
|
||||
-- guaranteed to break the API. See
|
||||
@ -532,6 +523,7 @@ defaultStablePackages ghcVer requireHP = unPackageMap $ execWriter $ do
|
||||
|
||||
-- https://github.com/fpco/stackage/issues/276
|
||||
addRange "Michael Snoyman" "network" "< 2.6"
|
||||
addRange "Michael Snoyman" "network-uri" "< 2.6"
|
||||
|
||||
-- https://github.com/fpco/stackage/issues/279
|
||||
addRange "Michael Snoyman" "MonadRandom" "< 0.2"
|
||||
|
||||
@ -40,7 +40,7 @@ defaultSelectSettings version = SelectSettings
|
||||
Just v | Just range <- simpleParse "< 0.5", v `withinRange` range
|
||||
-> Set.singleton "containers-old"
|
||||
_ -> Set.empty)
|
||||
, disabledFlags = Set.fromList (words "bytestring-in-base test-hlint")
|
||||
, disabledFlags = Set.fromList (words "bytestring-in-base test-hlint network-uri")
|
||||
`Set.union`
|
||||
(if version <= GhcMajorVersion 7 4
|
||||
then Set.singleton "bytestring-builder"
|
||||
|
||||
@ -1,12 +0,0 @@
|
||||
diff -ru orig/bson.cabal new/bson.cabal
|
||||
--- orig/bson.cabal 2014-03-13 08:24:42.121883180 +0200
|
||||
+++ new/bson.cabal 2014-03-13 08:24:41.000000000 +0200
|
||||
@@ -26,7 +26,7 @@
|
||||
Build-depends: base < 5
|
||||
, time
|
||||
, bytestring
|
||||
- , binary == 0.7.*
|
||||
+ , binary
|
||||
, cryptohash
|
||||
, data-binary-ieee754
|
||||
, mtl >= 2
|
||||
@ -1,12 +0,0 @@
|
||||
diff -ruN orig/fb.cabal new/fb.cabal
|
||||
--- orig/fb.cabal 2014-08-27 18:46:01.681159581 +0300
|
||||
+++ new/fb.cabal 2014-08-27 18:46:01.000000000 +0300
|
||||
@@ -91,7 +91,7 @@
|
||||
, monad-logger >= 0.3
|
||||
if flag(conduit11)
|
||||
build-depends:
|
||||
- conduit == 1.1.*
|
||||
+ conduit >= 1.1 && < 1.3
|
||||
, conduit-extra == 1.1.*
|
||||
else
|
||||
build-depends:
|
||||
@ -1,12 +0,0 @@
|
||||
diff -ruN orig/hOpenPGP.cabal new/hOpenPGP.cabal
|
||||
--- orig/hOpenPGP.cabal 2014-08-27 18:36:43.353176357 +0300
|
||||
+++ new/hOpenPGP.cabal 2014-08-27 18:36:43.000000000 +0300
|
||||
@@ -173,7 +173,7 @@
|
||||
, bzlib
|
||||
, cereal
|
||||
, cereal-conduit >= 0.6 && < 0.8
|
||||
- , conduit >= 0.5 && < 1.2
|
||||
+ , conduit >= 0.5 && < 1.3
|
||||
, conduit-extra >= 1.1
|
||||
, containers
|
||||
, crypto-cipher-types
|
||||
@ -1,12 +0,0 @@
|
||||
diff -ruN orig/imagesize-conduit.cabal new/imagesize-conduit.cabal
|
||||
--- orig/imagesize-conduit.cabal 2014-08-27 18:36:43.889176341 +0300
|
||||
+++ new/imagesize-conduit.cabal 2014-08-27 18:36:43.000000000 +0300
|
||||
@@ -21,7 +21,7 @@
|
||||
Library
|
||||
Exposed-modules: Data.Conduit.ImageSize
|
||||
Build-depends: base >= 4 && < 5
|
||||
- , conduit >= 1.1 && < 1.2
|
||||
+ , conduit >= 1.1 && < 1.3
|
||||
, conduit-extra >= 1.1 && < 1.2
|
||||
, bytestring >= 0.10
|
||||
ghc-options: -Wall
|
||||
@ -1,11 +0,0 @@
|
||||
diff -ruN orig/kan-extensions.cabal new/kan-extensions.cabal
|
||||
--- orig/kan-extensions.cabal 2014-08-25 17:24:28.206498700 +0300
|
||||
+++ new/kan-extensions.cabal 2014-08-25 17:24:28.000000000 +0300
|
||||
@@ -51,6 +51,7 @@
|
||||
mtl >= 2.0.1 && < 2.3,
|
||||
pointed >= 4 && < 5,
|
||||
semigroupoids >= 4 && < 5,
|
||||
+ tagged,
|
||||
transformers >= 0.2 && < 0.5
|
||||
|
||||
exposed-modules:
|
||||
@ -1,66 +0,0 @@
|
||||
diff -ruN orig/pandoc.cabal new/pandoc.cabal
|
||||
--- orig/pandoc.cabal 2014-08-10 08:46:45.330707408 +0300
|
||||
+++ new/pandoc.cabal 2014-08-10 08:46:44.000000000 +0300
|
||||
@@ -192,10 +192,6 @@
|
||||
type: git
|
||||
location: git://github.com/jgm/pandoc.git
|
||||
|
||||
-Flag embed_data_files
|
||||
- Description: Embed data files in binary for relocatable executable.
|
||||
- Default: False
|
||||
-
|
||||
Flag http-conduit
|
||||
Description: Enable downloading of resources over https.
|
||||
Default: True
|
||||
@@ -223,7 +219,7 @@
|
||||
random >= 1 && < 1.1,
|
||||
extensible-exceptions >= 0.1 && < 0.2,
|
||||
pandoc-types >= 1.12.3.3 && < 1.13,
|
||||
- aeson >= 0.7 && < 0.8,
|
||||
+ aeson >= 0.7 && < 0.9,
|
||||
tagsoup >= 0.13.1 && < 0.14,
|
||||
base64-bytestring >= 0.1 && < 1.1,
|
||||
zlib >= 0.5 && < 0.6,
|
||||
@@ -232,9 +228,9 @@
|
||||
temporary >= 1.1 && < 1.3,
|
||||
blaze-html >= 0.5 && < 0.8,
|
||||
blaze-markup >= 0.5.1 && < 0.7,
|
||||
- attoparsec >= 0.10 && < 0.12,
|
||||
+ attoparsec >= 0.10 && < 0.13,
|
||||
yaml >= 0.8.8.2 && < 0.9,
|
||||
- scientific >= 0.2 && < 0.3,
|
||||
+ scientific >= 0.2 && < 0.4,
|
||||
vector >= 0.10 && < 0.11,
|
||||
hslua >= 0.3 && < 0.4,
|
||||
binary >= 0.5 && < 0.8
|
||||
@@ -243,10 +239,6 @@
|
||||
Build-Depends: http-conduit >= 1.9 && < 2.2,
|
||||
http-types >= 0.8 && < 0.9
|
||||
cpp-options: -DHTTP_CONDUIT
|
||||
- if flag(embed_data_files)
|
||||
- cpp-options: -DEMBED_DATA_FILES
|
||||
- -- Build-Tools: hsb2hs -- not yet recognized by cabal
|
||||
- other-modules: Text.Pandoc.Data
|
||||
if os(windows)
|
||||
Cpp-options: -D_WINDOWS
|
||||
Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
|
||||
@@ -329,7 +321,7 @@
|
||||
bytestring >= 0.9 && < 0.11,
|
||||
extensible-exceptions >= 0.1 && < 0.2,
|
||||
highlighting-kate >= 0.5.8 && < 0.6,
|
||||
- aeson >= 0.7 && < 0.8,
|
||||
+ aeson >= 0.7 && < 0.9,
|
||||
yaml >= 0.8.8.2 && < 0.9,
|
||||
containers >= 0.1 && < 0.6,
|
||||
HTTP >= 4000.0.5 && < 4000.3
|
||||
diff -ruN orig/src/Text/Pandoc/Data.hsb new/src/Text/Pandoc/Data.hsb
|
||||
--- orig/src/Text/Pandoc/Data.hsb 2014-08-10 08:46:45.294707409 +0300
|
||||
+++ new/src/Text/Pandoc/Data.hsb 1970-01-01 02:00:00.000000000 +0200
|
||||
@@ -1,7 +0,0 @@
|
||||
-{-# LANGUAGE OverloadedStrings #-}
|
||||
--- to be processed using hsb2hs
|
||||
-module Text.Pandoc.Data (dataFiles) where
|
||||
-import qualified Data.ByteString as B
|
||||
-
|
||||
-dataFiles :: [(FilePath, B.ByteString)]
|
||||
-dataFiles = %blobs "data"
|
||||
@ -1,12 +0,0 @@
|
||||
diff -ruN orig/tagstream-conduit.cabal new/tagstream-conduit.cabal
|
||||
--- orig/tagstream-conduit.cabal 2014-08-27 18:15:50.061214015 +0300
|
||||
+++ new/tagstream-conduit.cabal 2014-08-27 18:15:49.000000000 +0300
|
||||
@@ -38,7 +38,7 @@
|
||||
, text
|
||||
, case-insensitive
|
||||
, transformers >= 0.2
|
||||
- , conduit >= 0.5 && < 1.2
|
||||
+ , conduit >= 0.5 && < 1.3
|
||||
, conduit-extra
|
||||
, resourcet
|
||||
, attoparsec
|
||||
@ -1,12 +0,0 @@
|
||||
diff -ruN orig/yesod-auth-fb.cabal new/yesod-auth-fb.cabal
|
||||
--- orig/yesod-auth-fb.cabal 2014-08-27 18:46:01.913159574 +0300
|
||||
+++ new/yesod-auth-fb.cabal 2014-08-27 18:46:01.000000000 +0300
|
||||
@@ -53,7 +53,7 @@
|
||||
, transformers >= 0.1.3 && < 0.5
|
||||
, yesod-fb == 0.3.*
|
||||
, fb >= 0.14 && < 1.1
|
||||
- , conduit >= 1.0 && < 1.2
|
||||
+ , conduit >= 1.0 && < 1.3
|
||||
, bytestring >= 0.9 && < 0.11
|
||||
, aeson >= 0.6
|
||||
, time >= 1.0 && < 1.5
|
||||
Loading…
Reference in New Issue
Block a user