openSUSE Commits
Threads by month
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
August 2022
- 1 participants
- 2549 discussions
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-hslua for openSUSE:Factory checked in at 2022-08-01 21:29:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-hslua (Old)
and /work/SRC/openSUSE:Factory/.ghc-hslua.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-hslua"
Mon Aug 1 21:29:52 2022 rev:25 rq:987043 version:2.2.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-hslua/ghc-hslua.changes 2022-02-11 23:10:56.843212848 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-hslua.new.1533/ghc-hslua.changes 2022-08-01 21:30:00.617589563 +0200
@@ -1,0 +2,29 @@
+Sun Jun 19 11:56:53 UTC 2022 - Peter Simons <psimons(a)suse.com>
+
+- Update hslua to version 2.2.1.
+ ## hslua-2.2.1
+
+ Released 2022-06-19.
+
+ - Require hslua-core-2.2.1.
+
+ - Require hslua-marshalling-2.2.0.1.
+
+ - Relax upper bound for mtl, allow mtl-2.3.
+
+-------------------------------------------------------------------
+Fri May 20 09:02:24 UTC 2022 - Peter Simons <psimons(a)suse.com>
+
+- Update hslua to version 2.2.0 revision 1.
+ Upstream has revised the Cabal build instructions on Hackage.
+
+-------------------------------------------------------------------
+Sat Feb 19 14:38:11 UTC 2022 - Peter Simons <psimons(a)suse.com>
+
+- Update hslua to version 2.2.0.
+ Upstream has edited the change log file since the last release in
+ a non-trivial way, i.e. they did more than just add a new entry
+ at the top. You can review the file at:
+ http://hackage.haskell.org/package/hslua-2.2.0/src/CHANGELOG.md
+
+-------------------------------------------------------------------
Old:
----
hslua-2.1.0.tar.gz
New:
----
hslua-2.2.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-hslua.spec ++++++
--- /var/tmp/diff_new_pack.jJu5vN/_old 2022-08-01 21:30:02.693595518 +0200
+++ /var/tmp/diff_new_pack.jJu5vN/_new 2022-08-01 21:30:02.701595541 +0200
@@ -19,7 +19,7 @@
%global pkg_name hslua
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 2.1.0
+Version: 2.2.1
Release: 0
Summary: Bindings to Lua, an embeddable scripting language
License: MIT
@@ -29,6 +29,7 @@
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-exceptions-devel
+BuildRequires: ghc-hslua-aeson-devel
BuildRequires: ghc-hslua-classes-devel
BuildRequires: ghc-hslua-core-devel
BuildRequires: ghc-hslua-marshalling-devel
@@ -39,6 +40,10 @@
BuildRequires: ghc-text-devel
ExcludeArch: %{ix86}
%if %{with tests}
+BuildRequires: ghc-QuickCheck-devel
+BuildRequires: ghc-lua-arbitrary-devel
+BuildRequires: ghc-lua-devel
+BuildRequires: ghc-quickcheck-instances-devel
BuildRequires: ghc-tasty-devel
BuildRequires: ghc-tasty-hslua-devel
BuildRequires: ghc-tasty-hunit-devel
@@ -51,8 +56,8 @@
It builds upon the /lua/ package, which allows to bundle a Lua interpreter with
a Haskell program.
-<https://github.com/hslua/hslua-examples Example programs> are available in a
-separate repository.
+Example programs are can be found in the 'hslua-examples' subdir of the project
+<https://github.com/hslua/hslua repository>.
%package devel
Summary: Haskell %{pkg_name} library development files
++++++ hslua-2.1.0.tar.gz -> hslua-2.2.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hslua-2.1.0/CHANGELOG.md new/hslua-2.2.1/CHANGELOG.md
--- old/hslua-2.1.0/CHANGELOG.md 2001-09-09 03:46:40.000000000 +0200
+++ new/hslua-2.2.1/CHANGELOG.md 2001-09-09 03:46:40.000000000 +0200
@@ -2,9 +2,27 @@
`hslua` uses [PVP Versioning][].
+## hslua-2.2.1
+
+Released 2022-06-19.
+
+- Require hslua-core-2.2.1.
+
+- Require hslua-marshalling-2.2.0.1.
+
+- Relax upper bound for mtl, allow mtl-2.3.
+
+## hslua-2.2.0
+
+Released 2022-02-19.
+
+- Require version 2.2.* of all hslua-* packages.
+
+- Include hslua-aeson, and re-export `HsLua.Aeson` from `HsLua`.
+
## hslua-2.1.0
-Released 29-01-2022.
+Released 2022-01-29.
- Update to hslua-objectorientation 2.1.0. This entails changes
to `deftype'` and `deftypeGeneric`, switching the order of
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hslua-2.1.0/README.md new/hslua-2.2.1/README.md
--- old/hslua-2.1.0/README.md 2001-09-09 03:46:40.000000000 +0200
+++ new/hslua-2.2.1/README.md 2001-09-09 03:46:40.000000000 +0200
@@ -28,7 +28,7 @@
software and embedded devices. This package provides Haskell bindings to Lua,
enable coders to embed the language into their programs, making them scriptable.
-HsLua ships with batteries included and includes Lua 5.3.6. Cabal
+HsLua ships with batteries included and includes Lua 5.4.4. Cabal
flags make it easy to compile against a system-wide Lua
installation.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hslua-2.1.0/hslua.cabal new/hslua-2.2.1/hslua.cabal
--- old/hslua-2.1.0/hslua.cabal 2001-09-09 03:46:40.000000000 +0200
+++ new/hslua-2.2.1/hslua.cabal 2001-09-09 03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
cabal-version: 2.2
name: hslua
-version: 2.1.0
+version: 2.2.1
synopsis: Bindings to Lua, an embeddable scripting language
description: HsLua provides wrappers and helpers
to bridge Haskell and <https://www.lua.org/ Lua>.
@@ -8,8 +8,9 @@
It builds upon the /lua/ package, which allows to bundle
a Lua interpreter with a Haskell program.
.
- <https://github.com/hslua/hslua-examples Example programs>
- are available in a separate repository.
+ Example programs are can be found in the @hslua-examples@
+ subdir of the project
+ <https://github.com/hslua/hslua repository>.
homepage: https://hslua.org/
bug-reports: https://github.com/hslua/hslua/issues
license: MIT
@@ -30,8 +31,8 @@
, GHC == 8.6.5
, GHC == 8.8.4
, GHC == 8.10.7
- , GHC == 9.0.1
- , GHC == 9.2.1
+ , GHC == 9.0.2
+ , GHC == 9.2.3
source-repository head
type: git
@@ -43,12 +44,13 @@
, bytestring >= 0.10.2 && < 0.12
, containers >= 0.5.9 && < 0.7
, exceptions >= 0.8 && < 0.11
- , hslua-core >= 2.1 && < 2.2
- , hslua-classes >= 2.1 && < 2.2
- , hslua-marshalling >= 2.1 && < 2.2
- , hslua-objectorientation >= 2.1 && < 2.2
- , hslua-packaging >= 2.1 && < 2.2
- , mtl >= 2.2 && < 2.3
+ , hslua-aeson >= 2.2 && < 2.3
+ , hslua-core >= 2.2.1 && < 2.3
+ , hslua-classes >= 2.2 && < 2.3
+ , hslua-marshalling >= 2.2.1 && < 2.3
+ , hslua-objectorientation >= 2.2.1 && < 2.3
+ , hslua-packaging >= 2.2.1 && < 2.3
+ , mtl >= 2.2 && < 2.4
, text >= 1.2 && < 2.1
ghc-options: -Wall
-Wincomplete-record-updates
@@ -67,7 +69,8 @@
import: common-options
exposed-modules: HsLua
, HsLua.Util
- reexported-modules: HsLua.Core
+ reexported-modules: HsLua.Aeson
+ , HsLua.Core
, HsLua.Core.Error
, HsLua.Core.Types
, HsLua.Core.Utf8
@@ -93,6 +96,13 @@
other-modules: HsLuaTests
, HsLua.UtilTests
build-depends: hslua
+ -- The lua package is needed only to check for it's
+ -- version so we know whether to expect behavior of
+ -- Lua 5.3 or Lua 5.4.
+ , lua >= 2.0
+ , lua-arbitrary >= 1.0
+ , QuickCheck >= 2.7
+ , quickcheck-instances >= 0.3
, tasty-hslua
, tasty >= 0.11
, tasty-hunit >= 0.9
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hslua-2.1.0/src/HsLua.hs new/hslua-2.2.1/src/HsLua.hs
--- old/hslua-2.1.0/src/HsLua.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/hslua-2.2.1/src/HsLua.hs 2001-09-09 03:46:40.000000000 +0200
@@ -28,6 +28,8 @@
, module HsLua.Class.Invokable
, module HsLua.Class.Peekable
, module HsLua.Class.Pushable
+ -- * Marshal to and from JSON-like structures
+ , module HsLua.Aeson
-- * Utility functions
, getglobal'
, setglobal'
@@ -36,6 +38,7 @@
import Prelude hiding (compare, concat)
+import HsLua.Aeson
import HsLua.Core
import HsLua.Class.Exposable
import HsLua.Class.Invokable
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-hi-file-parser for openSUSE:Factory checked in at 2022-08-01 21:29:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-hi-file-parser (Old)
and /work/SRC/openSUSE:Factory/.ghc-hi-file-parser.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-hi-file-parser"
Mon Aug 1 21:29:51 2022 rev:7 rq:987041 version:0.1.2.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-hi-file-parser/ghc-hi-file-parser.changes 2021-04-24 23:10:08.115478135 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-hi-file-parser.new.1533/ghc-hi-file-parser.changes 2022-08-01 21:29:59.489586326 +0200
@@ -1,0 +2,6 @@
+Mon May 23 17:33:43 UTC 2022 - Peter Simons <psimons(a)suse.com>
+
+- Update hi-file-parser to version 0.1.2.0 revision 1.
+ Upstream has revised the Cabal build instructions on Hackage.
+
+-------------------------------------------------------------------
New:
----
hi-file-parser.cabal
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-hi-file-parser.spec ++++++
--- /var/tmp/diff_new_pack.vByeUp/_old 2022-08-01 21:29:59.981587738 +0200
+++ /var/tmp/diff_new_pack.vByeUp/_new 2022-08-01 21:29:59.985587749 +0200
@@ -1,7 +1,7 @@
#
# spec file for package ghc-hi-file-parser
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -25,6 +25,7 @@
License: BSD-3-Clause
URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{ve…
+Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal…
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-binary-devel
BuildRequires: ghc-bytestring-devel
@@ -52,6 +53,7 @@
%prep
%autosetup -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build
++++++ hi-file-parser.cabal ++++++
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.33.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: 683b7e0e97c0e1fcb98a9024ffc0a5f9051cd019a6f4d164f2c77d55a16f83c4
name: hi-file-parser
version: 0.1.2.0
x-revision: 1
synopsis: Parser for GHC's hi files
description: Please see the README on Github at <https://github.com/commercialhaskell/hi-file-parser/blob/master/README.md>
category: Development
homepage: https://github.com/commercialhaskell/hi-file-parser#readme
bug-reports: https://github.com/commercialhaskell/hi-file-parser/issues
author: Hussein Ait-Lahcen
maintainer: michael(a)snoyman.com
license: BSD3
license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
ChangeLog.md
test-files/iface/x64/ghc844/Main.hi
test-files/iface/x64/ghc844/X.hi
test-files/iface/x64/ghc822/Main.hi
test-files/iface/x64/ghc822/X.hi
test-files/iface/x64/ghc864/Main.hi
test-files/iface/x64/ghc864/X.hi
test-files/iface/x64/ghc884/Main.hi
test-files/iface/x64/ghc884/X.hi
test-files/iface/x64/ghc8104/Main.hi
test-files/iface/x64/ghc8104/X.hi
test-files/iface/x64/ghc901/Main.hi
test-files/iface/x64/ghc901/X.hi
test-files/iface/x32/ghc844/Main.hi
test-files/iface/x32/ghc802/Main.hi
test-files/iface/x32/ghc7103/Main.hi
test-files/iface/x32/ghc822/Main.hi
source-repository head
type: git
location: https://github.com/commercialhaskell/hi-file-parser
library
exposed-modules:
HiFileParser
other-modules:
Paths_hi_file_parser
hs-source-dirs:
src
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints
build-depends:
base >=4.10 && <5
, binary
, bytestring
, mtl < 2.3
, rio
, vector
default-language: Haskell2010
test-suite hi-file-parser-test
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
HiFileParserSpec
Paths_hi_file_parser
hs-source-dirs:
test
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N
build-depends:
base >=4.10 && <5
, binary
, bytestring
, hi-file-parser
, hspec
, mtl
, rio
, vector
default-language: Haskell2010
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-hedgehog-quickcheck for openSUSE:Factory checked in at 2022-08-01 21:29:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-hedgehog-quickcheck (Old)
and /work/SRC/openSUSE:Factory/.ghc-hedgehog-quickcheck.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-hedgehog-quickcheck"
Mon Aug 1 21:29:50 2022 rev:3 rq:987040 version:0.1.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-hedgehog-quickcheck/ghc-hedgehog-quickcheck.changes 2022-02-11 23:10:53.951204485 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-hedgehog-quickcheck.new.1533/ghc-hedgehog-quickcheck.changes 2022-08-01 21:29:58.545583618 +0200
@@ -1,0 +2,6 @@
+Sun May 22 14:24:46 UTC 2022 - Peter Simons <psimons(a)suse.com>
+
+- Update hedgehog-quickcheck to version 0.1.1 revision 3.
+ Upstream has revised the Cabal build instructions on Hackage.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-hedgehog-quickcheck.spec ++++++
--- /var/tmp/diff_new_pack.XEB36R/_old 2022-08-01 21:29:59.097585201 +0200
+++ /var/tmp/diff_new_pack.XEB36R/_new 2022-08-01 21:29:59.105585224 +0200
@@ -24,7 +24,7 @@
License: BSD-3-Clause
URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{ve…
-Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal…
+Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/3.cabal…
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-hedgehog-devel
++++++ hedgehog-quickcheck.cabal ++++++
--- /var/tmp/diff_new_pack.XEB36R/_old 2022-08-01 21:29:59.145585339 +0200
+++ /var/tmp/diff_new_pack.XEB36R/_new 2022-08-01 21:29:59.149585351 +0200
@@ -1,5 +1,5 @@
version: 0.1.1
-x-revision: 2
+x-revision: 3
name:
hedgehog-quickcheck
@@ -34,19 +34,12 @@
build-type:
Simple
tested-with:
- GHC == 7.10.2
- , GHC == 7.10.3
- , GHC == 8.0.1
- , GHC == 8.0.2
+ GHC == 8.0.2
, GHC == 8.2.2
- , GHC == 8.4.1
- , GHC == 8.4.2
- , GHC == 8.4.3
, GHC == 8.4.4
- , GHC == 8.6.1
- , GHC == 8.6.2
- , GHC == 8.6.3
- , GHC == 8.6.4
+ , GHC == 8.6.5
+ , GHC == 8.8.3
+ , GHC == 8.10.1
extra-source-files:
README.md
CHANGELOG.md
@@ -60,7 +53,7 @@
base >= 3 && < 5
, hedgehog >= 0.5 && < 1.2
, QuickCheck >= 2.7 && < 2.15
- , transformers >= 0.4 && < 0.6
+ , transformers >= 0.4 && < 0.7
ghc-options:
-Wall
@@ -71,5 +64,6 @@
exposed-modules:
Hedgehog.Gen.QuickCheck
- Test.QuickCheck.Hedgehog
+ Test.QuickCheck.Hedgehog
+(No newline at EOF)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-hedgehog for openSUSE:Factory checked in at 2022-08-01 21:29:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-hedgehog (Old)
and /work/SRC/openSUSE:Factory/.ghc-hedgehog.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-hedgehog"
Mon Aug 1 21:29:49 2022 rev:7 rq:987039 version:1.1.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-hedgehog/ghc-hedgehog.changes 2022-02-11 23:10:53.259202482 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-hedgehog.new.1533/ghc-hedgehog.changes 2022-08-01 21:29:57.785581438 +0200
@@ -1,0 +2,12 @@
+Sun May 22 14:23:14 UTC 2022 - Peter Simons <psimons(a)suse.com>
+
+- Update hedgehog to version 1.1.1 revision 2.
+ Upstream has revised the Cabal build instructions on Hackage.
+
+-------------------------------------------------------------------
+Wed Mar 9 09:33:49 UTC 2022 - Peter Simons <psimons(a)suse.com>
+
+- Update hedgehog to version 1.1.1 revision 1.
+ Upstream has revised the Cabal build instructions on Hackage.
+
+-------------------------------------------------------------------
New:
----
hedgehog.cabal
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-hedgehog.spec ++++++
--- /var/tmp/diff_new_pack.SoFwom/_old 2022-08-01 21:29:58.265582815 +0200
+++ /var/tmp/diff_new_pack.SoFwom/_new 2022-08-01 21:29:58.269582826 +0200
@@ -25,6 +25,7 @@
License: BSD-3-Clause
URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{ve…
+Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal…
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-ansi-terminal-devel
BuildRequires: ghc-async-devel
@@ -78,6 +79,7 @@
%prep
%autosetup -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build
++++++ hedgehog.cabal ++++++
version: 1.1.1
x-revision: 2
name:
hedgehog
author:
Jacob Stanley
maintainer:
Jacob Stanley <jacob(a)stanley.io>
homepage:
https://hedgehog.qa
bug-reports:
https://github.com/hedgehogqa/haskell-hedgehog/issues
synopsis:
Release with confidence.
description:
<http://hedgehog.qa/ Hedgehog> automatically generates a comprehensive array
of test cases, exercising your software in ways human testers would never
imagine.
.
Generate hundreds of test cases automatically, exposing even the
most insidious of corner cases. Failures are automatically simplified, giving
developers coherent, intelligible error messages.
.
To get started quickly, see the <https://github.com/hedgehogqa/haskell-hedgehog/tree/master/hedgehog-example examples>.
category:
Testing
license:
BSD3
license-file:
LICENSE
cabal-version:
>= 1.10
build-type:
Simple
tested-with:
GHC == 8.0.2
, GHC == 8.2.2
, GHC == 8.4.4
, GHC == 8.6.5
, GHC == 8.8.3
, GHC == 8.10.1
, GHC == 9.2.1
extra-source-files:
README.md
CHANGELOG.md
source-repository head
type: git
location: git://github.com/hedgehogqa/haskell-hedgehog.git
library
build-depends:
-- GHC 8.0.1 / base-4.9.0.0 (May 2016)
base >= 4.9 && < 5
, ansi-terminal >= 0.6 && < 0.12
, async >= 2.0 && < 2.3
, barbies >= 1.0 && < 2.1
, bytestring >= 0.10 && < 0.12
, concurrent-output >= 1.7 && < 1.11
, containers >= 0.4 && < 0.7
, deepseq >= 1.1.0.0 && < 1.5
, directory >= 1.2 && < 1.4
, erf >= 2.0 && < 2.1
, exceptions >= 0.7 && < 0.11
, lifted-async >= 0.7 && < 0.11
, mmorph >= 1.0 && < 1.3
, monad-control >= 1.0 && < 1.1
, mtl >= 2.1 && < 2.4
, pretty-show >= 1.6 && < 1.11
, primitive >= 0.6 && < 0.8
, random >= 1.1 && < 1.3
, resourcet >= 1.1 && < 1.3
, stm >= 2.4 && < 2.6
, template-haskell >= 2.10 && < 2.19
, text >= 1.1 && < 2.1
, time >= 1.4 && < 1.13
, transformers >= 0.5 && < 0.7
, transformers-base >= 0.4.5.1 && < 0.5
, wl-pprint-annotated >= 0.0 && < 0.2
ghc-options:
-Wall
hs-source-dirs:
src
exposed-modules:
Hedgehog
Hedgehog.Gen
Hedgehog.Main
Hedgehog.Range
Hedgehog.Internal.Barbie
Hedgehog.Internal.Config
Hedgehog.Internal.Discovery
Hedgehog.Internal.Distributive
Hedgehog.Internal.Exception
Hedgehog.Internal.Gen
Hedgehog.Internal.HTraversable
Hedgehog.Internal.Opaque
Hedgehog.Internal.Prelude
Hedgehog.Internal.Property
Hedgehog.Internal.Queue
Hedgehog.Internal.Range
Hedgehog.Internal.Region
Hedgehog.Internal.Report
Hedgehog.Internal.Runner
Hedgehog.Internal.Seed
Hedgehog.Internal.Show
Hedgehog.Internal.Shrink
Hedgehog.Internal.Source
Hedgehog.Internal.State
Hedgehog.Internal.TH
Hedgehog.Internal.Tree
Hedgehog.Internal.Tripping
default-language:
Haskell2010
test-suite test
type:
exitcode-stdio-1.0
main-is:
test.hs
ghc-options:
-Wall -threaded -O2
hs-source-dirs:
test
other-modules:
Test.Hedgehog.Applicative
Test.Hedgehog.Confidence
Test.Hedgehog.Filter
Test.Hedgehog.Maybe
Test.Hedgehog.Seed
Test.Hedgehog.Text
Test.Hedgehog.Zip
build-depends:
hedgehog
, base >= 3 && < 5
, containers >= 0.4 && < 0.7
, mmorph >= 1.0 && < 1.3
, mtl >= 2.1 && < 2.4
, pretty-show >= 1.6 && < 1.11
, text >= 1.1 && < 2.1
, transformers >= 0.3 && < 0.7
default-language:
Haskell2010
(No newline at EOF)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-hackage-security for openSUSE:Factory checked in at 2022-08-01 21:29:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-hackage-security (Old)
and /work/SRC/openSUSE:Factory/.ghc-hackage-security.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-hackage-security"
Mon Aug 1 21:29:48 2022 rev:26 rq:987038 version:0.6.2.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-hackage-security/ghc-hackage-security.changes 2022-02-26 17:02:44.639542202 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-hackage-security.new.1533/ghc-hackage-security.changes 2022-08-01 21:29:57.097579464 +0200
@@ -1,0 +2,6 @@
+Wed May 25 10:55:41 UTC 2022 - Peter Simons <psimons(a)suse.com>
+
+- Update hackage-security to version 0.6.2.1 revision 2.
+ Upstream has revised the Cabal build instructions on Hackage.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-hackage-security.spec ++++++
--- /var/tmp/diff_new_pack.neX4I3/_old 2022-08-01 21:29:57.605580921 +0200
+++ /var/tmp/diff_new_pack.neX4I3/_new 2022-08-01 21:29:57.613580944 +0200
@@ -25,7 +25,7 @@
License: BSD-3-Clause
URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{ve…
-Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal…
+Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal…
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-Cabal-syntax-devel
BuildRequires: ghc-base16-bytestring-devel
++++++ hackage-security.cabal ++++++
--- /var/tmp/diff_new_pack.neX4I3/_old 2022-08-01 21:29:57.657581070 +0200
+++ /var/tmp/diff_new_pack.neX4I3/_new 2022-08-01 21:29:57.665581093 +0200
@@ -1,297 +1,297 @@
-cabal-version: 1.12
-name: hackage-security
-version: 0.6.2.1
-x-revision: 1
-
-synopsis: Hackage security library
-description: The hackage security library provides both server and
- client utilities for securing the Hackage package server
- (<http://hackage.haskell.org/>). It is based on The Update
- Framework (<http://theupdateframework.com/>), a set of
- recommendations developed by security researchers at
- various universities in the US as well as developers on the
- Tor project (<https://www.torproject.org/>).
- .
- The current implementation supports only index signing,
- thereby enabling untrusted mirrors. It does not yet provide
- facilities for author package signing.
- .
- The library has two main entry points:
- "Hackage.Security.Client" is the main entry point for
- clients (the typical example being @cabal@), and
- "Hackage.Security.Server" is the main entry point for
- servers (the typical example being @hackage-server@).
-license: BSD3
-license-file: LICENSE
-author: Edsko de Vries
-maintainer: cabal-devel(a)haskell.org
-copyright: Copyright 2015-2022 Well-Typed LLP
-category: Distribution
-homepage: https://github.com/haskell/hackage-security
-bug-reports: https://github.com/haskell/hackage-security/issues
-build-type: Simple
-
-tested-with:
- GHC==9.2.1, GHC==9.0.2,
- 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, GHC==7.4.2
-
-extra-source-files:
- ChangeLog.md
-
-source-repository head
- type: git
- location: https://github.com/haskell/hackage-security.git
-
-flag base48
- description: Are we using @base@ 4.8 or later?
- manual: False
-
-flag use-network-uri
- description: Are we using @network-uri@?
- manual: False
-
-flag Cabal-syntax
- description: Are we using Cabal-syntax?
- manual: False
- default: False
-
-flag old-directory
- description: Use @directory@ < 1.2 and @old-time@
- manual: False
- default: False
-
-flag mtl21
- description: Use @mtl@ < 2.2 and @mtl-compat@
- manual: False
- default: False
-
-flag lukko
- description: Use @lukko@ for file-locking, otherwise use @GHC.IO.Handle.Lock@
- manual: True
- default: True
-
-library
- -- Most functionality is exported through the top-level entry points .Client
- -- and .Server; the other exported modules are intended for qualified imports.
- exposed-modules: Hackage.Security.Client
- Hackage.Security.Client.Formats
- Hackage.Security.Client.Repository
- Hackage.Security.Client.Repository.Cache
- Hackage.Security.Client.Repository.Local
- Hackage.Security.Client.Repository.Remote
- Hackage.Security.Client.Repository.HttpLib
- Hackage.Security.Client.Verify
- Hackage.Security.JSON
- Hackage.Security.Key.Env
- Hackage.Security.Server
- Hackage.Security.Trusted
- Hackage.Security.TUF.FileMap
- Hackage.Security.Util.Checked
- Hackage.Security.Util.Path
- Hackage.Security.Util.Pretty
- Hackage.Security.Util.Some
- Text.JSON.Canonical
- other-modules: Hackage.Security.Key
- Hackage.Security.Trusted.TCB
- Hackage.Security.TUF
- Hackage.Security.TUF.Common
- Hackage.Security.TUF.FileInfo
- Hackage.Security.TUF.Header
- Hackage.Security.TUF.Layout.Cache
- Hackage.Security.TUF.Layout.Index
- Hackage.Security.TUF.Layout.Repo
- Hackage.Security.TUF.Mirrors
- Hackage.Security.TUF.Paths
- Hackage.Security.TUF.Patterns
- Hackage.Security.TUF.Root
- Hackage.Security.TUF.Signed
- Hackage.Security.TUF.Snapshot
- Hackage.Security.TUF.Targets
- Hackage.Security.TUF.Timestamp
- Hackage.Security.Util.Base64
- Hackage.Security.Util.Exit
- Hackage.Security.Util.IO
- Hackage.Security.Util.JSON
- Hackage.Security.Util.Lens
- Hackage.Security.Util.Stack
- Hackage.Security.Util.TypedEmbedded
- MyPrelude
- -- We support ghc 7.4 (bundled with Cabal 1.14) and up
- build-depends: base >= 4.5 && < 4.17,
- base16-bytestring >= 0.1.1 && < 1.1,
- base64-bytestring >= 1.0 && < 1.3,
- bytestring >= 0.9 && < 0.12,
- containers >= 0.4 && < 0.7,
- ed25519 >= 0.0 && < 0.1,
- filepath >= 1.2 && < 1.5,
- parsec >= 3.1 && < 3.2,
- pretty >= 1.0 && < 1.2,
- cryptohash-sha256 >= 0.11 && < 0.12,
- -- 0.4.2 introduces TarIndex, 0.4.4 introduces more
- -- functionality, 0.5.0 changes type of serialise
- tar >= 0.5 && < 0.6,
- template-haskell >= 2.7 && < 2.19,
- time >= 1.2 && < 1.13,
- transformers >= 0.3 && < 0.6,
- zlib >= 0.5 && < 0.7,
- -- whatever versions are bundled with ghc:
- ghc-prim
- if flag(old-directory)
- build-depends: directory >= 1.1.0.2 && < 1.2,
- old-time >= 1 && < 1.2
- else
- build-depends: directory >= 1.2 && < 1.4
-
- if flag(mtl21)
- build-depends: mtl >= 2.1 && < 2.2,
- mtl-compat >= 0.2 && < 0.3
- else
- build-depends: mtl >= 2.2 && < 2.3
-
- if flag(lukko)
- build-depends: lukko >= 0.1 && < 0.2
- else
- build-depends: base >= 4.10
-
- if flag(Cabal-syntax)
- build-depends: Cabal-syntax >= 3.7 && < 3.9
- else
- build-depends: Cabal >= 1.14 && < 1.26
- || >= 2.0 && < 2.6
- || >= 3.0 && < 3.7,
- Cabal-syntax < 3.7
-
- hs-source-dirs: src
- default-language: Haskell2010
- default-extensions: DefaultSignatures
- DeriveDataTypeable
- DeriveFunctor
- FlexibleContexts
- FlexibleInstances
- GADTs
- GeneralizedNewtypeDeriving
- KindSignatures
- MultiParamTypeClasses
- NamedFieldPuns
- NoImplicitPrelude
- NoMonomorphismRestriction
- RankNTypes
- RecordWildCards
- ScopedTypeVariables
- StandaloneDeriving
- TupleSections
- TypeFamilies
- TypeOperators
- ViewPatterns
- other-extensions: BangPatterns
- CPP
- OverlappingInstances
- PackageImports
- UndecidableInstances
-
- -- use the new stage1/cross-compile-friendly DeriveLift extension for GHC 8.0+
- if impl(ghc >= 8.0)
- other-extensions: DeriveLift
- else
- other-extensions: TemplateHaskell
-
- ghc-options: -Wall
-
- if flag(base48)
- build-depends: base >= 4.8
- else
- build-depends: base < 4.8, old-locale == 1.0.*
-
- -- The URI type got split out off the network package after version 2.5, and
- -- moved to a separate network-uri package. Since we don't need the rest of
- -- network here, it would suffice to rely only on network-uri:
- --
- -- > if flag(use-network-uri)
- -- > build-depends: network-uri >= 2.6 && < 2.7
- -- > else
- -- > build-depends: network >= 2.5 && < 2.6
- --
- -- However, if we did the same in hackage-security-HTTP, Cabal would consider
- -- those two flag choices (hackage-security:use-network-uri and
- -- hackage-security-HTTP:use-network-uri) to be completely independent; but
- -- they aren't: if it links hackage-security against network-uri and
- -- hackage-security-HTTP against network, we will get type errors when
- -- hackage-security-HTTP tries to pass a URI to hackage-security.
- --
- -- It might seem we can solve this problem by re-exporting the URI type in
- -- hackage-security and avoid the dependency in hackage-security-HTTP
- -- altogether. However, this merely shifts the problem: hackage-security-HTTP
- -- relies on the HTTP library which--surprise!--makes the same choice between
- -- depending on network or network-uri. Cabal will not notice that we cannot
- -- build hackage-security and hackage-security-HTTP against network-uri but
- -- HTTP against network.
- --
- -- We solve the problem by explicitly relying on network-2.6 when choosing
- -- network-uri. This dependency is redundant, strictly speaking. However, it
- -- serves as a proxy for forcing flag choices: since all packages in a
- -- solution must be linked against the same version of network, having one
- -- version of network in one branch of the conditional and another version of
- -- network in the other branch forces the choice to be consistent throughout.
- -- (Note that the HTTP library does the same thing, though in this case the
- -- dependency in network is not redundant.)
- if flag(use-network-uri)
- build-depends: network-uri >= 2.6 && < 2.7,
- network >= 2.6 && < 2.9
- || >= 3.0 && < 3.2
- else
- build-depends: network >= 2.5 && < 2.6
-
- if impl(ghc >= 7.8)
- other-extensions: RoleAnnotations
-
- if impl(ghc >= 7.10)
- other-extensions: AllowAmbiguousTypes
- StaticPointers
-
-test-suite TestSuite
- type: exitcode-stdio-1.0
- main-is: TestSuite.hs
- other-modules: TestSuite.HttpMem
- TestSuite.InMemCache
- TestSuite.InMemRepo
- TestSuite.InMemRepository
- TestSuite.JSON
- TestSuite.PrivateKeys
- TestSuite.Util.StrictMVar
-
- -- inherited constraints from lib:hackage-security component
- build-depends: hackage-security,
- base,
- Cabal,
- containers,
- bytestring,
- network-uri,
- tar,
- text,
- time,
- zlib
-
- if flag(Cabal-syntax)
- build-depends: Cabal-syntax
-
- -- dependencies exclusive to test-suite
- build-depends: tasty >= 1.2 && < 1.5,
- tasty-hunit == 0.10.*,
- tasty-quickcheck == 0.10.*,
- QuickCheck >= 2.11 && <2.15,
- aeson == 1.4.* || == 1.5.* || == 2.0.*,
- vector == 0.12.*,
- unordered-containers >=0.2.8.0 && <0.3,
- temporary >= 1.2 && < 1.4
-
- hs-source-dirs: tests
- default-language: Haskell2010
- default-extensions: FlexibleContexts
- GADTs
- KindSignatures
- RankNTypes
- RecordWildCards
- ScopedTypeVariables
- ghc-options: -Wall
+cabal-version: 1.12
+name: hackage-security
+version: 0.6.2.1
+x-revision: 2
+
+synopsis: Hackage security library
+description: The hackage security library provides both server and
+ client utilities for securing the Hackage package server
+ (<http://hackage.haskell.org/>). It is based on The Update
+ Framework (<http://theupdateframework.com/>), a set of
+ recommendations developed by security researchers at
+ various universities in the US as well as developers on the
+ Tor project (<https://www.torproject.org/>).
+ .
+ The current implementation supports only index signing,
+ thereby enabling untrusted mirrors. It does not yet provide
+ facilities for author package signing.
+ .
+ The library has two main entry points:
+ "Hackage.Security.Client" is the main entry point for
+ clients (the typical example being @cabal@), and
+ "Hackage.Security.Server" is the main entry point for
+ servers (the typical example being @hackage-server@).
+license: BSD3
+license-file: LICENSE
+author: Edsko de Vries
+maintainer: cabal-devel(a)haskell.org
+copyright: Copyright 2015-2022 Well-Typed LLP
+category: Distribution
+homepage: https://github.com/haskell/hackage-security
+bug-reports: https://github.com/haskell/hackage-security/issues
+build-type: Simple
+
+tested-with:
+ GHC==9.2.1, GHC==9.0.2,
+ 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, GHC==7.4.2
+
+extra-source-files:
+ ChangeLog.md
+
+source-repository head
+ type: git
+ location: https://github.com/haskell/hackage-security.git
+
+flag base48
+ description: Are we using @base@ 4.8 or later?
+ manual: False
+
+flag use-network-uri
+ description: Are we using @network-uri@?
+ manual: False
+
+flag Cabal-syntax
+ description: Are we using Cabal-syntax?
+ manual: False
+ default: False
+
+flag old-directory
+ description: Use @directory@ < 1.2 and @old-time@
+ manual: False
+ default: False
+
+flag mtl21
+ description: Use @mtl@ < 2.2 and @mtl-compat@
+ manual: False
+ default: False
+
+flag lukko
+ description: Use @lukko@ for file-locking, otherwise use @GHC.IO.Handle.Lock@
+ manual: True
+ default: True
+
+library
+ -- Most functionality is exported through the top-level entry points .Client
+ -- and .Server; the other exported modules are intended for qualified imports.
+ exposed-modules: Hackage.Security.Client
+ Hackage.Security.Client.Formats
+ Hackage.Security.Client.Repository
+ Hackage.Security.Client.Repository.Cache
+ Hackage.Security.Client.Repository.Local
+ Hackage.Security.Client.Repository.Remote
+ Hackage.Security.Client.Repository.HttpLib
+ Hackage.Security.Client.Verify
+ Hackage.Security.JSON
+ Hackage.Security.Key.Env
+ Hackage.Security.Server
+ Hackage.Security.Trusted
+ Hackage.Security.TUF.FileMap
+ Hackage.Security.Util.Checked
+ Hackage.Security.Util.Path
+ Hackage.Security.Util.Pretty
+ Hackage.Security.Util.Some
+ Text.JSON.Canonical
+ other-modules: Hackage.Security.Key
+ Hackage.Security.Trusted.TCB
+ Hackage.Security.TUF
+ Hackage.Security.TUF.Common
+ Hackage.Security.TUF.FileInfo
+ Hackage.Security.TUF.Header
+ Hackage.Security.TUF.Layout.Cache
+ Hackage.Security.TUF.Layout.Index
+ Hackage.Security.TUF.Layout.Repo
+ Hackage.Security.TUF.Mirrors
+ Hackage.Security.TUF.Paths
+ Hackage.Security.TUF.Patterns
+ Hackage.Security.TUF.Root
+ Hackage.Security.TUF.Signed
+ Hackage.Security.TUF.Snapshot
+ Hackage.Security.TUF.Targets
+ Hackage.Security.TUF.Timestamp
+ Hackage.Security.Util.Base64
+ Hackage.Security.Util.Exit
+ Hackage.Security.Util.IO
+ Hackage.Security.Util.JSON
+ Hackage.Security.Util.Lens
+ Hackage.Security.Util.Stack
+ Hackage.Security.Util.TypedEmbedded
+ MyPrelude
+ -- We support ghc 7.4 (bundled with Cabal 1.14) and up
+ build-depends: base >= 4.5 && < 4.17,
+ base16-bytestring >= 0.1.1 && < 1.1,
+ base64-bytestring >= 1.0 && < 1.3,
+ bytestring >= 0.9 && < 0.12,
+ containers >= 0.4 && < 0.7,
+ ed25519 >= 0.0 && < 0.1,
+ filepath >= 1.2 && < 1.5,
+ parsec >= 3.1 && < 3.2,
+ pretty >= 1.0 && < 1.2,
+ cryptohash-sha256 >= 0.11 && < 0.12,
+ -- 0.4.2 introduces TarIndex, 0.4.4 introduces more
+ -- functionality, 0.5.0 changes type of serialise
+ tar >= 0.5 && < 0.6,
+ template-haskell >= 2.7 && < 2.19,
+ time >= 1.2 && < 1.13,
+ transformers >= 0.3 && < 0.6,
+ zlib >= 0.5 && < 0.7,
+ -- whatever versions are bundled with ghc:
+ ghc-prim
+ if flag(old-directory)
+ build-depends: directory >= 1.1.0.2 && < 1.2,
+ old-time >= 1 && < 1.2
+ else
+ build-depends: directory >= 1.2 && < 1.4
+
+ if flag(mtl21)
+ build-depends: mtl >= 2.1 && < 2.2,
+ mtl-compat >= 0.2 && < 0.3
+ else
+ build-depends: mtl >= 2.2 && < 2.3
+
+ if flag(lukko)
+ build-depends: lukko >= 0.1 && < 0.2
+ else
+ build-depends: base >= 4.10
+
+ if flag(Cabal-syntax)
+ build-depends: Cabal-syntax >= 3.7 && < 3.10
+ else
+ build-depends: Cabal >= 1.14 && < 1.26
+ || >= 2.0 && < 2.6
+ || >= 3.0 && < 3.7,
+ Cabal-syntax < 3.7
+
+ hs-source-dirs: src
+ default-language: Haskell2010
+ default-extensions: DefaultSignatures
+ DeriveDataTypeable
+ DeriveFunctor
+ FlexibleContexts
+ FlexibleInstances
+ GADTs
+ GeneralizedNewtypeDeriving
+ KindSignatures
+ MultiParamTypeClasses
+ NamedFieldPuns
+ NoImplicitPrelude
+ NoMonomorphismRestriction
+ RankNTypes
+ RecordWildCards
+ ScopedTypeVariables
+ StandaloneDeriving
+ TupleSections
+ TypeFamilies
+ TypeOperators
+ ViewPatterns
+ other-extensions: BangPatterns
+ CPP
+ OverlappingInstances
+ PackageImports
+ UndecidableInstances
+
+ -- use the new stage1/cross-compile-friendly DeriveLift extension for GHC 8.0+
+ if impl(ghc >= 8.0)
+ other-extensions: DeriveLift
+ else
+ other-extensions: TemplateHaskell
+
+ ghc-options: -Wall
+
+ if flag(base48)
+ build-depends: base >= 4.8
+ else
+ build-depends: base < 4.8, old-locale == 1.0.*
+
+ -- The URI type got split out off the network package after version 2.5, and
+ -- moved to a separate network-uri package. Since we don't need the rest of
+ -- network here, it would suffice to rely only on network-uri:
+ --
+ -- > if flag(use-network-uri)
+ -- > build-depends: network-uri >= 2.6 && < 2.7
+ -- > else
+ -- > build-depends: network >= 2.5 && < 2.6
+ --
+ -- However, if we did the same in hackage-security-HTTP, Cabal would consider
+ -- those two flag choices (hackage-security:use-network-uri and
+ -- hackage-security-HTTP:use-network-uri) to be completely independent; but
+ -- they aren't: if it links hackage-security against network-uri and
+ -- hackage-security-HTTP against network, we will get type errors when
+ -- hackage-security-HTTP tries to pass a URI to hackage-security.
+ --
+ -- It might seem we can solve this problem by re-exporting the URI type in
+ -- hackage-security and avoid the dependency in hackage-security-HTTP
+ -- altogether. However, this merely shifts the problem: hackage-security-HTTP
+ -- relies on the HTTP library which--surprise!--makes the same choice between
+ -- depending on network or network-uri. Cabal will not notice that we cannot
+ -- build hackage-security and hackage-security-HTTP against network-uri but
+ -- HTTP against network.
+ --
+ -- We solve the problem by explicitly relying on network-2.6 when choosing
+ -- network-uri. This dependency is redundant, strictly speaking. However, it
+ -- serves as a proxy for forcing flag choices: since all packages in a
+ -- solution must be linked against the same version of network, having one
+ -- version of network in one branch of the conditional and another version of
+ -- network in the other branch forces the choice to be consistent throughout.
+ -- (Note that the HTTP library does the same thing, though in this case the
+ -- dependency in network is not redundant.)
+ if flag(use-network-uri)
+ build-depends: network-uri >= 2.6 && < 2.7,
+ network >= 2.6 && < 2.9
+ || >= 3.0 && < 3.2
+ else
+ build-depends: network >= 2.5 && < 2.6
+
+ if impl(ghc >= 7.8)
+ other-extensions: RoleAnnotations
+
+ if impl(ghc >= 7.10)
+ other-extensions: AllowAmbiguousTypes
+ StaticPointers
+
+test-suite TestSuite
+ type: exitcode-stdio-1.0
+ main-is: TestSuite.hs
+ other-modules: TestSuite.HttpMem
+ TestSuite.InMemCache
+ TestSuite.InMemRepo
+ TestSuite.InMemRepository
+ TestSuite.JSON
+ TestSuite.PrivateKeys
+ TestSuite.Util.StrictMVar
+
+ -- inherited constraints from lib:hackage-security component
+ build-depends: hackage-security,
+ base,
+ Cabal,
+ containers,
+ bytestring,
+ network-uri,
+ tar,
+ text,
+ time,
+ zlib
+
+ if flag(Cabal-syntax)
+ build-depends: Cabal-syntax
+
+ -- dependencies exclusive to test-suite
+ build-depends: tasty >= 1.2 && < 1.5,
+ tasty-hunit == 0.10.*,
+ tasty-quickcheck == 0.10.*,
+ QuickCheck >= 2.11 && <2.15,
+ aeson == 1.4.* || == 1.5.* || == 2.0.*,
+ vector == 0.12.*,
+ unordered-containers >=0.2.8.0 && <0.3,
+ temporary >= 1.2 && < 1.4
+
+ hs-source-dirs: tests
+ default-language: Haskell2010
+ default-extensions: FlexibleContexts
+ GADTs
+ KindSignatures
+ RankNTypes
+ RecordWildCards
+ ScopedTypeVariables
+ ghc-options: -Wall
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-generic-lens-core for openSUSE:Factory checked in at 2022-08-01 21:29:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-generic-lens-core (Old)
and /work/SRC/openSUSE:Factory/.ghc-generic-lens-core.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-generic-lens-core"
Mon Aug 1 21:29:47 2022 rev:7 rq:987037 version:2.2.1.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-generic-lens-core/ghc-generic-lens-core.changes 2022-02-11 23:10:49.463191504 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-generic-lens-core.new.1533/ghc-generic-lens-core.changes 2022-08-01 21:29:56.173576813 +0200
@@ -1,0 +2,6 @@
+Sun May 8 17:00:32 UTC 2022 - Peter Simons <psimons(a)suse.com>
+
+- Update generic-lens-core to version 2.2.1.0 revision 1.
+ Upstream has revised the Cabal build instructions on Hackage.
+
+-------------------------------------------------------------------
New:
----
generic-lens-core.cabal
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-generic-lens-core.spec ++++++
--- /var/tmp/diff_new_pack.YJLPuq/_old 2022-08-01 21:29:56.865578798 +0200
+++ /var/tmp/diff_new_pack.YJLPuq/_new 2022-08-01 21:29:56.869578809 +0200
@@ -24,6 +24,7 @@
License: BSD-3-Clause
URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{ve…
+Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal…
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-indexed-profunctors-devel
BuildRequires: ghc-rpm-macros
@@ -53,6 +54,7 @@
%prep
%autosetup -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build
++++++ generic-lens-core.cabal ++++++
name: generic-lens-core
version: 2.2.1.0
x-revision: 1
synopsis: Generically derive traversals, lenses and prisms.
description: This library uses GHC.Generics to derive efficient optics (traversals, lenses and prisms) for algebraic data types in a type-directed way, with a focus on good type inference and error messages when possible.
.
This package is the shared internal logic of the
@<https://hackage.haskell.org/package/generic-lens generic-lens>@
and
@<https://hackage.haskell.org/package/generic-optics generic-optics>@
libraries.
homepage: https://github.com/kcsongor/generic-lens
license: BSD3
license-file: LICENSE
author: Csongor Kiss
maintainer: kiss.csongor.kiss(a)gmail.com
category: Generics, Records, Lens
build-type: Simple
cabal-version: >= 1.10
Tested-With: GHC == 8.4.1, GHC == 8.4.4, GHC == 8.6.5, GHC == 8.8.4, GHC == 8.10.3, GHC == 9.0.1, GHC == 9.2.1
extra-source-files: ChangeLog.md
library
exposed-modules: Data.Generics.Internal.GenericN
, Data.Generics.Internal.Profunctor.Lens
, Data.Generics.Internal.Profunctor.Prism
, Data.Generics.Internal.Profunctor.Iso
, Data.Generics.Internal.VL.Traversal
, Data.GenericLens.Internal
, Data.Generics.Internal.Families
, Data.Generics.Internal.Families.Changing
, Data.Generics.Internal.Families.Collect
, Data.Generics.Internal.Families.Has
, Data.Generics.Internal.Errors
, Data.Generics.Internal.Void
, Data.Generics.Internal.Wrapped
, Data.Generics.Sum.Internal.Constructors
, Data.Generics.Sum.Internal.Typed
, Data.Generics.Sum.Internal.Subtype
, Data.Generics.Product.Internal.Param
, Data.Generics.Product.Internal.Types
, Data.Generics.Product.Internal.Fields
, Data.Generics.Product.Internal.Typed
, Data.Generics.Product.Internal.Positions
, Data.Generics.Product.Internal.GLens
, Data.Generics.Product.Internal.Subtype
, Data.Generics.Product.Internal.HList
build-depends: base >= 4.11 && < 5
, text >= 1.2 && < 1.3 || >= 2.0 && < 2.1
, indexed-profunctors >= 0.1 && < 1.0
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
source-repository head
type: git
location: https://github.com/kcsongor/generic-lens
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-generic-lens for openSUSE:Factory checked in at 2022-08-01 21:29:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-generic-lens (Old)
and /work/SRC/openSUSE:Factory/.ghc-generic-lens.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-generic-lens"
Mon Aug 1 21:29:46 2022 rev:7 rq:987036 version:2.2.1.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-generic-lens/ghc-generic-lens.changes 2022-02-11 23:10:48.799189583 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-generic-lens.new.1533/ghc-generic-lens.changes 2022-08-01 21:29:55.477574816 +0200
@@ -1,0 +2,6 @@
+Sun May 8 17:09:24 UTC 2022 - Peter Simons <psimons(a)suse.com>
+
+- Update generic-lens to version 2.2.1.0 revision 1.
+ Upstream has revised the Cabal build instructions on Hackage.
+
+-------------------------------------------------------------------
New:
----
generic-lens.cabal
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-generic-lens.spec ++++++
--- /var/tmp/diff_new_pack.dUwFWt/_old 2022-08-01 21:29:55.873575952 +0200
+++ /var/tmp/diff_new_pack.dUwFWt/_new 2022-08-01 21:29:55.889575998 +0200
@@ -25,6 +25,7 @@
License: BSD-3-Clause
URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{ve…
+Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal…
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-generic-lens-core-devel
BuildRequires: ghc-profunctors-devel
@@ -59,6 +60,7 @@
%prep
%autosetup -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build
++++++ generic-lens.cabal ++++++
name: generic-lens
version: 2.2.1.0
x-revision: 1
synopsis: Generically derive traversals, lenses and prisms.
description: This library uses GHC.Generics to derive efficient optics (traversals, lenses and prisms) for algebraic data types in a type-directed way, with a focus on good type inference and error messages when possible.
.
The library exposes a van Laarhoven interface. For an alternative interface, supporting an opaque optic type, see
@<https://hackage.haskell.org/package/generic-optics generic-optics>@.
homepage: https://github.com/kcsongor/generic-lens
license: BSD3
license-file: LICENSE
author: Csongor Kiss
maintainer: kiss.csongor.kiss(a)gmail.com
category: Generics, Records, Lens
build-type: Simple
cabal-version: >= 1.10
Tested-With: GHC == 8.4.1, GHC == 8.4.4, GHC == 8.6.5, GHC == 8.8.4, GHC == 8.10.3, GHC == 9.0.1, GHC == 9.2.1
extra-source-files: examples/StarWars.hs
, examples/Examples.hs
, ChangeLog.md
library
exposed-modules: Data.Generics.Wrapped
, Data.Generics.Product
, Data.Generics.Product.Any
, Data.Generics.Product.Fields
, Data.Generics.Product.Param
, Data.Generics.Product.Positions
, Data.Generics.Product.Subtype
, Data.Generics.Product.Typed
, Data.Generics.Product.Types
, Data.Generics.Product.HList
, Data.Generics.Labels
, Data.Generics.Sum
, Data.Generics.Sum.Any
, Data.Generics.Sum.Constructors
, Data.Generics.Sum.Typed
, Data.Generics.Sum.Subtype
, Data.Generics.Internal.VL
, Data.Generics.Internal.VL.Lens
, Data.Generics.Internal.VL.Prism
, Data.Generics.Internal.VL.Iso
build-depends: base >= 4.11 && < 5
, generic-lens-core == 2.2.1.0
, profunctors
, text >= 1.2 && < 1.3 || >= 2.0 && < 2.1
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
test-suite inspection-tests
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
other-modules: Util Test24 Test88 Test25 Test40 Test62 Test63 CustomChildren
build-depends: base >= 4.11 && <= 5.0
, generic-lens
, lens
, profunctors
, inspection-testing >= 0.2
, HUnit
default-language: Haskell2010
ghc-options: -Wall
test-suite generic-lens-bifunctor
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Bifunctor.hs
build-depends: base >= 4.11 && <= 5.0
, generic-lens
, lens
, HUnit
default-language: Haskell2010
ghc-options: -Wall
test-suite generic-lens-syb-tree
type: exitcode-stdio-1.0
hs-source-dirs: test/syb
main-is: Tree.hs
build-depends: base >= 4.11 && <= 5.0
, generic-lens
, lens
, profunctors
, HUnit
default-language: Haskell2010
ghc-options: -Wall
test-suite doctests
default-language: Haskell2010
type: exitcode-stdio-1.0
ghc-options: -threaded
main-is: doctest.hs
build-depends: base >4 && <5, doctest
hs-source-dirs: examples
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-fsnotify for openSUSE:Factory checked in at 2022-08-01 21:29:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-fsnotify (Old)
and /work/SRC/openSUSE:Factory/.ghc-fsnotify.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-fsnotify"
Mon Aug 1 21:29:46 2022 rev:11 rq:987035 version:0.3.0.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-fsnotify/ghc-fsnotify.changes 2020-12-22 11:39:43.841516678 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-fsnotify.new.1533/ghc-fsnotify.changes 2022-08-01 21:29:53.753569870 +0200
@@ -1,0 +2,6 @@
+Sat Apr 16 17:31:00 UTC 2022 - Peter Simons <psimons(a)suse.com>
+
+- Update fsnotify to version 0.3.0.1 revision 2.
+ Upstream has revised the Cabal build instructions on Hackage.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-fsnotify.spec ++++++
--- /var/tmp/diff_new_pack.GpTDze/_old 2022-08-01 21:29:54.321571499 +0200
+++ /var/tmp/diff_new_pack.GpTDze/_new 2022-08-01 21:29:54.333571534 +0200
@@ -1,7 +1,7 @@
#
# spec file for package ghc-fsnotify
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -25,7 +25,7 @@
License: BSD-3-Clause
URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{ve…
-Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal…
+Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal…
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-async-devel
BuildRequires: ghc-bytestring-devel
++++++ fsnotify.cabal ++++++
--- /var/tmp/diff_new_pack.GpTDze/_old 2022-08-01 21:29:54.389571694 +0200
+++ /var/tmp/diff_new_pack.GpTDze/_new 2022-08-01 21:29:54.393571706 +0200
@@ -1,6 +1,6 @@
Name: fsnotify
Version: 0.3.0.1
-x-revision: 1
+x-revision: 2
Author: Mark Dittmer <mark.s.dittmer(a)gmail.com>, Niklas Broberg
Maintainer: Tom McLaughlin <tom(a)codedown.io>
License: BSD3
@@ -25,7 +25,7 @@
Build-Depends: base >= 4.8 && < 5
, bytestring >= 0.10.2
, containers >= 0.4
- , directory >= 1.1.0.0
+ , directory >= 1.2.7.0
, filepath >= 1.3.0.0
, text >= 0.11.0
, time >= 1.1
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-free for openSUSE:Factory checked in at 2022-08-01 21:29:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-free (Old)
and /work/SRC/openSUSE:Factory/.ghc-free.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-free"
Mon Aug 1 21:29:45 2022 rev:20 rq:987034 version:5.1.9
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-free/ghc-free.changes 2022-02-11 23:10:48.135187663 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-free.new.1533/ghc-free.changes 2022-08-01 21:29:52.805567150 +0200
@@ -1,0 +2,16 @@
+Sun Jun 26 16:02:11 UTC 2022 - Peter Simons <psimons(a)suse.com>
+
+- Update free to version 5.1.9.
+ 5.1.9 [2022.06.26]
+ ------------------
+ * Simplify the `Eq` and `Ord` instances for `FT` to avoid the use of
+ overlapping instances.
+
+ 5.1.8 [2022.05.07]
+ ------------------
+ * Generalize the `Monad` constraint in the type signatures for
+ `hoistFreeT` in `Control.Monad.Trans.Free` and `Control.Monad.Trans.Free.Ap`
+ to a `Functor` constraint.
+ * Allow building with `transformers-0.6.*` and `mtl-2.3.*`.
+
+-------------------------------------------------------------------
Old:
----
free-5.1.7.tar.gz
free.cabal
New:
----
free-5.1.9.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-free.spec ++++++
--- /var/tmp/diff_new_pack.fwzhDW/_old 2022-08-01 21:29:53.317568619 +0200
+++ /var/tmp/diff_new_pack.fwzhDW/_new 2022-08-01 21:29:53.321568631 +0200
@@ -1,7 +1,7 @@
#
# spec file for package ghc-free
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,13 +18,12 @@
%global pkg_name free
Name: ghc-%{pkg_name}
-Version: 5.1.7
+Version: 5.1.9
Release: 0
Summary: Monads for free
License: BSD-3-Clause
URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{ve…
-Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal…
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-comonad-devel
BuildRequires: ghc-containers-devel
@@ -73,7 +72,6 @@
%prep
%autosetup -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build
++++++ free-5.1.7.tar.gz -> free-5.1.9.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/free-5.1.7/CHANGELOG.markdown new/free-5.1.9/CHANGELOG.markdown
--- old/free-5.1.7/CHANGELOG.markdown 2001-09-09 03:46:40.000000000 +0200
+++ new/free-5.1.9/CHANGELOG.markdown 2001-09-09 03:46:40.000000000 +0200
@@ -1,3 +1,15 @@
+5.1.9 [2022.06.26]
+------------------
+* Simplify the `Eq` and `Ord` instances for `FT` to avoid the use of
+ overlapping instances.
+
+5.1.8 [2022.05.07]
+------------------
+* Generalize the `Monad` constraint in the type signatures for
+ `hoistFreeT` in `Control.Monad.Trans.Free` and `Control.Monad.Trans.Free.Ap`
+ to a `Functor` constraint.
+* Allow building with `transformers-0.6.*` and `mtl-2.3.*`.
+
5.1.7 [2021.04.30]
------------------
* Enable `FlexibleContexts` in `Control.Monad.Trans.Free.Church` to allow
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/free-5.1.7/examples/MandelbrotIter.lhs new/free-5.1.9/examples/MandelbrotIter.lhs
--- old/free-5.1.7/examples/MandelbrotIter.lhs 2001-09-09 03:46:40.000000000 +0200
+++ new/free-5.1.9/examples/MandelbrotIter.lhs 2001-09-09 03:46:40.000000000 +0200
@@ -6,8 +6,9 @@
> module Main where
> import Control.Arrow hiding (loop)
+> import Control.Monad.IO.Class (MonadIO(..))
> import Control.Monad.Trans.Iter
-> import "mtl" Control.Monad.Reader
+> import "mtl" Control.Monad.Reader (ReaderT, runReaderT, asks)
> import Data.Complex
> import Graphics.HGL (runGraphics, Window, withPen,
> line, RGB (RGB), RedrawMode (DoubleBuffered), openWindowEx,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/free-5.1.7/examples/PerfTH.hs new/free-5.1.9/examples/PerfTH.hs
--- old/free-5.1.7/examples/PerfTH.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/free-5.1.9/examples/PerfTH.hs 2001-09-09 03:46:40.000000000 +0200
@@ -10,11 +10,12 @@
import Data.IORef
import Data.Word
import Control.Monad
-import Control.Monad.State.Strict
+import Control.Monad.IO.Class (MonadIO(..))
import qualified Control.Monad.Fail as Fail (MonadFail)
import Control.Monad.Free
import Control.Monad.Free.TH
import qualified Control.Monad.Free.Church as Church
+import Control.Monad.Trans.State.Strict
import Text.Printf
-- | A data type representing basic commands for our performance-testing eDSL.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/free-5.1.7/examples/ValidationForm.hs new/free-5.1.9/examples/ValidationForm.hs
--- old/free-5.1.7/examples/ValidationForm.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/free-5.1.9/examples/ValidationForm.hs 2001-09-09 03:46:40.000000000 +0200
@@ -5,7 +5,8 @@
import Control.Applicative
#endif
import Control.Applicative.Free
-import Control.Monad.State
+import Control.Monad.IO.Class (MonadIO(..))
+import Control.Monad.Trans.State
import Data.Monoid (Sum(..))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/free-5.1.7/examples/free-examples.cabal new/free-5.1.9/examples/free-examples.cabal
--- old/free-5.1.7/examples/free-examples.cabal 2001-09-09 03:46:40.000000000 +0200
+++ new/free-5.1.9/examples/free-examples.cabal 2001-09-09 03:46:40.000000000 +0200
@@ -19,8 +19,9 @@
, GHC == 8.4.4
, GHC == 8.6.5
, GHC == 8.8.4
- , GHC == 8.10.4
- , GHC == 9.0.1
+ , GHC == 8.10.7
+ , GHC == 9.0.2
+ , GHC == 9.2.2
synopsis: Monads for free
description: Examples projects using @free@
build-type: Simple
@@ -31,7 +32,6 @@
flag mandelbrot-iter
default: True
- manual: True
library
hs-source-dirs: .
@@ -42,8 +42,8 @@
base == 4.*,
base-compat >= 0.6,
free,
- mtl >= 2.0.1 && < 2.3,
- transformers >= 0.2 && < 0.6
+ mtl >= 2.0.1 && < 2.4,
+ transformers >= 0.2 && < 0.7
executable free-mandelbrot-iter
if !flag(mandelbrot-iter)
@@ -53,11 +53,14 @@
main-is: MandelbrotIter.lhs
ghc-options: -Wall
build-depends:
- base == 4.*,
+ -- This unusually restrictive lower version bound on base is a workaround
+ -- for the fact that X11-1.10 does not build correctly on older versions of
+ -- base (see https://github.com/ekmett/free/runs/3235998897#step:18:237)
+ base >= 4.9 && < 5,
free,
HGL >= 3.2.3.2,
- mtl >= 2.0.1 && < 2.3,
- transformers >= 0.2 && < 0.6
+ mtl >= 2.0.1 && < 2.4,
+ transformers >= 0.2 && < 0.7
executable free-newton-coiter
hs-source-dirs: .
@@ -79,9 +82,8 @@
base == 4.*,
fail == 4.9.*,
free,
- mtl >= 2.0.1 && < 2.3,
rdtsc,
- transformers >= 0.2 && < 0.6
+ transformers >= 0.2 && < 0.7
executable free-retry-th
hs-source-dirs: .
@@ -93,8 +95,8 @@
base-compat >= 0.6,
fail == 4.9.*,
free,
- transformers >= 0.2 && < 0.6,
- transformers-compat >= 0.6.4 && < 0.7
+ transformers >= 0.2 && < 0.7,
+ transformers-compat >= 0.6.4 && < 0.8
executable free-teletype
hs-source-dirs: .
@@ -116,4 +118,4 @@
base == 4.*,
base-compat >= 0.6,
free,
- mtl >= 2.0.1 && < 2.3
+ transformers >= 0.2 && < 0.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/free-5.1.7/free.cabal new/free-5.1.9/free.cabal
--- old/free-5.1.7/free.cabal 2001-09-09 03:46:40.000000000 +0200
+++ new/free-5.1.9/free.cabal 2001-09-09 03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
name: free
category: Control, Monads
-version: 5.1.7
+version: 5.1.9
license: BSD3
cabal-version: 1.18
license-file: LICENSE
@@ -19,8 +19,9 @@
, GHC == 8.4.4
, GHC == 8.6.5
, GHC == 8.8.4
- , GHC == 8.10.4
- , GHC == 9.0.1
+ , GHC == 8.10.7
+ , GHC == 9.0.2
+ , GHC == 9.2.2
synopsis: Monads for free
description:
Free monads are useful for many tree-like structures and domain specific languages.
@@ -89,7 +90,7 @@
indexed-traversable >= 0.1.1 && < 0.2,
semigroupoids >= 5.3.5 && < 6,
th-abstraction >= 0.4.2.0 && < 0.5,
- transformers >= 0.3 && < 0.6,
+ transformers >= 0.3 && < 0.7,
transformers-base >= 0.4.5.2 && < 0.5,
template-haskell >= 2.7.0.0 && < 2.19
@@ -97,10 +98,10 @@
-- mtl-2.2.* requires transformers >=0.4
if impl(ghc >=7.10)
build-depends:
- mtl >= 2.2.2 && < 2.3
+ mtl >= 2.2.2 && < 2.4
else
build-depends:
- mtl >= 2.1.3.1 && < 2.3
+ mtl >= 2.1.3.1 && < 2.4
-- recent profunctors dropped support for GHCs older than 7.8
if impl(ghc >=7.8)
@@ -120,7 +121,7 @@
if impl(ghc >= 7.10)
build-depends: transformers >= 0.4.2.0
else
- build-depends: transformers-compat >= 0.5.1.0 && <0.7
+ build-depends: transformers-compat >= 0.5.1.0 && <0.8
exposed-modules:
Control.Applicative.Free
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/free-5.1.7/src/Control/Monad/Free/Class.hs new/free-5.1.9/src/Control/Monad/Free/Class.hs
--- old/free-5.1.7/src/Control/Monad/Free/Class.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/free-5.1.9/src/Control/Monad/Free/Class.hs 2001-09-09 03:46:40.000000000 +0200
@@ -3,13 +3,15 @@
{-# LANGUAGE FunctionalDependencies #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE Safe #-}
+{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE UndecidableInstances #-}
#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ >= 704
{-# LANGUAGE DefaultSignatures #-}
{-# LANGUAGE TypeFamilies #-}
#endif
+#if !(MIN_VERSION_transformers(0,6,0))
{-# OPTIONS_GHC -fno-warn-deprecations #-}
-{-# LANGUAGE Safe #-}
+#endif
#include "free-common.h"
-----------------------------------------------------------------------------
@@ -41,11 +43,14 @@
import qualified Control.Monad.Trans.RWS.Lazy as Lazy
import Control.Monad.Trans.Cont
import Control.Monad.Trans.Maybe
-import Control.Monad.Trans.List
-import Control.Monad.Trans.Error
import Control.Monad.Trans.Except
import Control.Monad.Trans.Identity
+#if !(MIN_VERSION_transformers(0,6,0))
+import Control.Monad.Trans.Error
+import Control.Monad.Trans.List
+#endif
+
#if !(MIN_VERSION_base(4,8,0))
import Control.Applicative
import Data.Monoid
@@ -139,18 +144,20 @@
instance (Functor f, MonadFree f m) => MonadFree f (IdentityT m) where
wrap = IdentityT . wrap . fmap runIdentityT
-instance (Functor f, MonadFree f m) => MonadFree f (ListT m) where
- wrap = ListT . wrap . fmap runListT
-
-instance (Functor f, MonadFree f m, Error e) => MonadFree f (ErrorT e m) where
- wrap = ErrorT . wrap . fmap runErrorT
-
instance (Functor f, MonadFree f m) => MonadFree f (ExceptT e m) where
wrap = ExceptT . wrap . fmap runExceptT
-- instance (Functor f, MonadFree f m) => MonadFree f (EitherT e m) where
-- wrap = EitherT . wrap . fmap runEitherT
+#if !(MIN_VERSION_transformers(0,6,0))
+instance (Functor f, MonadFree f m, Error e) => MonadFree f (ErrorT e m) where
+ wrap = ErrorT . wrap . fmap runErrorT
+
+instance (Functor f, MonadFree f m) => MonadFree f (ListT m) where
+ wrap = ListT . wrap . fmap runListT
+#endif
+
-- | A version of lift that can be used with just a Functor for f.
liftF :: (Functor f, MonadFree f m) => f a -> m a
liftF = wrap . fmap return
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/free-5.1.7/src/Control/Monad/Trans/Free/Ap.hs new/free-5.1.9/src/Control/Monad/Trans/Free/Ap.hs
--- old/free-5.1.7/src/Control/Monad/Trans/Free/Ap.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/free-5.1.9/src/Control/Monad/Trans/Free/Ap.hs 2001-09-09 03:46:40.000000000 +0200
@@ -318,7 +318,7 @@
instance (Applicative f, Applicative m, Fail.MonadFail m) => Fail.MonadFail (FreeT f m) where
fail e = FreeT (Fail.fail e)
-instance MonadTrans (FreeT f) where
+instance Applicative f => MonadTrans (FreeT f) where
lift = FreeT . liftM Pure
{-# INLINE lift #-}
@@ -418,9 +418,9 @@
-- | Lift a monad homomorphism from @m@ to @n@ into a monad homomorphism from @'FreeT' f m@ to @'FreeT' f n@
--
--- @'hoistFreeT' :: ('Monad' m, 'Functor' f) => (m ~> n) -> 'FreeT' f m ~> 'FreeT' f n@
-hoistFreeT :: (Monad m, Applicative f) => (forall a. m a -> n a) -> FreeT f m b -> FreeT f n b
-hoistFreeT mh = FreeT . mh . liftM (fmap (hoistFreeT mh)) . runFreeT
+-- @'hoistFreeT' :: ('Functor' m, 'Applicative' f) => (m ~> n) -> 'FreeT' f m ~> 'FreeT' f n@
+hoistFreeT :: (Functor m, Applicative f) => (forall a. m a -> n a) -> FreeT f m b -> FreeT f n b
+hoistFreeT mh = FreeT . mh . fmap (fmap (hoistFreeT mh)) . runFreeT
-- | Lift an applicative homomorphism from @f@ to @g@ into a monad homomorphism from @'FreeT' f m@ to @'FreeT' g m@
transFreeT :: (Monad m, Applicative g) => (forall a. f a -> g a) -> FreeT f m b -> FreeT g m b
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/free-5.1.7/src/Control/Monad/Trans/Free/Church.hs new/free-5.1.9/src/Control/Monad/Trans/Free/Church.hs
--- old/free-5.1.7/src/Control/Monad/Trans/Free/Church.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/free-5.1.9/src/Control/Monad/Trans/Free/Church.hs 2001-09-09 03:46:40.000000000 +0200
@@ -1,5 +1,4 @@
{-# LANGUAGE CPP #-}
-{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE RankNTypes #-}
@@ -97,10 +96,20 @@
compare1 x y = compare1 (fromFT x) (fromFT y)
#endif
-instance (Eq1 (FT f m), Eq a) => Eq (FT f m a) where
+instance ( Functor f, Monad m, Eq1 f, Eq1 m
+# if !(MIN_VERSION_base(4,8,0))
+ , Functor m
+# endif
+ , Eq a
+ ) => Eq (FT f m a) where
(==) = eq1
-instance (Ord1 (FT f m), Ord a) => Ord (FT f m a) where
+instance ( Functor f, Monad m, Ord1 f, Ord1 m
+# if !(MIN_VERSION_base(4,8,0))
+ , Functor m
+# endif
+ , Ord a
+ ) => Ord (FT f m a) where
compare = compare1
instance Functor (FT f m) where
@@ -172,7 +181,7 @@
local f = hoistFT (local f)
{-# INLINE local #-}
-instance (Functor f, MonadWriter w m) => MonadWriter w (FT f m) where
+instance (Functor f, Functor m, MonadWriter w m) => MonadWriter w (FT f m) where
tell = lift . tell
{-# INLINE tell #-}
listen = toFT . listen . fromFT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/free-5.1.7/src/Control/Monad/Trans/Free.hs new/free-5.1.9/src/Control/Monad/Trans/Free.hs
--- old/free-5.1.7/src/Control/Monad/Trans/Free.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/free-5.1.9/src/Control/Monad/Trans/Free.hs 2001-09-09 03:46:40.000000000 +0200
@@ -319,7 +319,7 @@
instance (Functor f, Fail.MonadFail m) => Fail.MonadFail (FreeT f m) where
fail e = FreeT (Fail.fail e)
-instance MonadTrans (FreeT f) where
+instance Functor f => MonadTrans (FreeT f) where
lift = FreeT . liftM Pure
{-# INLINE lift #-}
@@ -331,13 +331,13 @@
liftBase = lift . liftBase
{-# INLINE liftBase #-}
-instance (Functor f, MonadReader r m) => MonadReader r (FreeT f m) where
+instance (Functor f, Functor m, MonadReader r m) => MonadReader r (FreeT f m) where
ask = lift ask
{-# INLINE ask #-}
local f = hoistFreeT (local f)
{-# INLINE local #-}
-instance (Functor f, MonadWriter w m) => MonadWriter w (FreeT f m) where
+instance (Functor f, Functor m, MonadWriter w m) => MonadWriter w (FreeT f m) where
tell = lift . tell
{-# INLINE tell #-}
listen (FreeT m) = FreeT $ liftM concat' $ listen (fmap listen `liftM` m)
@@ -421,9 +421,9 @@
-- | Lift a monad homomorphism from @m@ to @n@ into a monad homomorphism from @'FreeT' f m@ to @'FreeT' f n@
--
--- @'hoistFreeT' :: ('Monad' m, 'Functor' f) => (m ~> n) -> 'FreeT' f m ~> 'FreeT' f n@
-hoistFreeT :: (Monad m, Functor f) => (forall a. m a -> n a) -> FreeT f m b -> FreeT f n b
-hoistFreeT mh = FreeT . mh . liftM (fmap (hoistFreeT mh)) . runFreeT
+-- @'hoistFreeT' :: ('Functor' m, 'Functor' f) => (m ~> n) -> 'FreeT' f m ~> 'FreeT' f n@
+hoistFreeT :: (Functor m, Functor f) => (forall a. m a -> n a) -> FreeT f m b -> FreeT f n b
+hoistFreeT mh = FreeT . mh . fmap (fmap (hoistFreeT mh)) . runFreeT
-- | The very definition of a free monad transformer is that given a natural
-- transformation you get a monad transformer homomorphism.
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-either for openSUSE:Factory checked in at 2022-08-01 21:29:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-either (Old)
and /work/SRC/openSUSE:Factory/.ghc-either.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-either"
Mon Aug 1 21:29:44 2022 rev:18 rq:987033 version:5.0.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-either/ghc-either.changes 2020-12-22 11:38:58.269470748 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-either.new.1533/ghc-either.changes 2022-08-01 21:29:51.989564809 +0200
@@ -1,0 +2,9 @@
+Sun May 8 00:39:36 UTC 2022 - Peter Simons <psimons(a)suse.com>
+
+- Update either to version 5.0.2.
+ 5.0.2 [2022.05.07]
+ ------------------
+ * Tweak error messages of `fromRight'` and `fromLeft'` for clarity.
+ * Allow building with `mtl-2.3.*`.
+
+-------------------------------------------------------------------
Old:
----
either-5.0.1.1.tar.gz
either.cabal
New:
----
either-5.0.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-either.spec ++++++
--- /var/tmp/diff_new_pack.WGCdW3/_old 2022-08-01 21:29:52.473566198 +0200
+++ /var/tmp/diff_new_pack.WGCdW3/_new 2022-08-01 21:29:52.477566209 +0200
@@ -1,7 +1,7 @@
#
# spec file for package ghc-either
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,13 +19,12 @@
%global pkg_name either
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 5.0.1.1
+Version: 5.0.2
Release: 0
Summary: Combinators for working with sums
License: BSD-3-Clause
URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{ve…
-Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal…
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-bifunctors-devel
BuildRequires: ghc-mtl-devel
@@ -54,7 +53,6 @@
%prep
%autosetup -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build
++++++ either-5.0.1.1.tar.gz -> either-5.0.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/either-5.0.1.1/.travis.yml new/either-5.0.2/.travis.yml
--- old/either-5.0.1.1/.travis.yml 2001-09-09 03:46:40.000000000 +0200
+++ new/either-5.0.2/.travis.yml 1970-01-01 01:00:00.000000000 +0100
@@ -1,178 +0,0 @@
-# This Travis job script has been generated by a script via
-#
-# haskell-ci '--output=.travis.yml' '--config=cabal.haskell-ci' 'cabal.project'
-#
-# For more information, see https://github.com/haskell-CI/haskell-ci
-#
-# version: 0.3.20190425
-#
-language: c
-dist: xenial
-git:
- # whether to recursively clone submodules
- submodules: false
-notifications:
- irc:
- channels:
- - irc.freenode.org#haskell-lens
- skip_join: true
- template:
- - "\"\\x0313either\\x03/\\x0306%{branch}\\x03 \\x0314%{commit}\\x03 %{build_url} %{message}\""
-cache:
- directories:
- - $HOME/.cabal/packages
- - $HOME/.cabal/store
-before_cache:
- - rm -fv $CABALHOME/packages/hackage.haskell.org/build-reports.log
- # remove files that are regenerated by 'cabal update'
- - rm -fv $CABALHOME/packages/hackage.haskell.org/00-index.*
- - rm -fv $CABALHOME/packages/hackage.haskell.org/*.json
- - rm -fv $CABALHOME/packages/hackage.haskell.org/01-index.cache
- - rm -fv $CABALHOME/packages/hackage.haskell.org/01-index.tar
- - rm -fv $CABALHOME/packages/hackage.haskell.org/01-index.tar.idx
- - rm -rfv $CABALHOME/packages/head.hackage
-matrix:
- include:
- - compiler: ghc-8.8.1
- addons: {"apt":{"sources":["hvr-ghc"],"packages":["ghc-8.8.1","cabal-install-3.0"]}}
- env: GHCHEAD=true
- - compiler: ghc-8.6.5
- addons: {"apt":{"sources":["hvr-ghc"],"packages":["ghc-8.6.5","cabal-install-2.4"]}}
- - compiler: ghc-8.4.4
- addons: {"apt":{"sources":["hvr-ghc"],"packages":["ghc-8.4.4","cabal-install-2.4"]}}
- - compiler: ghc-8.2.2
- addons: {"apt":{"sources":["hvr-ghc"],"packages":["ghc-8.2.2","cabal-install-2.4"]}}
- - compiler: ghc-8.0.2
- addons: {"apt":{"sources":["hvr-ghc"],"packages":["ghc-8.0.2","cabal-install-2.4"]}}
- - compiler: ghc-7.10.3
- addons: {"apt":{"sources":["hvr-ghc"],"packages":["ghc-7.10.3","cabal-install-2.4"]}}
- - compiler: ghc-7.8.4
- addons: {"apt":{"sources":["hvr-ghc"],"packages":["ghc-7.8.4","cabal-install-2.4"]}}
- - compiler: ghc-7.6.3
- addons: {"apt":{"sources":["hvr-ghc"],"packages":["ghc-7.6.3","cabal-install-2.4"]}}
- - compiler: ghc-7.4.2
- addons: {"apt":{"sources":["hvr-ghc"],"packages":["ghc-7.4.2","cabal-install-2.4"]}}
- - compiler: ghc-7.2.2
- addons: {"apt":{"sources":["hvr-ghc"],"packages":["ghc-7.2.2","cabal-install-2.4"]}}
- - compiler: ghc-7.0.4
- addons: {"apt":{"sources":["hvr-ghc"],"packages":["ghc-7.0.4","cabal-install-2.4"]}}
- - compiler: ghc-head
- addons: {"apt":{"sources":["hvr-ghc"],"packages":["ghc-head","cabal-install-head"]}}
- env: GHCHEAD=true
- allow_failures:
- - compiler: ghc-head
- - compiler: ghc-7.0.4
- - compiler: ghc-7.2.2
- - compiler: ghc-8.8.1
-before_install:
- - HC=$(echo "/opt/$CC/bin/ghc" | sed 's/-/\//')
- - HCPKG="$HC-pkg"
- - unset CC
- - CABAL=/opt/ghc/bin/cabal
- - CABALHOME=$HOME/.cabal
- - export PATH="$CABALHOME/bin:$PATH"
- - TOP=$(pwd)
- - HCNUMVER=$(( $(${HC} --numeric-version|sed -E 's/([0-9]+)\.([0-9]+)\.([0-9]+).*/\1 * 10000 + \2 * 100 + \3/') ))
- - echo $HCNUMVER
- - CABAL="$CABAL -vnormal+nowrap+markoutput"
- - set -o pipefail
- - |
- echo 'function blue(s) { printf "\033[0;34m" s "\033[0m " }' >> .colorful.awk
- echo 'BEGIN { state = "output"; }' >> .colorful.awk
- echo '/^-----BEGIN CABAL OUTPUT-----$/ { state = "cabal" }' >> .colorful.awk
- echo '/^-----END CABAL OUTPUT-----$/ { state = "output" }' >> .colorful.awk
- echo '!/^(-----BEGIN CABAL OUTPUT-----|-----END CABAL OUTPUT-----)/ {' >> .colorful.awk
- echo ' if (state == "cabal") {' >> .colorful.awk
- echo ' print blue($0)' >> .colorful.awk
- echo ' } else {' >> .colorful.awk
- echo ' print $0' >> .colorful.awk
- echo ' }' >> .colorful.awk
- echo '}' >> .colorful.awk
- - cat .colorful.awk
- - |
- color_cabal_output () {
- awk -f $TOP/.colorful.awk
- }
- - echo text | color_cabal_output
-install:
- - ${CABAL} --version
- - echo "$(${HC} --version) [$(${HC} --print-project-git-commit-id 2> /dev/null || echo '?')]"
- - TEST=--enable-tests
- - BENCH=--enable-benchmarks
- - GHCHEAD=${GHCHEAD-false}
- - rm -f $CABALHOME/config
- - |
- echo "verbose: normal +nowrap +markoutput" >> $CABALHOME/config
- echo "remote-build-reporting: anonymous" >> $CABALHOME/config
- echo "remote-repo-cache: $CABALHOME/packages" >> $CABALHOME/config
- echo "logs-dir: $CABALHOME/logs" >> $CABALHOME/config
- echo "world-file: $CABALHOME/world" >> $CABALHOME/config
- echo "extra-prog-path: $CABALHOME/bin" >> $CABALHOME/config
- echo "symlink-bindir: $CABALHOME/bin" >> $CABALHOME/config
- echo "installdir: $CABALHOME/bin" >> $CABALHOME/config
- echo "build-summary: $CABALHOME/logs/build.log" >> $CABALHOME/config
- echo "store-dir: $CABALHOME/store" >> $CABALHOME/config
- echo "install-dirs user" >> $CABALHOME/config
- echo " prefix: $CABALHOME" >> $CABALHOME/config
- echo "repository hackage.haskell.org" >> $CABALHOME/config
- echo " url: http://hackage.haskell.org/" >> $CABALHOME/config
- - |
- if $GHCHEAD; then
- echo "allow-newer: $($HCPKG list --simple-output | sed -E 's/([a-zA-Z-]+)-[0-9.]+/*:\1/g')" >> $CABALHOME/config
-
- echo "repository head.hackage" >> $CABALHOME/config
- echo " url: http://head.hackage.haskell.org/" >> $CABALHOME/config
- echo " secure: True" >> $CABALHOME/config
- echo " root-keys: 07c59cb65787dedfaef5bd5f987ceb5f7e5ebf88b904bbd4c5cbdeb2ff71b740" >> $CABALHOME/config
- echo " 2e8555dde16ebd8df076f1a8ef13b8f14c66bad8eafefd7d9e37d0ed711821fb" >> $CABALHOME/config
- echo " 8f79fd2389ab2967354407ec852cbe73f2e8635793ac446d09461ffb99527f6e" >> $CABALHOME/config
- echo " key-threshold: 3" >> $CABALHOME/config
- fi
- - cat $CABALHOME/config
- - rm -fv cabal.project cabal.project.local cabal.project.freeze
- - travis_retry ${CABAL} v2-update -v
- # Generate cabal.project
- - rm -rf cabal.project cabal.project.local cabal.project.freeze
- - touch cabal.project
- - |
- echo 'packages: "."' >> cabal.project
- - |
- echo "write-ghc-environment-files: always" >> cabal.project
- - "for pkg in $($HCPKG list --simple-output); do echo $pkg | sed 's/-[^-]*$//' | grep -vE -- '^(either)$' | sed 's/^/constraints: /' | sed 's/$/ installed/' >> cabal.project.local; done"
- - cat cabal.project || true
- - cat cabal.project.local || true
- - if [ -f "./configure.ac" ]; then (cd "." && autoreconf -i); fi
- - ${CABAL} v2-freeze -w ${HC} ${TEST} ${BENCH} | color_cabal_output
- - "cat cabal.project.freeze | sed -E 's/^(constraints: *| *)//' | sed 's/any.//'"
- - rm cabal.project.freeze
- - ${CABAL} v2-build -w ${HC} ${TEST} ${BENCH} --dep -j2 all | color_cabal_output
-script:
- - DISTDIR=$(mktemp -d /tmp/dist-test.XXXX)
- # Packaging...
- - ${CABAL} v2-sdist all | color_cabal_output
- # Unpacking...
- - mv dist-newstyle/sdist/*.tar.gz ${DISTDIR}/
- - cd ${DISTDIR} || false
- - find . -maxdepth 1 -name '*.tar.gz' -exec tar -xvf '{}' \;
- # Generate cabal.project
- - rm -rf cabal.project cabal.project.local cabal.project.freeze
- - touch cabal.project
- - |
- echo 'packages: "either-*/*.cabal"' >> cabal.project
- - |
- echo "write-ghc-environment-files: always" >> cabal.project
- - "for pkg in $($HCPKG list --simple-output); do echo $pkg | sed 's/-[^-]*$//' | grep -vE -- '^(either)$' | sed 's/^/constraints: /' | sed 's/$/ installed/' >> cabal.project.local; done"
- - cat cabal.project || true
- - cat cabal.project.local || true
- # Building with tests and benchmarks...
- # build & run tests, build benchmarks
- - ${CABAL} v2-build -w ${HC} ${TEST} ${BENCH} all | color_cabal_output
- # Testing...
- - ${CABAL} v2-test -w ${HC} ${TEST} ${BENCH} all | color_cabal_output
- # cabal check...
- - (cd either-* && ${CABAL} -vnormal check)
- # haddock...
- - ${CABAL} v2-haddock -w ${HC} ${TEST} ${BENCH} all | color_cabal_output
-
-# REGENDATA ["--output=.travis.yml","--config=cabal.haskell-ci","cabal.project"]
-# EOF
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/either-5.0.1.1/CHANGELOG.markdown new/either-5.0.2/CHANGELOG.markdown
--- old/either-5.0.1.1/CHANGELOG.markdown 2001-09-09 03:46:40.000000000 +0200
+++ new/either-5.0.2/CHANGELOG.markdown 2001-09-09 03:46:40.000000000 +0200
@@ -1,3 +1,8 @@
+5.0.2 [2022.05.07]
+------------------
+* Tweak error messages of `fromRight'` and `fromLeft'` for clarity.
+* Allow building with `mtl-2.3.*`.
+
5.0.1.1 [2019.05.02]
--------------------
* Only incur a `semigroups` dependency on pre-8.0 GHCs.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/either-5.0.1.1/README.markdown new/either-5.0.2/README.markdown
--- old/either-5.0.1.1/README.markdown 2001-09-09 03:46:40.000000000 +0200
+++ new/either-5.0.2/README.markdown 2001-09-09 03:46:40.000000000 +0200
@@ -1,7 +1,7 @@
either
======
-[![Hackage](https://img.shields.io/hackage/v/either.svg)](https://hackage.haskell.org/package/either) [![Build Status](https://secure.travis-ci.org/ekmett/either.png?branch=master)](http…
+[![Hackage](https://img.shields.io/hackage/v/either.svg)](https://hackage.haskell.org/package/either) [![Build Status](https://github.com/ekmett/either/workflows/Haskell-CI/badge.svg)](h…
Contact Information
-------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/either-5.0.1.1/either.cabal new/either-5.0.2/either.cabal
--- old/either-5.0.1.1/either.cabal 2001-09-09 03:46:40.000000000 +0200
+++ new/either-5.0.2/either.cabal 2001-09-09 03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
name: either
category: Control, Monads
-version: 5.0.1.1
+version: 5.0.2
license: BSD3
cabal-version: >= 1.10
license-file: LICENSE
@@ -23,12 +23,13 @@
, GHC == 8.2.2
, GHC == 8.4.4
, GHC == 8.6.5
- , GHC == 8.8.1
+ , GHC == 8.8.4
+ , GHC == 8.10.4
+ , GHC == 9.0.1
extra-source-files:
.gitignore
.ghci
.vim.custom
- .travis.yml
CHANGELOG.markdown
README.markdown
@@ -40,7 +41,7 @@
build-depends:
base >= 4 && < 5,
bifunctors >= 4 && < 6,
- mtl >= 2.0 && < 2.3,
+ mtl >= 2.0 && < 2.4,
profunctors >= 4 && < 6,
semigroupoids >= 4 && < 6
@@ -65,5 +66,5 @@
either,
test-framework >= 0.8.1.1 && < 0.9,
test-framework-quickcheck2 >= 0.3.0.3 && < 0.4,
- QuickCheck >= 2.9 && < 2.14
+ QuickCheck >= 2.9 && < 2.15
default-language: Haskell2010
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/either-5.0.1.1/src/Data/Either/Combinators.hs new/either-5.0.2/src/Data/Either/Combinators.hs
--- old/either-5.0.1.1/src/Data/Either/Combinators.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/either-5.0.2/src/Data/Either/Combinators.hs 2001-09-09 03:46:40.000000000 +0200
@@ -93,7 +93,7 @@
-- >>> fromLeft' (Left 12)
-- 12
fromLeft' :: Either a b -> a
-fromLeft' (Right _) = error "Data.Either.Combinators.fromLeft: Argument takes form 'Right _'" -- yuck
+fromLeft' (Right _) = error "Data.Either.Combinators.fromLeft' encountered a value of form 'Right _', consider using Data.Either.Combinators.fromLeft with a default value." -- yuck
fromLeft' (Left x) = x
-- | Extracts the element out of a 'Right' and
@@ -108,7 +108,7 @@
-- >>> fromRight' (Right 12)
-- 12
fromRight' :: Either a b -> b
-fromRight' (Left _) = error "Data.Either.Combinators.fromRight: Argument takes form 'Left _'" -- yuck
+fromRight' (Left _) = error "Data.Either.Combinators.fromRight' encountered a value of form 'Left _', consider using Data.Either.Combinators.fromRight with a default value." -- yuck
fromRight' (Right x) = x
-- | The 'mapBoth' function takes two functions and applies the first if iff the value
@@ -313,10 +313,10 @@
-- | Maybe produce a 'Left', otherwise produce a 'Right'.
--
--- >>> maybeToRight "default" (Just 12)
+-- >>> maybeToLeft "default" (Just 12)
-- Left 12
--
--- >>> maybeToRight "default" Nothing
+-- >>> maybeToLeft "default" Nothing
-- Right "default"
maybeToLeft :: b -> Maybe a -> Either a b
maybeToLeft _ (Just x) = Left x
@@ -342,13 +342,11 @@
-- | Swap the 'Left' and 'Right' sides of an 'Either'.
--
--- @
-- >>> swapEither (Right 3)
-- Left 3
--
-- >>> swapEither (Left "error")
-- Right "error"
--- @
swapEither :: Either e a -> Either a e
swapEither = either Right Left
{-# INLINE swapEither #-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/either-5.0.1.1/src/Data/Either/Validation.hs new/either-5.0.2/src/Data/Either/Validation.hs
--- old/either-5.0.1.1/src/Data/Either/Validation.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/either-5.0.2/src/Data/Either/Validation.hs 2001-09-09 03:46:40.000000000 +0200
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
{-# LANGUAGE Rank2Types #-}
-----------------------------------------------------------------------------
@@ -34,12 +35,18 @@
import Data.Foldable (Foldable(foldr))
import Data.Functor.Alt (Alt((<!>)))
import Data.Functor.Apply (Apply ((<.>)))
-import Data.Monoid (Monoid(mappend, mempty))
import Data.Profunctor
-import Data.Semigroup (Semigroup((<>)))
-import Data.Traversable (Traversable(traverse))
import Prelude hiding (foldr)
+#if !(MIN_VERSION_base(4,8,0))
+import Data.Monoid (Monoid(mappend, mempty))
+import Data.Traversable (Traversable(traverse))
+#endif
+
+#if !(MIN_VERSION_base(4,11,0))
+import Data.Semigroup (Semigroup((<>)))
+#endif
+
-- | 'Validation' is 'Either' with a Left that is a 'Monoid'
data Validation e a
= Failure e
@@ -98,9 +105,11 @@
instance Monoid e => Monoid (Validation e a) where
mempty = Failure mempty
+#if !(MIN_VERSION_base(4,11,0))
x@Success{} `mappend` _ = x
_ `mappend` x@Success{} = x
Failure e1 `mappend` Failure e2 = Failure (e1 `mappend` e2)
+#endif
type Prism s t a b = forall p f. (Choice p, Applicative f) => p a (f b) -> p s (f t)
1
0