Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-text-conversions for
openSUSE:Factory checked in at 2022-08-01 21:30:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-text-conversions (Old)
and /work/SRC/openSUSE:Factory/.ghc-text-conversions.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-text-conversions"
Mon Aug 1 21:30:37 2022 rev:7 rq:987097 version:0.3.1.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-text-conversions/ghc-text-conversions.changes
2020-12-22 11:47:15.557901287 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-text-conversions.new.1533/ghc-text-conversions.changes
2022-08-01 21:31:04.785773656 +0200
@@ -1,0 +2,8 @@
+Mon May 2 22:33:41 UTC 2022 - Peter Simons <[email protected]>
+
+- Update text-conversions to version 0.3.1.1.
+ ## 0.3.1.1 (May 2nd, 2022)
+
+ - Eliminated dependency on the `errors` package.
+
+-------------------------------------------------------------------
Old:
----
text-conversions-0.3.1.tar.gz
New:
----
text-conversions-0.3.1.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-text-conversions.spec ++++++
--- /var/tmp/diff_new_pack.OYSzQr/_old 2022-08-01 21:31:05.317775183 +0200
+++ /var/tmp/diff_new_pack.OYSzQr/_new 2022-08-01 21:31:05.317775183 +0200
@@ -1,7 +1,7 @@
#
# spec file for package ghc-text-conversions
#
-# 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,7 +19,7 @@
%global pkg_name text-conversions
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 0.3.1
+Version: 0.3.1.1
Release: 0
Summary: Safe conversions between textual types
License: ISC
@@ -29,7 +29,6 @@
BuildRequires: ghc-base16-bytestring-devel
BuildRequires: ghc-base64-bytestring-devel
BuildRequires: ghc-bytestring-devel
-BuildRequires: ghc-errors-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-text-devel
ExcludeArch: %{ix86}
++++++ text-conversions-0.3.1.tar.gz -> text-conversions-0.3.1.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/text-conversions-0.3.1/CHANGELOG.md
new/text-conversions-0.3.1.1/CHANGELOG.md
--- old/text-conversions-0.3.1/CHANGELOG.md 2020-09-30 05:23:53.000000000
+0200
+++ new/text-conversions-0.3.1.1/CHANGELOG.md 2001-09-09 03:46:40.000000000
+0200
@@ -1,5 +1,9 @@
# Changelog
+## 0.3.1.1 (May 2nd, 2022)
+
+- Eliminated dependency on the `errors` package.
+
## 0.3.1 (September 29th, 2020)
- Added support for `base16-bytestring-1.0`.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/text-conversions-0.3.1/README.md
new/text-conversions-0.3.1.1/README.md
--- old/text-conversions-0.3.1/README.md 2020-09-21 16:30:10.000000000
+0200
+++ new/text-conversions-0.3.1.1/README.md 2001-09-09 03:46:40.000000000
+0200
@@ -1,4 +1,4 @@
-# text-conversions [](https://travis-ci.org/cjdev/text-conversions)
+# text-conversions [](https://github.com/cjdev/text-conversions/actions/workflows/build.yml)
[][hackage]
This is a small library to ease the pain when converting between the many
different string types in Haskell. Unlike some other libraries that attempt to
solve the same problem, text-conversions is:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/text-conversions-0.3.1/package.yaml
new/text-conversions-0.3.1.1/package.yaml
--- old/text-conversions-0.3.1/package.yaml 2020-09-30 05:19:25.000000000
+0200
+++ new/text-conversions-0.3.1.1/package.yaml 1970-01-01 01:00:00.000000000
+0100
@@ -1,51 +0,0 @@
-name: text-conversions
-version: 0.3.1
-category: Data
-synopsis: Safe conversions between textual types
-description: Safe conversions between textual types
-license: ISC
-author: Alexis King
-maintainer: [email protected]
-
-github: cjdev/text-conversions
-
-extra-source-files:
-- README.md
-- CHANGELOG.md
-- LICENSE
-- package.yaml
-- stack.yaml
-
-ghc-options: -Wall
-default-extensions:
-- FlexibleInstances
-- MultiParamTypeClasses
-- OverloadedStrings
-
-library:
- source-dirs: src
- dependencies:
- - base >=4.7 && <5
- - bytestring <1
- - base16-bytestring <2
- - base64-bytestring <2
- - errors <3
- - text <2
-
-tests:
- text-conversions-test-suite:
- source-dirs: test
- main: Main.hs
- ghc-options:
- - -rtsopts
- - -threaded
- - -with-rtsopts=-N
- dependencies:
- - base
- - text-conversions
- - bytestring
- - hspec
- - text
- verbatim: |
- build-tool-depends:
- hspec-discover:hspec-discover
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/text-conversions-0.3.1/src/Data/Text/Conversions.hs
new/text-conversions-0.3.1.1/src/Data/Text/Conversions.hs
--- old/text-conversions-0.3.1/src/Data/Text/Conversions.hs 2020-09-21
16:30:10.000000000 +0200
+++ new/text-conversions-0.3.1.1/src/Data/Text/Conversions.hs 2001-09-09
03:46:40.000000000 +0200
@@ -48,8 +48,6 @@
, Base64(..)
) where
-import Control.Error.Util (hush)
-
import qualified Data.Text as T
import qualified Data.Text.Encoding as T
import qualified Data.Text.Lazy as TL
@@ -144,6 +142,10 @@
decodeConvertText :: (DecodeText f a, FromText b) => a -> f b
decodeConvertText = fmap fromText . decodeText
+hush :: Either a b -> Maybe b
+hush (Left _) = Nothing
+hush (Right x) = Just x
+
instance ToText T.Text where toText = id
instance FromText T.Text where fromText = id
instance ToText String where toText = T.pack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/text-conversions-0.3.1/stack.yaml
new/text-conversions-0.3.1.1/stack.yaml
--- old/text-conversions-0.3.1/stack.yaml 2020-09-30 04:00:15.000000000
+0200
+++ new/text-conversions-0.3.1.1/stack.yaml 1970-01-01 01:00:00.000000000
+0100
@@ -1,7 +0,0 @@
-resolver: lts-16.16
-
-packages: ['.']
-extra-deps: []
-
-flags: {}
-extra-package-dbs: []
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/text-conversions-0.3.1/text-conversions.cabal
new/text-conversions-0.3.1.1/text-conversions.cabal
--- old/text-conversions-0.3.1/text-conversions.cabal 2020-09-30
05:25:00.000000000 +0200
+++ new/text-conversions-0.3.1.1/text-conversions.cabal 2001-09-09
03:46:40.000000000 +0200
@@ -1,68 +1,64 @@
-cabal-version: 1.12
+cabal-version: 2.4
+name: text-conversions
+version: 0.3.1.1
+category: Data
+build-type: Simple
+synopsis: Safe conversions between textual types
+description: Safe conversions between textual types
--- This file has been generated from package.yaml by hpack version 0.33.0.
---
--- see: https://github.com/sol/hpack
---
--- hash: 7c0bf9ebe6887baff27c40e9fdb7bb6569b32eac6b9e701e2ab9355feb75353d
-
-name: text-conversions
-version: 0.3.1
-synopsis: Safe conversions between textual types
-description: Safe conversions between textual types
-category: Data
-homepage: https://github.com/cjdev/text-conversions#readme
-bug-reports: https://github.com/cjdev/text-conversions/issues
-author: Alexis King
-maintainer: [email protected]
-license: ISC
-license-file: LICENSE
-build-type: Simple
+author: Alexis King
+maintainer: Alexis King <[email protected]>
+license: ISC
+license-file: LICENSE
extra-source-files:
- README.md
- CHANGELOG.md
- LICENSE
- package.yaml
- stack.yaml
+ README.md
+ CHANGELOG.md
+ LICENSE
+
+homepage: https://github.com/cjdev/text-conversions
+bug-reports: https://github.com/cjdev/text-conversions/issues
source-repository head
type: git
location: https://github.com/cjdev/text-conversions
-library
- exposed-modules:
- Data.Text.Conversions
- other-modules:
- Paths_text_conversions
- hs-source-dirs:
- src
+common common
+ default-language: Haskell2010
default-extensions: FlexibleInstances MultiParamTypeClasses OverloadedStrings
ghc-options: -Wall
+ if impl(ghc >= 8.0.1)
+ ghc-options: -Wcompat -Wincomplete-record-updates
-Wincomplete-uni-patterns -Wredundant-constraints
+
+library
+ import: common
+
+ hs-source-dirs: src
+ exposed-modules:
+ Data.Text.Conversions
+
build-depends:
- base >=4.7 && <5
+ , base >=4.7 && <5
, base16-bytestring <2
, base64-bytestring <2
, bytestring <1
- , errors <3
- , text <2
- default-language: Haskell2010
+ , text <3
test-suite text-conversions-test-suite
+ import: common
type: exitcode-stdio-1.0
+
+ hs-source-dirs: test
main-is: Main.hs
other-modules:
- Data.Text.ConversionsSpec
- Paths_text_conversions
- hs-source-dirs:
- test
- default-extensions: FlexibleInstances MultiParamTypeClasses OverloadedStrings
- ghc-options: -Wall -rtsopts -threaded -with-rtsopts=-N
+ Data.Text.ConversionsSpec
+
+ ghc-options: -rtsopts -threaded -with-rtsopts=-N
+
build-depends:
- base
+ , base
, bytestring
, hspec
, text
, text-conversions
- default-language: Haskell2010
build-tool-depends:
- hspec-discover:hspec-discover
+ hspec-discover:hspec-discover