Sync from SUSE:SLFO:Main fast_float revision e4e43d63003bd2965308ae2bc648492f

This commit is contained in:
2025-03-24 17:23:09 +01:00
commit 2c4c091f05
4 changed files with 107 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
fast_float-7.0.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

13
fast_float.changes Normal file
View File

@@ -0,0 +1,13 @@
-------------------------------------------------------------------
Sat Jan 18 05:58:09 UTC 2025 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Update to 7.0.0:
+ Iplus/minus handling in parse_infnan
+ enum class chars_format
+ Add allow_leading_plus and skip_white_space in chars_format
- Drop upstream make_supplemental_tests_optional.patch
-------------------------------------------------------------------
Mon Dec 25 22:18:48 UTC 2023 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Initial package version (6.0.0)

68
fast_float.spec Normal file
View File

@@ -0,0 +1,68 @@
#
# spec file for package fast_float
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: fast_float
Version: 7.0.0
Release: 0
Summary: A fast number parsing library
License: Apache-2.0 OR BSL-1.0 OR MIT
Group: Development/Libraries/C and C++
URL: https://github.com/fastfloat/fast_float
Source: https://github.com/fastfloat/fast_float/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: c++_compiler
BuildRequires: cmake
BuildRequires: cmake(doctest)
%description
The fast_float library provides fast header-only implementations for the C++
from_chars functions for float and double types as well as integer types.
%package devel
BuildArch: noarch
Summary: Development and header files for %{name}
%description devel
The fast_float library provides fast header-only implementations for the C++
from_chars functions for float and double types as well as integer types.
%prep
%autosetup -p1
%build
%cmake \
-DFASTFLOAT_TEST:BOOL=ON \
-DFASTFLOAT_SUPPLEMENTAL_TESTS:BOOL=OFF \
-DSYSTEM_DOCTEST:BOOL=ON \
%{nil}
#exit 1
%cmake_build
%install
%cmake_install
%check
%ctest
%files devel
%license LICENSE-APACHE LICENSE-BOOST LICENSE-MIT
%doc README.md
%{_includedir}/fast_float
%dir %{_datadir}/cmake
%{_datadir}/cmake/FastFloat
%changelog