forked from pool/range-v3
Accepting request 991155 from home:dirkmueller:Factory
- update to 0.12.0: * NEW: views::chunk_by which, like the old views::group_by it replaces, * splits a range into a range-of-ranges, where adjacent elements satisfy a binary * predicate (#1648). [Note: Whereas views::group_by evaluated the predicate * between the current element and the first element in the chunk, views::chunk_by * evaluates the predicate between adjacent elements. -- end note] * NEW: constexpr all the algorithms that are constexpr in C++20's std::ranges * NEW: Fold algorithms from P2322 * NEW: ranges::unformatted_ostream_iterator * NEW: Support for the build2 build system * Implement P2328: relax the constraint on ranges::join_view * to support joining ranges of prvalue non-view ranges * Improved algorithm for ranges::linear_distribute * Renamed safe_subrange_t to borrowed_subrange_t * Extend ranges::to to support conversion to container-of-containers * views::enumerate can be a borrowed_view * ranges::upper_bound works in the presence of overloaded operator& * Input iterators are no longer required to be default-constructible * Bug fixes - drop fix-install.patch: upstream OBS-URL: https://build.opensuse.org/request/show/991155 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/range-v3?expand=0&rev=3
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:376376615dbba43d3bef75aa590931431ecb49eb36d07bb726a19f680c75e20c
|
||||
size 533136
|
||||
3
0.12.0.tar.gz
Normal file
3
0.12.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:015adb2300a98edfceaf0725beec3337f542af4915cec4d0b89fa0886f4ba9cb
|
||||
size 582834
|
||||
@@ -1,21 +0,0 @@
|
||||
diff -rub a/CMakeLists.txt b/CMakeLists.txt
|
||||
--- a/CMakeLists.txt 2020-08-07 05:05:10.000000000 +0600
|
||||
+++ b/CMakeLists.txt 2020-08-15 18:14:50.699938347 +0600
|
||||
@@ -167,12 +167,13 @@
|
||||
)
|
||||
set(CMAKE_SIZEOF_VOID_P ${OLD_CMAKE_SIZEOF_VOID_P})
|
||||
|
||||
-install(TARGETS range-v3-concepts range-v3-meta range-v3 EXPORT range-v3-targets DESTINATION lib)
|
||||
-install(EXPORT range-v3-targets FILE range-v3-targets.cmake DESTINATION lib/cmake/range-v3)
|
||||
+include(GNUInstallDirs)
|
||||
+install(TARGETS range-v3-concepts range-v3-meta range-v3 EXPORT range-v3-targets DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
+install(EXPORT range-v3-targets FILE range-v3-targets.cmake DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/range-v3)
|
||||
install(FILES
|
||||
${CMAKE_CURRENT_BINARY_DIR}/range-v3-config-version.cmake
|
||||
cmake/range-v3-config.cmake
|
||||
- DESTINATION lib/cmake/range-v3)
|
||||
-install(DIRECTORY include/ DESTINATION include FILES_MATCHING PATTERN "*")
|
||||
+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/range-v3)
|
||||
+install(DIRECTORY include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} FILES_MATCHING PATTERN "*")
|
||||
|
||||
export(EXPORT range-v3-targets FILE range-v3-config.cmake)
|
||||
@@ -1,3 +1,27 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 25 21:30:06 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.12.0:
|
||||
* NEW: views::chunk_by which, like the old views::group_by it replaces,
|
||||
* splits a range into a range-of-ranges, where adjacent elements satisfy a binary
|
||||
* predicate (#1648). [Note: Whereas views::group_by evaluated the predicate
|
||||
* between the current element and the first element in the chunk, views::chunk_by
|
||||
* evaluates the predicate between adjacent elements. -- end note]
|
||||
* NEW: constexpr all the algorithms that are constexpr in C++20's std::ranges
|
||||
* NEW: Fold algorithms from P2322
|
||||
* NEW: ranges::unformatted_ostream_iterator
|
||||
* NEW: Support for the build2 build system
|
||||
* Implement P2328: relax the constraint on ranges::join_view
|
||||
* to support joining ranges of prvalue non-view ranges
|
||||
* Improved algorithm for ranges::linear_distribute
|
||||
* Renamed safe_subrange_t to borrowed_subrange_t
|
||||
* Extend ranges::to to support conversion to container-of-containers
|
||||
* views::enumerate can be a borrowed_view
|
||||
* ranges::upper_bound works in the presence of overloaded operator&
|
||||
* Input iterators are no longer required to be default-constructible
|
||||
* Bug fixes
|
||||
- drop fix-install.patch: upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 15 11:48:53 UTC 2020 - Dead Mozay <dead_mozay@opensuse.org>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package range-v3
|
||||
#
|
||||
# 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
|
||||
@@ -15,27 +15,27 @@
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define __builder ninja
|
||||
Name: range-v3
|
||||
Version: 0.11.0
|
||||
Version: 0.12.0
|
||||
Release: 0
|
||||
Summary: Range library for C++14/17/20, basis for C++20's std::ranges
|
||||
License: BSL-1.0
|
||||
URL: https://github.com/ericniebler/range-v3
|
||||
Source: %{url}/archive/%{version}.tar.gz
|
||||
Patch0: fix-install.patch
|
||||
BuildRequires: cmake
|
||||
BuildRequires: ninja
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: ninja
|
||||
|
||||
%description
|
||||
Range library for C++14/17/20. This code was the basis of a formal proposal to add range support to the C++ standard library.
|
||||
That proposal evolved through a Technical Specification, and finally into P0896R4 "The One Ranges Proposal"
|
||||
Range library for C++14/17/20. This code was the basis of a formal proposal to add range support to the C++ standard library.
|
||||
That proposal evolved through a Technical Specification, and finally into P0896R4 "The One Ranges Proposal"
|
||||
which was merged into the C++20 working drafts in November 2018.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Provides: %{name}-static = %{version}
|
||||
Summary: Development files for %{name}
|
||||
Provides: %{name}-static = %{version}
|
||||
|
||||
%description devel
|
||||
%{summary}.
|
||||
@@ -50,7 +50,7 @@ Provides: %{name}-static = %{version}
|
||||
-DRANGE_V3_DOCS=OFF \
|
||||
-DRANGE_V3_EXAMPLES=OFF \
|
||||
-DRANGES_MODULES=OFF
|
||||
|
||||
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
|
||||
Reference in New Issue
Block a user