Skip to content

Commit

Permalink
Merge pull request #1522 from ncaq/deleted-unneed-build-depends
Browse files Browse the repository at this point in the history
deleted: unneed cabal build-depends by weeder
  • Loading branch information
snoyberg committed Jun 12, 2018
2 parents c3a2a6a + 7086487 commit c88c201
Show file tree
Hide file tree
Showing 11 changed files with 176 additions and 225 deletions.
7 changes: 3 additions & 4 deletions yesod-auth-oauth/yesod-auth-oauth.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,11 @@ library
build-depends: base >= 4 && < 4.3
build-depends: authenticate-oauth >= 1.5 && < 1.7
, bytestring >= 0.9.1.4
, yesod-core >= 1.6 && < 1.7
, yesod-auth >= 1.6 && < 1.7
, text >= 0.7
, yesod-form >= 1.6 && < 1.7
, transformers >= 0.2.2 && < 0.6
, unliftio
, yesod-auth >= 1.6 && < 1.7
, yesod-core >= 1.6 && < 1.7
, yesod-form >= 1.6 && < 1.7
exposed-modules: Yesod.Auth.OAuth
ghc-options: -Wall

Expand Down
62 changes: 27 additions & 35 deletions yesod-auth/yesod-auth.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -21,54 +21,46 @@ flag network-uri

library
build-depends: base >= 4 && < 5
, aeson >= 0.7
, authenticate >= 1.3.4
, bytestring >= 0.9.1.4
, yesod-core >= 1.6 && < 1.7
, wai >= 1.4
, template-haskell
, base16-bytestring
, cryptonite
, memory
, random >= 1.0.0.2
, text >= 0.7
, mime-mail >= 0.3
, yesod-persistent >= 1.6
, shakespeare
, base64-bytestring
, binary
, blaze-builder
, blaze-html >= 0.5
, blaze-markup >= 0.5.1
, bytestring >= 0.9.1.4
, conduit >= 1.3
, conduit-extra
, containers
, unordered-containers
, yesod-form >= 1.6 && < 1.7
, transformers >= 0.2.2
, persistent >= 2.8 && < 2.9
, persistent-template >= 2.1 && < 2.8
, cryptonite
, data-default
, email-validate >= 1.0
, file-embed
, http-client >= 0.5
, http-client-tls
, http-conduit >= 2.1
, aeson >= 0.7
, unliftio
, blaze-html >= 0.5
, blaze-markup >= 0.5.1
, http-types
, file-embed
, email-validate >= 1.0
, data-default
, resourcet
, memory
, nonce >= 1.0.2 && < 1.1
, persistent >= 2.8 && < 2.9
, random >= 1.0.0.2
, safe
, shakespeare
, template-haskell
, text >= 0.7
, time
, base64-bytestring
, byteable
, binary
, http-client
, blaze-builder
, conduit >= 1.3
, conduit-extra
, nonce >= 1.0.2 && < 1.1
, unliftio-core
, transformers >= 0.2.2
, unliftio
, unliftio-core
, unordered-containers
, wai >= 1.4
, yesod-core >= 1.6 && < 1.7
, yesod-form >= 1.6 && < 1.7
, yesod-persistent >= 1.6

if flag(network-uri)
build-depends: network-uri >= 2.6
else
build-depends: network < 2.6

exposed-modules: Yesod.Auth
Yesod.Auth.BrowserId
Expand Down
51 changes: 21 additions & 30 deletions yesod-bin/yesod-bin.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -25,50 +25,41 @@ executable yesod
ld-options: -Wl,-zwxneeded

