osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-HTTP revision:27, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-HTTP?expand=0&rev=106
This commit is contained in:
Peter Simons 2023-02-03 09:19:02 +00:00 committed by Git OBS Bridge
parent 710eef5b60
commit 1bdfa3a8eb
5 changed files with 48 additions and 62 deletions

3
HTTP-4000.3.16.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d6091c037871ac3d08d021c906206174567499d5a26a6cb804cf530cd590fe2d
size 74516

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:df31d8efec775124dab856d7177ddcba31be9f9e0836ebdab03d94392f2dd453
size 74330

View File

@ -1,7 +1,7 @@
Cabal-Version: >= 1.10
Name: HTTP Name: HTTP
Version: 4000.4.1 Version: 4000.3.16
x-revision: 1 x-revision: 1
Cabal-Version: >= 1.10
Build-type: Simple Build-type: Simple
License: BSD3 License: BSD3
License-file: LICENSE License-file: LICENSE
@ -57,15 +57,16 @@ Description:
Extra-Source-Files: CHANGES Extra-Source-Files: CHANGES
tested-with: tested-with: GHC==9.0.1, GHC==8.10.4, GHC==8.8.3, GHC==8.6.5, GHC==8.4.4, GHC==8.2.2, GHC==8.0.2, GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2, GHC==7.2.2, GHC==7.0.4
GHC==9.2.1, GHC==9.0.1,
GHC==8.10.7, GHC==8.8.4, GHC==8.6.5, GHC==8.4.4, GHC==8.2.2, GHC==8.0.2,
GHC==7.10.3, GHC==7.8.4, GHC==7.6.3
Source-Repository head Source-Repository head
type: git type: git
location: https://github.com/haskell/HTTP.git location: https://github.com/haskell/HTTP.git
Flag mtl1
description: Use the old mtl version 1.
default: False
Flag warn-as-error Flag warn-as-error
default: False default: False
description: Build with warnings-as-errors description: Build with warnings-as-errors
@ -109,26 +110,23 @@ Library
-- note the test harness constraints should be kept in sync with these -- note the test harness constraints should be kept in sync with these
-- where dependencies are shared -- where dependencies are shared
build-depends: Build-depends: base >= 4.3.0.0 && < 4.17, parsec >= 2.0 && < 3.2
base >= 4.6.0.0 && < 4.18 Build-depends: array >= 0.3.0.2 && < 0.6, bytestring >= 0.9.1.5 && < 0.12
, array >= 0.3.0.2 && < 0.6 Build-depends: time >= 1.1.2.3 && < 1.13
, bytestring >= 0.9.1.5 && < 0.12
, parsec >= 2.0 && < 3.2
, time >= 1.1.2.3 && < 1.13
, transformers >= 0.2.0.0 && < 0.7
-- transformers-0.2.0.0 is the first to have Control.Monad.IO.Class
-- The following dependencies are refined by flags, but they should
-- still be mentioned here on the top-level.
, mtl >= 2.0.0.0 && < 2.4
, network >= 2.4 && < 3.2
default-language: Haskell98 default-language: Haskell98
default-extensions: FlexibleInstances default-extensions: FlexibleInstances
if flag(network-uri) if flag(mtl1)
Build-depends: network-uri == 2.6.*, network >= 2.6 Build-depends: mtl >= 1.1.1.0 && < 1.2
CPP-Options: -DMTL1
else else
Build-depends: network < 2.6 Build-depends: mtl >= 2.0 && < 2.3
if flag(network-uri)
Build-depends: network-uri == 2.6.*, network >= 2.6 && < 3.2
else
Build-depends: network >= 2.4 && < 2.6
if flag(warn-as-error) if flag(warn-as-error)
ghc-options: -Werror ghc-options: -Werror
@ -149,37 +147,37 @@ Test-Suite test
ghc-options: -Wall ghc-options: -Wall
build-depends: -- note: version constraints for dependencies shared with the library
HTTP -- should be the same
-- constraints inherited from HTTP build-depends: HTTP,
, base HUnit >= 1.2.0.1 && < 1.7,
, bytestring httpd-shed >= 0.4 && < 0.5,
, mtl mtl >= 1.1.1.0 && < 2.3,
, network bytestring >= 0.9.1.5 && < 0.12,
-- extra dependencies deepseq >= 1.3.0.0 && < 1.5,
, deepseq >= 1.3.0.0 && < 1.5 pureMD5 >= 0.2.4 && < 2.2,
, httpd-shed >= 0.4 && < 0.5 base >= 4.3.0.0 && < 4.16,
, HUnit >= 1.2.0.1 && < 1.7 split >= 0.1.3 && < 0.3,
, pureMD5 >= 0.2.4 && < 2.2 test-framework >= 0.2.0 && < 0.9,
, split >= 0.1.3 && < 0.3 test-framework-hunit >= 0.3.0 && <0.4
, test-framework >= 0.2.0 && < 0.9
, test-framework-hunit >= 0.3.0 && < 0.4
if flag(network-uri) if flag(network-uri)
Build-depends: network-uri == 2.6.*, network >= 2.6 Build-depends: network-uri == 2.6.*, network >= 2.6 && < 3.2
else else
Build-depends: network < 2.6 Build-depends: network >= 2.3 && < 2.6
if flag(warp-tests) if flag(warp-tests)
CPP-Options: -DWARP_TESTS CPP-Options: -DWARP_TESTS
build-depends: build-depends:
case-insensitive >= 0.4.0.1 && < 1.3 case-insensitive >= 0.4.0.1 && < 1.3,
, conduit >= 1.0.8 && < 1.4 http-types >= 0.8.0 && < 1.0,
, http-types >= 0.8.0 && < 1.0 wai >= 2.1.0 && < 3.3,
, wai >= 2.1.0 && < 3.3 warp >= 2.1.0 && < 3.4
, warp >= 2.1.0 && < 3.4
if flag(conduit10) if flag(conduit10)
build-depends: conduit < 1.1 build-depends:
conduit >= 1.0.8 && < 1.1
else else
build-depends: conduit >= 1.1, conduit-extra >= 1.1 && < 1.4 build-depends:
conduit >= 1.1 && < 1.4,
conduit-extra >= 1.1 && < 1.4

