pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel devel: Add range-v3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/748a44f3b202
branches:  trunk
changeset: 426410:748a44f3b202
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Mar 31 10:43:54 2020 +0000

description:
devel: Add range-v3

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.

Ranges are an extension of the Standard Template Library that makes its
iterators and algorithms more powerful by making them composable. Unlike
other range-like solutions which seek to do away with iterators, in range-v3
ranges are an abstration layer on top of iterators.

diffstat:

 devel/Makefile               |    3 +-
 devel/range-v3/DESCR         |    9 +
 devel/range-v3/Makefile      |   23 +++
 devel/range-v3/PLIST         |  317 +++++++++++++++++++++++++++++++++++++++++++
 devel/range-v3/buildlink3.mk |   17 ++
 devel/range-v3/distinfo      |    6 +
 6 files changed, 374 insertions(+), 1 deletions(-)

diffs (truncated from 409 to 300 lines):

diff -r fb2d01d6a890 -r 748a44f3b202 devel/Makefile
--- a/devel/Makefile    Tue Mar 31 10:31:30 2020 +0000
+++ b/devel/Makefile    Tue Mar 31 10:43:54 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3085 2020/03/31 10:03:35 nia Exp $
+# $NetBSD: Makefile,v 1.3086 2020/03/31 10:43:54 nia Exp $
 #
 
 COMMENT=       Development utilities
@@ -2590,6 +2590,7 @@
 SUBDIR+=       radare2-cutter
 SUBDIR+=       ragel
 SUBDIR+=       rainbow-delimiters-el
+SUBDIR+=       range-v3
 SUBDIR+=       rapidsvn
 SUBDIR+=       ratfor
 SUBDIR+=       rcs
