update to 0.5.14
This commit is contained in:
parent
e3b7ce9959
commit
323f69c9bb
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
/http-client-0.5.7.0.tar.gz
|
||||
/http-client-0.5.7.1.tar.gz
|
||||
/http-client-0.5.13.1.tar.gz
|
||||
/http-client-0.5.14.tar.gz
|
||||
|
@ -7,8 +7,8 @@
|
||||
%bcond_with tests
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.5.13.1
|
||||
Release: 6%{?dist}
|
||||
Version: 0.5.14
|
||||
Release: 1%{?dist}
|
||||
Summary: A basic HTTP client engine
|
||||
|
||||
# Network/HTTP/Proxy.hs is BSD
|
||||
@ -16,6 +16,7 @@ License: MIT and BSD
|
||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||
# Begin cabal-rpm sources:
|
||||
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
||||
Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
|
||||
# End cabal-rpm sources
|
||||
|
||||
# Begin cabal-rpm deps:
|
||||
@ -84,6 +85,7 @@ documentation.
|
||||
%prep
|
||||
# Begin cabal-rpm setup:
|
||||
%setup -q -n %{pkgver}
|
||||
cp -bp %{SOURCE1} %{pkg_name}.cabal
|
||||
# End cabal-rpm setup
|
||||
|
||||
|
||||
@ -131,6 +133,9 @@ grep "%{_docdir}/ghc/html/libraries/%{pkgver}" %{name}-devel.files > %{name}-dev
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu Feb 21 2019 Jens Petersen <petersen@redhat.com> - 0.5.14-1
|
||||
- update to 0.5.14
|
||||
|
||||
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.5.13.1-6
|
||||
- refresh to cabal-rpm-0.13
|
||||
|
||||
|
142
http-client-0.5.14.cabal
Normal file
142
http-client-0.5.14.cabal
Normal file
@ -0,0 +1,142 @@
|
||||
name: http-client
|
||||
version: 0.5.14
|
||||
x-revision: 1
|
||||
synopsis: An HTTP client engine
|
||||
description: Hackage documentation generation is not reliable. For up to date documentation, please see: <http://www.stackage.org/package/http-client>.
|
||||
homepage: https://github.com/snoyberg/http-client
|
||||
license: MIT
|
||||
license-file: LICENSE
|
||||
author: Michael Snoyman
|
||||
maintainer: michael@snoyman.com
|
||||
category: Network
|
||||
build-type: Simple
|
||||
extra-source-files: README.md ChangeLog.md
|
||||
cabal-version: >=1.10
|
||||
|
||||
flag network-uri
|
||||
description: Get Network.URI from the network-uri package
|
||||
default: True
|
||||
|
||||
library
|
||||
hs-source-dirs: ., publicsuffixlist
|
||||
exposed-modules: Network.HTTP.Client
|
||||
Network.HTTP.Client.MultipartFormData
|
||||
Network.HTTP.Client.Internal
|
||||
other-modules: Network.HTTP.Client.Body
|
||||
Network.HTTP.Client.Connection
|
||||
Network.HTTP.Client.Cookies
|
||||
Network.HTTP.Client.Core
|
||||
Network.HTTP.Client.Headers
|
||||
Network.HTTP.Client.Manager
|
||||
Network.HTTP.Client.Request
|
||||
Network.HTTP.Client.Response
|
||||
Network.HTTP.Client.Types
|
||||
Network.HTTP.Client.Util
|
||||
Network.HTTP.Proxy
|
||||
Network.PublicSuffixList.Lookup
|
||||
Network.PublicSuffixList.Types
|
||||
Network.PublicSuffixList.Serialize
|
||||
Network.PublicSuffixList.DataStructure
|
||||
Data.KeyedPool
|
||||
build-depends: base >= 4.6 && < 5
|
||||
, bytestring >= 0.10
|
||||
, text >= 0.11
|
||||
, http-types >= 0.8
|
||||
, blaze-builder >= 0.4.0.0 && < 0.5
|
||||
, time >= 1.2
|
||||
, network >= 2.4
|
||||
, streaming-commons >= 0.1.0.2 && < 0.3
|
||||
, containers >= 0.5
|
||||
, transformers
|
||||
, deepseq >= 1.3 && <1.5
|
||||
, case-insensitive >= 1.0
|
||||
, memory >= 0.7
|
||||
, cookie
|
||||
, exceptions >= 0.4
|
||||
, array
|
||||
, random
|
||||
, filepath
|
||||
, mime-types
|
||||
, ghc-prim
|
||||
, stm >= 2.3
|
||||
if flag(network-uri)
|
||||
build-depends: network >= 2.6, network-uri >= 2.6
|
||||
else
|
||||
build-depends: network < 2.6
|
||||
|
||||
if !impl(ghc>=8.0)
|
||||
build-depends: semigroups >= 0.16.1
|
||||
|
||||
-- See build failure at https://travis-ci.org/snoyberg/http-client/jobs/359573631
|
||||
if impl(ghc < 7.10)
|
||||
-- Disable building with GHC before 8.0.2.
|
||||
-- Due to a cabal bug, do not use buildable: False,
|
||||
-- but instead give it an impossible constraint.
|
||||
-- See: https://github.com/haskell-infra/hackage-trustees/issues/165
|
||||
build-depends: unsupported-ghc-version > 1 && < 1
|
||||
|
||||
|
||||
if os(mingw32)
|
||||
build-depends: Win32, safe
|
||||
|
||||
default-language: Haskell2010
|
||||
|
||||
test-suite spec
|
||||
main-is: Spec.hs
|
||||
type: exitcode-stdio-1.0
|
||||
hs-source-dirs: test
|
||||
default-language: Haskell2010
|
||||
other-modules: Network.HTTP.ClientSpec
|
||||
build-depends: base
|
||||
, http-client
|
||||
, hspec
|
||||
, monad-control
|
||||
, bytestring
|
||||
, text
|
||||
, http-types
|
||||
, blaze-builder
|
||||
, time
|
||||
, network
|
||||
, containers
|
||||
, transformers
|
||||
, deepseq
|
||||
, case-insensitive
|
||||
, zlib
|
||||
, async
|
||||
, streaming-commons >= 0.1.1
|
||||
|
||||
|
||||
test-suite spec-nonet
|
||||
main-is: Spec.hs
|
||||
type: exitcode-stdio-1.0
|
||||
hs-source-dirs: test-nonet
|
||||
default-language: Haskell2010
|
||||
ghc-options: -threaded
|
||||
if os(windows)
|
||||
cpp-options: -DWINDOWS
|
||||
other-modules: Network.HTTP.ClientSpec
|
||||
Network.HTTP.Client.ResponseSpec
|
||||
Network.HTTP.Client.BodySpec
|
||||
Network.HTTP.Client.HeadersSpec
|
||||
Network.HTTP.Client.RequestSpec
|
||||
Network.HTTP.Client.RequestBodySpec
|
||||
Network.HTTP.Client.CookieSpec
|
||||
build-depends: base
|
||||
, http-client
|
||||
, hspec
|
||||
, monad-control
|
||||
, bytestring
|
||||
, text
|
||||
, http-types
|
||||
, blaze-builder
|
||||
, time
|
||||
, network
|
||||
, network-uri
|
||||
, containers
|
||||
, transformers
|
||||
, deepseq
|
||||
, case-insensitive
|
||||
, zlib
|
||||
, async
|
||||
, streaming-commons >= 0.1.1
|
||||
, directory
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (http-client-0.5.13.1.tar.gz) = 135bbbbc32dbc1613308c55347f4d8a0ba577d6ca8b522eb3aac7b96df92577a3c101464e89fc77c348b18cf040104176036adee7710bd9b4ce31aa0e5012e0a
|
||||
SHA512 (http-client-0.5.14.tar.gz) = bf4a42572da5d5711e5feb4c8c285fafebe8563ae3b4eadba02a8f3d54fb33a1c1bf1085e9b2531ee9218151211910b4df9a0d8eb8dc73502c79f7db3be34ff9
|
||||
|
Loading…
Reference in New Issue
Block a user