View File

@ -1,14 +1,3 @@
-------------------------------------------------------------------
Sun Aug 14 21:34:43 UTC 2022 - Peter Simons <psimons@suse.com>
- Update HTTP to version 4000.4.1 revision 1.
Version 4000.4.0: release 2022-02-22
* Restrict to GHC >=7.6 and associated cleanups (Andreas Abel)
* Drop deprecated instance Error (Andreas Abel)
* Preparation for mtl-2.3 (Andreas Abel)
* General tidying (Andreas Abel)
* Support GHC 9.2 (Bodigrim)
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Oct 12 11:34:09 UTC 2021 - psimons@suse.com Tue Oct 12 11:34:09 UTC 2021 - psimons@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package ghc-HTTP # spec file for package ghc-HTTP
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2021 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -19,7 +19,7 @@
%global pkg_name HTTP %global pkg_name HTTP
%bcond_with tests %bcond_with tests
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 4000.4.1 Version: 4000.3.16
Release: 0 Release: 0
Summary: A library for client-side HTTP Summary: A library for client-side HTTP
License: BSD-3-Clause License: BSD-3-Clause
@ -35,7 +35,6 @@ BuildRequires: ghc-network-uri-devel
BuildRequires: ghc-parsec-devel BuildRequires: ghc-parsec-devel
BuildRequires: ghc-rpm-macros BuildRequires: ghc-rpm-macros
BuildRequires: ghc-time-devel BuildRequires: ghc-time-devel
BuildRequires: ghc-transformers-devel
ExcludeArch: %{ix86} ExcludeArch: %{ix86}
%if %{with tests} %if %{with tests}
BuildRequires: ghc-HUnit-devel BuildRequires: ghc-HUnit-devel