build-depends: base >= 4.3 && < 5
, parsec >= 2.1 && < 4
, text >= 0.11
, shakespeare >= 2.0
, bytestring >= 0.9.1.4
, time >= 1.1.4
, template-haskell
, directory >= 1.2.1
, Cabal >= 1.18
, unix-compat >= 0.2
, bytestring >= 0.9.1.4
, conduit >= 1.3
, conduit-extra >= 1.3
, containers >= 0.2
, attoparsec >= 0.10
, http-types >= 0.7
, blaze-builder >= 0.2.1.4 && < 0.5
, data-default-class
, directory >= 1.2.1
, file-embed
, filepath >= 1.1
, process
, zlib >= 0.5
, tar >= 0.4 && < 0.6
, unordered-containers
, yaml >= 0.8 && < 0.9
, optparse-applicative >= 0.11
, fsnotify >= 0.0 && < 0.4
, split >= 0.2 && < 0.3
, file-embed
, conduit >= 1.3
, conduit-extra >= 1.3
, resourcet >= 1.2
, base64-bytestring
, http-client >= 0.4.7
, http-client-tls
, http-reverse-proxy >= 0.4
, http-types >= 0.7
, network >= 2.5
, http-client-tls
, http-client >= 0.4.7
, optparse-applicative >= 0.11
, process
, project-template >= 0.1.1
, unliftio
, say
, split >= 0.2 && < 0.3
, stm
, streaming-commons
, tar >= 0.4 && < 0.6
, text >= 0.11
, time >= 1.1.4
, transformers
, transformers-compat
, warp >= 1.3.7.5
, unliftio
, unordered-containers
, wai >= 2.0
, wai-extra
, data-default-class
, streaming-commons
, warp >= 1.3.7.5
, warp-tls >= 3.0.1
, unliftio
, yaml >= 0.8 && < 0.9
, zlib >= 0.5

ghc-options: -Wall -threaded -rtsopts
main-is: main.hs
Expand Down
103 changes: 48 additions & 55 deletions yesod-core/yesod-core.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -22,48 +22,45 @@ extra-source-files:

library
build-depends: base >= 4.9 && < 5
, time >= 1.5
, wai >= 3.0
, wai-extra >= 3.0.7
, aeson >= 1.0
, auto-update
, blaze-html >= 0.5
, blaze-markup >= 0.7.1
, byteable
, bytestring >= 0.10.2
, text >= 0.7
, template-haskell
, path-pieces >= 0.1.2 && < 0.3
, shakespeare >= 2.0
, transformers >= 0.4
, mtl
, clientsession >= 0.9.1 && < 0.10
, random >= 1.0.0.2 && < 1.2
, case-insensitive >= 0.2
, cereal >= 0.3
, old-locale >= 1.0.0.2 && < 1.1
, clientsession >= 0.9.1 && < 0.10
, conduit >= 1.3
, conduit-extra
, containers >= 0.2
, unordered-containers >= 0.2
, cookie >= 0.4.3 && < 0.5
, http-types >= 0.7
, case-insensitive >= 0.2
, parsec >= 2 && < 3.2
, directory >= 1
, vector >= 0.9 && < 0.13
, aeson >= 1.0
, deepseq >= 1.3
, deepseq-generics
, fast-logger >= 2.2
, wai-logger >= 0.2
, http-types >= 0.7
, monad-logger >= 0.3.10 && < 0.4
, conduit >= 1.3
, mtl
, parsec >= 2 && < 3.2
, path-pieces >= 0.1.2 && < 0.3
, random >= 1.0.0.2 && < 1.2
, resourcet >= 1.2
, blaze-html >= 0.5
, blaze-markup >= 0.7.1
, safe
, warp >= 3.0.2
, unix-compat
, conduit-extra
, deepseq >= 1.3
, deepseq-generics
, primitive
, word8
, auto-update
, semigroups
, byteable
, shakespeare >= 2.0
, template-haskell
, text >= 0.7
, time >= 1.5
, transformers >= 0.4
, unix-compat
, unliftio
, unordered-containers >= 0.2
, vector >= 0.9 && < 0.13
, wai >= 3.0
, wai-extra >= 3.0.7
, wai-logger >= 0.2
, warp >= 3.0.2
, word8