diff -r fb2d01d6a890 -r 748a44f3b202 devel/range-v3/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/range-v3/DESCR      Tue Mar 31 10:43:54 2020 +0000
@@ -0,0 +1,9 @@
+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.
+
+Ranges are an extension of the Standard Template Library that makes its
+iterators and algorithms more powerful by making them composable. Unlike
+other range-like solutions which seek to do away with iterators, in range-v3
+ranges are an abstration layer on top of iterators.
diff -r fb2d01d6a890 -r 748a44f3b202 devel/range-v3/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/range-v3/Makefile   Tue Mar 31 10:43:54 2020 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2020/03/31 10:43:54 nia Exp $
+
+DISTNAME=      range-v3-0.10.0
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=ericniebler/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/ericniebler/range-v3
+COMMENT=       Range library for C++14/17/20, basis for std::ranges in C++20
+LICENSE=       boost-license
+
+USE_CMAKE=     yes
+USE_LANGUAGES= c c++
+
+CMAKE_ARGS+=   -DRANGES_NATIVE=OFF
+CMAKE_ARGS+=   -DRANGES_BUILD_CALENDAR_EXAMPLE=OFF
+
+CMAKE_ARGS+=   -DRANGE_V3_DOCS=OFF
+CMAKE_ARGS+=   -DRANGE_V3_EXAMPLES=OFF
+CMAKE_ARGS+=   -DRANGE_V3_HEADER_CHECKS=OFF
+CMAKE_ARGS+=   -DRANGE_V3_TESTS=OFF
+
+.include "../../mk/bsd.pkg.mk"
diff -r fb2d01d6a890 -r 748a44f3b202 devel/range-v3/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/range-v3/PLIST      Tue Mar 31 10:43:54 2020 +0000
@@ -0,0 +1,317 @@
+@comment $NetBSD: PLIST,v 1.1 2020/03/31 10:43:54 nia Exp $
+include/concepts/concepts.hpp
+include/concepts/swap.hpp
+include/concepts/type_traits.hpp
+include/meta/meta.hpp
+include/meta/meta_fwd.hpp
+include/module.modulemap
+include/range/v3/action.hpp
+include/range/v3/action/action.hpp
+include/range/v3/action/adjacent_remove_if.hpp
+include/range/v3/action/concepts.hpp
+include/range/v3/action/drop.hpp
+include/range/v3/action/drop_while.hpp
+include/range/v3/action/erase.hpp
+include/range/v3/action/insert.hpp
+include/range/v3/action/join.hpp
+include/range/v3/action/push_back.hpp
+include/range/v3/action/push_front.hpp
+include/range/v3/action/remove.hpp
+include/range/v3/action/remove_if.hpp
+include/range/v3/action/reverse.hpp
+include/range/v3/action/shuffle.hpp
+include/range/v3/action/slice.hpp
+include/range/v3/action/sort.hpp
+include/range/v3/action/split.hpp
+include/range/v3/action/split_when.hpp
+include/range/v3/action/stable_sort.hpp
+include/range/v3/action/stride.hpp
+include/range/v3/action/take.hpp
+include/range/v3/action/take_while.hpp
+include/range/v3/action/transform.hpp
+include/range/v3/action/unique.hpp
+include/range/v3/action/unstable_remove_if.hpp
+include/range/v3/algorithm.hpp
+include/range/v3/algorithm/adjacent_find.hpp
+include/range/v3/algorithm/adjacent_remove_if.hpp
+include/range/v3/algorithm/all_of.hpp
+include/range/v3/algorithm/any_of.hpp
+include/range/v3/algorithm/aux_/equal_range_n.hpp
+include/range/v3/algorithm/aux_/lower_bound_n.hpp
+include/range/v3/algorithm/aux_/merge_n.hpp
+include/range/v3/algorithm/aux_/merge_n_with_buffer.hpp
+include/range/v3/algorithm/aux_/partition_point_n.hpp
+include/range/v3/algorithm/aux_/sort_n_with_buffer.hpp
+include/range/v3/algorithm/aux_/upper_bound_n.hpp
+include/range/v3/algorithm/binary_search.hpp
+include/range/v3/algorithm/contains.hpp
+include/range/v3/algorithm/copy.hpp
+include/range/v3/algorithm/copy_backward.hpp
+include/range/v3/algorithm/copy_if.hpp
+include/range/v3/algorithm/copy_n.hpp
+include/range/v3/algorithm/count.hpp
+include/range/v3/algorithm/count_if.hpp
+include/range/v3/algorithm/ends_with.hpp
+include/range/v3/algorithm/equal.hpp
+include/range/v3/algorithm/equal_range.hpp
+include/range/v3/algorithm/fill.hpp
+include/range/v3/algorithm/fill_n.hpp
+include/range/v3/algorithm/find.hpp
+include/range/v3/algorithm/find_end.hpp
+include/range/v3/algorithm/find_first_of.hpp
+include/range/v3/algorithm/find_if.hpp
+include/range/v3/algorithm/find_if_not.hpp
+include/range/v3/algorithm/for_each.hpp
+include/range/v3/algorithm/for_each_n.hpp
+include/range/v3/algorithm/generate.hpp
+include/range/v3/algorithm/generate_n.hpp
+include/range/v3/algorithm/heap_algorithm.hpp
+include/range/v3/algorithm/inplace_merge.hpp
+include/range/v3/algorithm/is_partitioned.hpp
+include/range/v3/algorithm/is_sorted.hpp
+include/range/v3/algorithm/is_sorted_until.hpp
+include/range/v3/algorithm/lexicographical_compare.hpp
+include/range/v3/algorithm/lower_bound.hpp
+include/range/v3/algorithm/max.hpp
+include/range/v3/algorithm/max_element.hpp
+include/range/v3/algorithm/merge.hpp
+include/range/v3/algorithm/min.hpp
+include/range/v3/algorithm/min_element.hpp
+include/range/v3/algorithm/minmax.hpp
+include/range/v3/algorithm/minmax_element.hpp
+include/range/v3/algorithm/mismatch.hpp
+include/range/v3/algorithm/move.hpp
+include/range/v3/algorithm/move_backward.hpp
+include/range/v3/algorithm/none_of.hpp
+include/range/v3/algorithm/nth_element.hpp
+include/range/v3/algorithm/partial_sort.hpp
+include/range/v3/algorithm/partial_sort_copy.hpp
+include/range/v3/algorithm/partition.hpp
+include/range/v3/algorithm/partition_copy.hpp
+include/range/v3/algorithm/partition_point.hpp
+include/range/v3/algorithm/permutation.hpp
+include/range/v3/algorithm/remove.hpp
+include/range/v3/algorithm/remove_copy.hpp
+include/range/v3/algorithm/remove_copy_if.hpp
+include/range/v3/algorithm/remove_if.hpp
+include/range/v3/algorithm/replace.hpp
+include/range/v3/algorithm/replace_copy.hpp
+include/range/v3/algorithm/replace_copy_if.hpp
+include/range/v3/algorithm/replace_if.hpp
+include/range/v3/algorithm/result_types.hpp
+include/range/v3/algorithm/reverse.hpp
+include/range/v3/algorithm/reverse_copy.hpp
+include/range/v3/algorithm/rotate.hpp
+include/range/v3/algorithm/rotate_copy.hpp
+include/range/v3/algorithm/sample.hpp
+include/range/v3/algorithm/search.hpp
+include/range/v3/algorithm/search_n.hpp
+include/range/v3/algorithm/set_algorithm.hpp
+include/range/v3/algorithm/shuffle.hpp
+include/range/v3/algorithm/sort.hpp
+include/range/v3/algorithm/stable_partition.hpp
+include/range/v3/algorithm/stable_sort.hpp
+include/range/v3/algorithm/starts_with.hpp
+include/range/v3/algorithm/swap_ranges.hpp
+include/range/v3/algorithm/tagspec.hpp
+include/range/v3/algorithm/transform.hpp
+include/range/v3/algorithm/unique.hpp
+include/range/v3/algorithm/unique_copy.hpp
+include/range/v3/algorithm/unstable_remove_if.hpp
+include/range/v3/algorithm/upper_bound.hpp
+include/range/v3/all.hpp
+include/range/v3/at.hpp
+include/range/v3/back.hpp
+include/range/v3/begin_end.hpp
+include/range/v3/core.hpp
+include/range/v3/data.hpp
+include/range/v3/detail/adl_get.hpp
+include/range/v3/detail/config.hpp
+include/range/v3/detail/disable_warnings.hpp
+include/range/v3/detail/range_access.hpp
+include/range/v3/detail/reenable_warnings.hpp
+include/range/v3/detail/satisfy_boost_range.hpp
+include/range/v3/detail/variant.hpp
+include/range/v3/detail/with_braced_init_args.hpp
+include/range/v3/distance.hpp
+include/range/v3/empty.hpp
+include/range/v3/experimental/utility/generator.hpp
+include/range/v3/experimental/view/shared.hpp
+include/range/v3/front.hpp
+include/range/v3/functional.hpp
+include/range/v3/functional/arithmetic.hpp
+include/range/v3/functional/bind.hpp
+include/range/v3/functional/bind_back.hpp
+include/range/v3/functional/comparisons.hpp
+include/range/v3/functional/compose.hpp
+include/range/v3/functional/concepts.hpp
+include/range/v3/functional/identity.hpp
+include/range/v3/functional/indirect.hpp
+include/range/v3/functional/invoke.hpp
+include/range/v3/functional/not_fn.hpp
+include/range/v3/functional/on.hpp
+include/range/v3/functional/overload.hpp
+include/range/v3/functional/pipeable.hpp
+include/range/v3/functional/reference_wrapper.hpp
+include/range/v3/getlines.hpp
+include/range/v3/index.hpp
+include/range/v3/istream_range.hpp
+include/range/v3/iterator.hpp
+include/range/v3/iterator/access.hpp
+include/range/v3/iterator/basic_iterator.hpp
+include/range/v3/iterator/common_iterator.hpp
+include/range/v3/iterator/concepts.hpp
+include/range/v3/iterator/counted_iterator.hpp
+include/range/v3/iterator/default_sentinel.hpp
+include/range/v3/iterator/diffmax_t.hpp
+include/range/v3/iterator/insert_iterators.hpp
+include/range/v3/iterator/move_iterators.hpp
+include/range/v3/iterator/operations.hpp
+include/range/v3/iterator/reverse_iterator.hpp
+include/range/v3/iterator/stream_iterators.hpp
+include/range/v3/iterator/traits.hpp
+include/range/v3/iterator/unreachable_sentinel.hpp
+include/range/v3/iterator_range.hpp
+include/range/v3/numeric.hpp
+include/range/v3/numeric/accumulate.hpp
+include/range/v3/numeric/adjacent_difference.hpp
+include/range/v3/numeric/inner_product.hpp
+include/range/v3/numeric/iota.hpp
+include/range/v3/numeric/partial_sum.hpp
+include/range/v3/range.hpp
+include/range/v3/range/access.hpp
+include/range/v3/range/concepts.hpp
+include/range/v3/range/conversion.hpp
+include/range/v3/range/dangling.hpp
+include/range/v3/range/operations.hpp
+include/range/v3/range/primitives.hpp
+include/range/v3/range/traits.hpp
+include/range/v3/range_access.hpp
+include/range/v3/range_concepts.hpp
+include/range/v3/range_for.hpp
+include/range/v3/range_fwd.hpp
+include/range/v3/range_traits.hpp
+include/range/v3/size.hpp
+include/range/v3/span.hpp
+include/range/v3/to_container.hpp
+include/range/v3/utility.hpp
+include/range/v3/utility/addressof.hpp
+include/range/v3/utility/any.hpp
+include/range/v3/utility/associated_types.hpp
+include/range/v3/utility/basic_iterator.hpp
+include/range/v3/utility/box.hpp
+include/range/v3/utility/common_iterator.hpp
+include/range/v3/utility/common_tuple.hpp
+include/range/v3/utility/common_type.hpp
+include/range/v3/utility/compressed_pair.hpp
+include/range/v3/utility/concepts.hpp
+include/range/v3/utility/copy.hpp
+include/range/v3/utility/counted_iterator.hpp
+include/range/v3/utility/dangling.hpp
+include/range/v3/utility/functional.hpp
+include/range/v3/utility/get.hpp
+include/range/v3/utility/in_place.hpp
+include/range/v3/utility/infinity.hpp
+include/range/v3/utility/invoke.hpp
+include/range/v3/utility/iterator.hpp
+include/range/v3/utility/iterator_concepts.hpp
+include/range/v3/utility/iterator_traits.hpp
+include/range/v3/utility/memory.hpp
+include/range/v3/utility/move.hpp
+include/range/v3/utility/nullptr_v.hpp
+include/range/v3/utility/optional.hpp
+include/range/v3/utility/polymorphic_cast.hpp
+include/range/v3/utility/random.hpp
+include/range/v3/utility/scope_exit.hpp
+include/range/v3/utility/semiregular.hpp
+include/range/v3/utility/semiregular_box.hpp
+include/range/v3/utility/static_const.hpp
+include/range/v3/utility/swap.hpp
+include/range/v3/utility/tagged_pair.hpp
+include/range/v3/utility/tagged_tuple.hpp
+include/range/v3/utility/tuple_algorithm.hpp
+include/range/v3/utility/unreachable.hpp
+include/range/v3/utility/variant.hpp
+include/range/v3/version.hpp
+include/range/v3/view.hpp
+include/range/v3/view/adaptor.hpp
+include/range/v3/view/addressof.hpp
+include/range/v3/view/adjacent_filter.hpp



Home | Main Index | Thread Index | Old Index