Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-text-short for openSUSE:Factory checked in at 2021-03-10 08:55:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-text-short (Old) and /work/SRC/openSUSE:Factory/.ghc-text-short.new.2378 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-text-short" Wed Mar 10 08:55:43 2021 rev:5 rq:877678 version:0.1.3 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-text-short/ghc-text-short.changes 2020-12-22 11:47:20.585905340 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-text-short.new.2378/ghc-text-short.changes 2021-03-10 08:57:42.438916977 +0100 @@ -1,0 +2,6 @@ +Fri Feb 19 23:03:07 UTC 2021 - [email protected] + +- Update text-short to version 0.1.3 revision 3. + Upstream has revised the Cabal build instructions on Hackage. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-text-short.spec ++++++ --- /var/tmp/diff_new_pack.ytn7wZ/_old 2021-03-10 08:57:43.022917580 +0100 +++ /var/tmp/diff_new_pack.ytn7wZ/_new 2021-03-10 08:57:43.026917584 +0100 @@ -1,7 +1,7 @@ # # spec file for package ghc-text-short # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 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}-%{version}.tar.gz -Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal +Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/3.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-binary-devel BuildRequires: ghc-bytestring-devel ++++++ text-short.cabal ++++++ --- /var/tmp/diff_new_pack.ytn7wZ/_old 2021-03-10 08:57:43.066917625 +0100 +++ /var/tmp/diff_new_pack.ytn7wZ/_new 2021-03-10 08:57:43.066917625 +0100 @@ -1,91 +1,91 @@ -cabal-version: 1.18 - -name: text-short -version: 0.1.3 -x-revision: 2 -synopsis: Memory-efficient representation of Unicode text strings -license: BSD3 -license-file: LICENSE -author: Herbert Valerio Riedel -maintainer: [email protected] -bug-reports: https://github.com/hvr/text-short/issues -category: Data -build-type: Simple -description: This package provides the 'ShortText' type which is suitable for keeping many short strings in memory. This is similiar to how 'ShortByteString' relates to 'ByteString'. - . - The main difference between 'Text' and 'ShortText' is that 'ShortText' uses UTF-8 instead of UTF-16 internally and also doesn't support zero-copy slicing (thereby saving 2 words). Consequently, the memory footprint of a (boxed) 'ShortText' value is 4 words (2 words when unboxed) plus the length of the UTF-8 encoded payload. - -tested-with: GHC==8.10.1, GHC==8.8.3, GHC==8.6.5, GHC==8.4.4, GHC==8.2.2, GHC==8.0.2, GHC==7.10.3, GHC==7.8.4 -extra-source-files: ChangeLog.md - -Source-Repository head - Type: git - Location: https://github.com/hvr/text-short.git - -flag asserts - description: Enable runtime-checks via @assert@ - default: False - manual: True - -library - exposed-modules: Data.Text.Short - Data.Text.Short.Partial - Data.Text.Short.Unsafe - - other-modules: Data.Text.Short.Internal - - build-depends: base >= 4.7 && < 4.15 - , bytestring >= 0.10.4 && < 0.11 - , hashable >= 1.2.6 && < 1.4 - , deepseq >= 1.3 && < 1.5 - , text >= 1.0 && < 1.3 - , binary >= 0.7.1 && < 0.9 - , ghc-prim >= 0.3.1 && < 0.7 - - if !impl(ghc >= 8.0) - build-depends: semigroups >= 0.18.2 && < 0.20 - - -- GHC version specific PrimOps - if impl(ghc >= 8.4) - hs-source-dirs: src-ghc804 - else - c-sources: cbits/memcmp.c - hs-source-dirs: src-ghc708 - other-modules: PrimOps - - hs-source-dirs: src - - default-language: Haskell2010 - other-extensions: CPP - , GeneralizedNewtypeDeriving - , MagicHash - , UnliftedFFITypes - , Trustworthy - , Unsafe - - c-sources: cbits/cbits.c - - if flag(asserts) - ghc-options: -fno-ignore-asserts - else - cc-options: -DNDEBUG=1 - - ghc-options: -Wall - cc-options: -O3 -Wall - -test-suite tests - type: exitcode-stdio-1.0 - hs-source-dirs: src-test - main-is: Tests.hs - - build-depends: base - , binary - , text - , text-short - -- deps which don't inherit constraints from library stanza: - , tasty >= 1.0.0 && < 1.3 - , tasty-quickcheck >= 0.10 && < 0.11 - , tasty-hunit >= 0.10.0 && < 0.11 - , quickcheck-instances >= 0.3.14 && < 0.4 - - default-language: Haskell2010 +cabal-version: 1.18 + +name: text-short +version: 0.1.3 +x-revision: 3 +synopsis: Memory-efficient representation of Unicode text strings +license: BSD3 +license-file: LICENSE +author: Herbert Valerio Riedel +maintainer: [email protected] +bug-reports: https://github.com/hvr/text-short/issues +category: Data +build-type: Simple +description: This package provides the 'ShortText' type which is suitable for keeping many short strings in memory. This is similiar to how 'ShortByteString' relates to 'ByteString'. + . + The main difference between 'Text' and 'ShortText' is that 'ShortText' uses UTF-8 instead of UTF-16 internally and also doesn't support zero-copy slicing (thereby saving 2 words). Consequently, the memory footprint of a (boxed) 'ShortText' value is 4 words (2 words when unboxed) plus the length of the UTF-8 encoded payload. + +tested-with: GHC==8.10.1, GHC==8.8.3, GHC==8.6.5, GHC==8.4.4, GHC==8.2.2, GHC==8.0.2, GHC==7.10.3, GHC==7.8.4 +extra-source-files: ChangeLog.md + +Source-Repository head + Type: git + Location: https://github.com/hvr/text-short.git + +flag asserts + description: Enable runtime-checks via @assert@ + default: False + manual: True + +library + exposed-modules: Data.Text.Short + Data.Text.Short.Partial + Data.Text.Short.Unsafe + + other-modules: Data.Text.Short.Internal + + build-depends: base >= 4.7 && < 4.16 + , bytestring >= 0.10.4 && < 0.12 + , hashable >= 1.2.6 && < 1.4 + , deepseq >= 1.3 && < 1.5 + , text >= 1.0 && < 1.3 + , binary >= 0.7.1 && < 0.9 + , ghc-prim >= 0.3.1 && < 0.8 + + if !impl(ghc >= 8.0) + build-depends: semigroups >= 0.18.2 && < 0.20 + + -- GHC version specific PrimOps + if impl(ghc >= 8.4) + hs-source-dirs: src-ghc804 + else + c-sources: cbits/memcmp.c + hs-source-dirs: src-ghc708 + other-modules: PrimOps + + hs-source-dirs: src + + default-language: Haskell2010 + other-extensions: CPP + , GeneralizedNewtypeDeriving + , MagicHash + , UnliftedFFITypes + , Trustworthy + , Unsafe + + c-sources: cbits/cbits.c + + if flag(asserts) + ghc-options: -fno-ignore-asserts + else + cc-options: -DNDEBUG=1 + + ghc-options: -Wall + cc-options: -O3 -Wall + +test-suite tests + type: exitcode-stdio-1.0 + hs-source-dirs: src-test + main-is: Tests.hs + + build-depends: base + , binary + , text + , text-short + -- deps which don't inherit constraints from library stanza: + , tasty >= 1.0.0 && < 1.3 + , tasty-quickcheck >= 0.10 && < 0.11 + , tasty-hunit >= 0.10.0 && < 0.11 + , quickcheck-instances >= 0.3.14 && < 0.4 + + default-language: Haskell2010