exposed-modules: Yesod.Core
Yesod.Core.Content
Expand Down Expand Up @@ -173,44 +170,40 @@ test-suite tests
YesodCoreTest.YesodTest

cpp-options: -DTEST
build-depends: base
,hspec >= 1.3
,hspec-expectations
,clientsession
,wai >= 3.0
,yesod-core
,bytestring
,text
,http-types
, random
,HUnit
,QuickCheck >= 2 && < 3
,transformers
build-depends: base
, async
, bytestring
, clientsession
, conduit
, conduit-extra
, containers
, resourcet
, cookie >= 0.4.1 && < 0.5
, hspec >= 1.3
, hspec-expectations
, http-types
, network
, async
, conduit-extra
, random
, resourcet
, shakespeare
, streaming-commons
, wai-extra
, cookie >= 0.4.1 && < 0.5
, text
, transformers
, unliftio
, wai >= 3.0
, wai-extra
, yesod-core
ghc-options: -Wall
extensions: TemplateHaskell

benchmark widgets
type: exitcode-stdio-1.0
hs-source-dirs: bench
build-depends: base
, gauge
, bytestring
, text
, transformers
, yesod-core
, blaze-html
, bytestring
, gauge
, shakespeare
, text
main-is: widget.hs
ghc-options: -Wall -O2

Expand Down
7 changes: 3 additions & 4 deletions yesod-eventsource/yesod-eventsource.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,12 @@ extra-source-files: README.md ChangeLog.md

library
build-depends: base >= 4 && < 5
, yesod-core == 1.6.*
, blaze-builder
, conduit >= 1.3
, transformers
, wai >= 1.3
, wai-eventsource >= 1.3
, wai-extra
, blaze-builder
, transformers
, yesod-core == 1.6.*
exposed-modules: Yesod.EventSource
ghc-options: -Wall

Expand Down
33 changes: 15 additions & 18 deletions yesod-form/yesod-form.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -20,33 +20,30 @@ flag network-uri

library
build-depends: base >= 4 && < 5
, yesod-core >= 1.6 && < 1.7
, yesod-persistent >= 1.6 && < 1.7
, time >= 1.1.4
, shakespeare >= 2.0
, persistent
, template-haskell
, transformers >= 0.2.2
, data-default
, xss-sanitize >= 0.3.0.1
, aeson
, attoparsec >= 0.10
, blaze-builder >= 0.2.1.4
, email-validate >= 1.0
, bytestring >= 0.9.1.4
, text >= 0.9
, wai >= 1.3
, containers >= 0.2
, blaze-html >= 0.5
, blaze-markup >= 0.5.1
, attoparsec >= 0.10
, byteable
, aeson
, bytestring >= 0.9.1.4
, containers >= 0.2
, data-default
, email-validate >= 1.0
, persistent
, resourcet
, semigroups
, shakespeare >= 2.0
, text >= 0.9
, time >= 1.1.4
, transformers >= 0.2.2
, wai >= 1.3
, xss-sanitize >= 0.3.0.1
, yesod-core >= 1.6 && < 1.7
, yesod-persistent >= 1.6 && < 1.7

if flag(network-uri)
build-depends: network-uri >= 2.6
else
build-depends: network < 2.6

exposed-modules: Yesod.Form
Yesod.Form.Types
Expand Down
9 changes: 4 additions & 5 deletions yesod-sitemap/yesod-sitemap.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,13 @@ extra-source-files: README.md ChangeLog.md

library
build-depends: base >= 4 && < 5
, yesod-core >= 1.6 && < 1.7
, conduit
, data-default
, text
, time >= 1.1.4
, xml-conduit >= 1.0
, text
, containers
, data-default
, conduit
, xml-types
, yesod-core >= 1.6 && < 1.7
exposed-modules: Yesod.Sitemap
ghc-options: -Wall

Expand Down
Loading

0 comments on commit c88c201

Please sign in to comment.