Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-double-conversion for
openSUSE:Factory checked in at 2023-01-18 13:09:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-double-conversion (Old)
and /work/SRC/openSUSE:Factory/.ghc-double-conversion.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-double-conversion"
Wed Jan 18 13:09:48 2023 rev:5 rq:1059063 version:2.0.4.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-double-conversion/ghc-double-conversion.changes
2022-02-11 23:09:39.242988407 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-double-conversion.new.32243/ghc-double-conversion.changes
2023-01-18 13:09:58.732525082 +0100
@@ -1,0 +2,12 @@
+Thu Dec 15 12:37:23 UTC 2022 - Peter Simons <[email protected]>
+
+- Update double-conversion to version 2.0.4.2 revision 2.
+ Upstream does not provide a change log file.
+
+-------------------------------------------------------------------
+Sat Nov 19 08:55:56 UTC 2022 - Peter Simons <[email protected]>
+
+- Update double-conversion to version 2.0.4.1 revision 2.
+ Upstream has revised the Cabal build instructions on Hackage.
+
+-------------------------------------------------------------------
Old:
----
double-conversion-2.0.4.1.tar.gz
New:
----
double-conversion-2.0.4.2.tar.gz
double-conversion.cabal
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-double-conversion.spec ++++++
--- /var/tmp/diff_new_pack.CbvBMz/_old 2023-01-18 13:10:00.144533452 +0100
+++ /var/tmp/diff_new_pack.CbvBMz/_new 2023-01-18 13:10:00.152533499 +0100
@@ -19,12 +19,13 @@
%global pkg_name double-conversion
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 2.0.4.1
+Version: 2.0.4.2
Release: 0
Summary: Fast conversion between single and double precision floating
point and text
License: BSD-2-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
Patch0: riscv.patch
BuildRequires: gcc-c++
BuildRequires: ghc-Cabal-devel
@@ -54,12 +55,11 @@
The 'Text' versions of these functions are about 30 times faster than the
default 'show' implementation for the 'Double' type.
-The 'ByteString' versions are /slower/ than the 'Text' versions; roughly half
-the speed. (This seems to be due to the cost of allocating 'ByteString' values
-via 'malloc'.)
+The 'ByteString' versions are have very close speed to the 'Text' versions;
-Builder versions are slower on single value, but they are much faster on large
-number of values (up to 50x faster on list with 20000 doubles).
+Builder versions (both for Text and Bytestring) are slower on single value, but
+they are much faster on large number of values (up to 20x faster on list with
+20000 doubles).
As a final note, be aware that the 'bytestring-show' package is about 50%
slower than simply using 'show'.
@@ -78,6 +78,7 @@
%prep
%autosetup -p1 -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build
++++++ double-conversion-2.0.4.1.tar.gz -> double-conversion-2.0.4.2.tar.gz
++++++
/work/SRC/openSUSE:Factory/ghc-double-conversion/double-conversion-2.0.4.1.tar.gz
/work/SRC/openSUSE:Factory/.ghc-double-conversion.new.32243/double-conversion-2.0.4.2.tar.gz
differ: char 13, line 1
++++++ double-conversion.cabal ++++++
cabal-version: 2.2
name: double-conversion
version: 2.0.4.2
x-revision: 2
license: BSD-3-Clause
license-file: LICENSE
homepage: https://github.com/haskell/double-conversion
bug-reports: https://github.com/haskell/double-conversion/issues
category: Text
author: Bryan O'Sullivan <[email protected]>
maintainer: Bryan O'Sullivan <[email protected]>
stability: experimental
synopsis: Fast conversion between single and double precision floating
point and text
build-type: Simple
description:
A library that performs fast, accurate conversion between
floating point and text.
.
This library is implemented as bindings to the C++
@double-conversion@ library written by Florian Loitsch at Google:
<https://github.com/floitsch/double-conversion>.
.
Now it can convert single precision numbers, and also it can create
Builder, instead of bytestring or text.
.
The 'Text' versions of these functions are about 30 times faster
than the default 'show' implementation for the 'Double' type.
.
The 'ByteString' versions are have very close speed to the 'Text' versions;
.
Builder versions (both for Text and Bytestring) are slower on single value,
but they are much faster on large number of values
(up to 20x faster on list with 20000 doubles).
.
As a final note, be aware that the @bytestring-show@ package is
about 50% slower than simply using 'show'.
extra-source-files:
README.markdown
benchmarks/*.cabal
benchmarks/*.hs
double-conversion/*.cmake.in
double-conversion/AUTHORS
double-conversion/CMakeLists.txt
double-conversion/COPYING
double-conversion/Changelog
double-conversion/LICENSE
double-conversion/Makefile
double-conversion/README
double-conversion/SConstruct
double-conversion/src/*.cc
double-conversion/src/*.h
double-conversion/src/CMakeLists.txt
double-conversion/src/SConscript
double-conversion/test/CMakeLists.txt
double-conversion/test/cctest/*.cc
double-conversion/test/cctest/*.h
double-conversion/test/cctest/CMakeLists.txt
double-conversion/test/cctest/SConscript
include/*.h
tests/*.hs
flag developer
description: operate in developer mode
default: False
manual: True
flag embedded_double_conversion
description: embed the C++ double_conversion library
default: True
library
if impl(ghc >= 9.4)
build-depends: system-cxx-std-lib == 1.0
elif os(darwin) || os(freebsd)
extra-libraries: c++
elif os(windows)
if arch(x86_64) && impl(ghc < 8.6.5)
extra-libraries: stdc++-6 gcc_s_seh-1
elif arch(x86_64)
extra-libraries: stdc++ gcc_s_seh-1
elif impl(ghc >= 8.6.5)
extra-libraries: stdc++ gcc_s_dw2-1
else
extra-libraries: stdc++-6 gcc_s_dw2-1
else
extra-libraries: stdc++
if flag(embedded_double_conversion)
c-sources:
cbits/hs-double-conversion-embed.cc
double-conversion/src/bignum.cc
double-conversion/src/bignum-dtoa.cc
double-conversion/src/cached-powers.cc
double-conversion/src/diy-fp.cc
double-conversion/src/double-conversion.cc
double-conversion/src/fast-dtoa.cc
double-conversion/src/fixed-dtoa.cc
double-conversion/src/strtod.cc
include-dirs: double-conversion/src
else
extra-libraries: double-conversion
c-sources:
cbits/hs-double-conversion.cc
include-dirs:
include
exposed-modules:
Data.Double.Conversion.Convertable
Data.Double.Conversion.ByteString
Data.Double.Conversion.Text
other-modules:
Data.Double.Conversion.Internal.FFI
Data.Double.Conversion.Internal.ByteString
Data.Double.Conversion.Internal.ByteStringBuilder
Data.Double.Conversion.Internal.Text
Data.Double.Conversion.Internal.TextBuilder
build-depends:
-- Build failure with GHC <= 7.6
-- https://github.com/haskell/double-conversion/issues/38
base >= 4.7 && < 5,
bytestring,
ghc-prim,
text >= 0.11.0.8
if flag(developer)
ghc-options: -Werror
ghc-prof-options: -auto-all
else
cc-options: -DNDEBUG
ghc-options: -Wall
default-language: Haskell2010
test-suite tests
type: exitcode-stdio-1.0
hs-source-dirs: tests
main-is: Properties.hs
other-modules: Regressions
ghc-options: -Wall
build-depends:
HUnit,
base,
bytestring,
double-conversion,
test-framework,
test-framework-hunit,
test-framework-quickcheck2,
text
default-language: Haskell2010
source-repository head
type: git
location: https://github.com/haskell/double-conversion