Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-unicode-data for
openSUSE:Factory checked in at 2022-02-11 23:09:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-unicode-data (Old)
and /work/SRC/openSUSE:Factory/.ghc-unicode-data.new.1956 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-unicode-data"
Fri Feb 11 23:09:53 2022 rev:3 rq:953552 version:0.3.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-unicode-data/ghc-unicode-data.changes
2021-12-19 17:35:08.844294983 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-unicode-data.new.1956/ghc-unicode-data.changes
2022-02-11 23:11:54.607379919 +0100
@@ -1,0 +2,41 @@
+Sun Jan 9 09:48:46 UTC 2022 - Peter Simons <[email protected]>
+
+- Update unicode-data to version 0.3.0 revision 1.
+ ## 0.3.0 (December 2021)
+
+ - Support for big-endian architectures.
+ - Added `unicodeVersion`.
+ - Added `GeneralCategory` data type and corresponding `generalCategoryAbbr`,
+ `generalCategory` functions.
+ - Added the following functions to `Unicode.Char.General`:
+ `isAlphabetic`, `isAlphaNum`,
+ `isControl`, `isMark`, `isPrint`, `isPunctuation`, `isSeparator`,
+ `isSymbol` and `isWhiteSpace`.
+ - Added the module `Unicode.Char.Numeric`.
+ - Add compatibility modules:
+
+ - `Unicode.Char.General.Compat`
+ - `Unicode.Char.Case.Compat`
+
+ These modules are compatible with `base:Data.Char`.
+ - Re-export some functions from `Data.Char` in order to make `Unicode.Char`
+ a drop-in replacement in a _future_ version of this package.
+ - Drop support for GHC 7.10.3
+
+ ### Deprecations
+
+ - In `Unicode.Char.Case`:
+
+ - `isUpper`: use `isUpperCase` instead.
+ - `isLower`: use `isLowerCase` instead.
+
+ - In `Unicode.Char.General`:
+
+ - `isLetter`: use `isAlphabetic` instead.
+ - `isSpace`: use `isWhiteSpace` instead.
+
+ - In `Unicode.Char`: same as hereinabove. These functions will be replaced
in a
+ _future_ release with the functions with the same names from
+ `Unicode.Char.Case.Compat` and `Unicode.Char.General.Compat`.
+
+-------------------------------------------------------------------
Old:
----
unicode-data-0.2.0.tar.gz
New:
----
unicode-data-0.3.0.tar.gz
unicode-data.cabal
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-unicode-data.spec ++++++
--- /var/tmp/diff_new_pack.AoDR4U/_old 2022-02-11 23:11:55.095381331 +0100
+++ /var/tmp/diff_new_pack.AoDR4U/_new 2022-02-11 23:11:55.099381342 +0100
@@ -1,7 +1,7 @@
#
# spec file for package ghc-unicode-data
#
-# 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
@@ -17,16 +17,21 @@
%global pkg_name unicode-data
+%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 0.2.0
+Version: 0.3.0
Release: 0
Summary: Access Unicode character database
License: Apache-2.0
URL: https://hackage.haskell.org/package/%{pkg_name}
Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
ExcludeArch: %{ix86}
+%if %{with tests}
+BuildRequires: ghc-hspec-devel
+%endif
%description
'unicode-data' provides Haskell APIs to efficiently access the Unicode
@@ -49,6 +54,7 @@
%prep
%autosetup -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build
@@ -56,6 +62,9 @@
%install
%ghc_lib_install
+%check
+%cabal_test
+
%post devel
%ghc_pkg_recache
++++++ unicode-data-0.2.0.tar.gz -> unicode-data-0.3.0.tar.gz ++++++
++++ 6402 lines of diff (skipped)
++++++ unicode-data.cabal ++++++
cabal-version: 2.2
name: unicode-data
version: 0.3.0
x-revision: 1
synopsis: Access Unicode character database
description:
@unicode-data@ provides Haskell APIs to efficiently access the Unicode
character database. Performance is the primary goal in the design of
this package.
.
The Haskell data structures are generated programmatically from the
Unicode character database (UCD) files. The latest Unicode version
supported by this library is 14.0.0.
homepage: http://github.com/composewell/unicode-data
bug-reports: https://github.com/composewell/unicode-data/issues
license: Apache-2.0
license-file: LICENSE
author: Composewell Technologies and Contributors
maintainer: [email protected]
copyright: 2020 Composewell Technologies and Contributors
category: Data,Text,Unicode
stability: Experimental
build-type: Simple
tested-with: GHC==8.0.2
, GHC==8.2.2
, GHC==8.4.4
, GHC==8.6.5
, GHC==8.8.4
, GHC==8.10.7
, GHC==9.0.1
, GHC==9.2.1
extra-source-files:
Changelog.md
README.md
NOTICE
ucd.sh
source-repository head
type: git
location: https://github.com/composewell/unicode-data
flag ucd2haskell
description: Build the ucd2haskell executable
manual: True
default: False
common default-extensions
default-extensions:
BangPatterns
DeriveGeneric
MagicHash
RecordWildCards
ScopedTypeVariables
TupleSections
FlexibleContexts
-- Experimental, may lead to issues
DeriveAnyClass
TemplateHaskell
UnboxedTuples
common compile-options
ghc-options: -Wall
-fwarn-identities
-fwarn-incomplete-record-updates
-fwarn-incomplete-uni-patterns
-fwarn-tabs
default-language: Haskell2010
library
import: default-extensions, compile-options
default-language: Haskell2010
exposed-modules:
Unicode.Char
-- The module structure is derived from
-- https://www.unicode.org/reports/tr44/#Property_Index_Table
Unicode.Char.Normalization
Unicode.Char.General
Unicode.Char.General.Compat
Unicode.Char.Case
Unicode.Char.Case.Compat
Unicode.Char.Identifiers
Unicode.Char.Numeric
-- Internal files
Unicode.Internal.Bits
Unicode.Internal.Division
-- Generated files
-- This module structure is largely based on the UCD file names from which
-- the properties are generated.
Unicode.Internal.Char.DerivedCoreProperties
Unicode.Internal.Char.PropList
Unicode.Internal.Char.UnicodeData.CombiningClass
Unicode.Internal.Char.UnicodeData.Compositions
Unicode.Internal.Char.UnicodeData.Decomposable
Unicode.Internal.Char.UnicodeData.DecomposableK
Unicode.Internal.Char.UnicodeData.Decompositions
Unicode.Internal.Char.UnicodeData.DecompositionsK
Unicode.Internal.Char.UnicodeData.DecompositionsK2
Unicode.Internal.Char.UnicodeData.GeneralCategory
Unicode.Internal.Char.UnicodeData.SimpleLowerCaseMapping
Unicode.Internal.Char.UnicodeData.SimpleTitleCaseMapping
Unicode.Internal.Char.UnicodeData.SimpleUpperCaseMapping
hs-source-dirs: lib
ghc-options: -O2
build-depends:
base >=4.7 && <4.17
executable ucd2haskell
import: default-extensions, compile-options
default-language: Haskell2010
ghc-options: -O2
hs-source-dirs: exe
main-is: UCD2Haskell.hs
other-modules: Parser.Text
if flag(ucd2haskell)
buildable: True
build-depends:
base >= 4.7 && < 4.17
, streamly >= 0.8 && < 0.9
, getopt-generics >= 0.13 && < 0.14
, containers >= 0.5 && < 0.7
, directory >= 1.3.6 && < 1.3.7
else
buildable: False
test-suite test
import: default-extensions, compile-options
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs:
test
other-modules:
Unicode.CharSpec
build-depends:
base >= 4.7 && < 4.17
, hspec >= 2.0 && < 2.10
, unicode-data
build-tool-depends:
hspec-discover:hspec-discover >= 2.0 && < 2.10
-- We need to match a GHC version with the same Unicode version.
-- See: test/Unicode/CharSpec.hs for compatibility table.
if impl(ghc >= 9.2.1)
cpp-options: -DCOMPATIBLE_GHC_UNICODE
default-language: Haskell2010
benchmark bench
import: default-extensions, compile-options
type: exitcode-stdio-1.0
hs-source-dirs: bench
main-is: Main.hs
build-depends:
base >= 4.7 && < 4.17,
deepseq >= 1.1 && < 1.5,
tasty-bench >= 0.2.5 && < 0.4,
tasty >= 1.4.1,
unicode-data
ghc-options: -O2 -fdicts-strict -rtsopts