pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue Mar 31 10:43:55 UTC 2020

Modified Files:
        pkgsrc/devel: Makefile
Added Files:
        pkgsrc/devel/range-v3: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.3085 -r1.3086 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/range-v3/DESCR \
    pkgsrc/devel/range-v3/Makefile pkgsrc/devel/range-v3/PLIST \
    pkgsrc/devel/range-v3/buildlink3.mk pkgsrc/devel/range-v3/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.3085 pkgsrc/devel/Makefile:1.3086
--- pkgsrc/devel/Makefile:1.3085        Tue Mar 31 10:03:35 2020
+++ pkgsrc/devel/Makefile       Tue Mar 31 10:43:54 2020
@@ -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
 SUBDIR+=       radare2-cutter
 SUBDIR+=       ragel
 SUBDIR+=       rainbow-delimiters-el
+SUBDIR+=       range-v3
 SUBDIR+=       rapidsvn
 SUBDIR+=       ratfor
 SUBDIR+=       rcs

Added files:

Index: pkgsrc/devel/range-v3/DESCR
diff -u /dev/null pkgsrc/devel/range-v3/DESCR:1.1
--- /dev/null   Tue Mar 31 10:43:55 2020
+++ pkgsrc/devel/range-v3/DESCR Tue Mar 31 10:43:54 2020
@@ -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.
Index: pkgsrc/devel/range-v3/Makefile
diff -u /dev/null pkgsrc/devel/range-v3/Makefile:1.1
--- /dev/null   Tue Mar 31 10:43:55 2020
+++ pkgsrc/devel/range-v3/Makefile      Tue Mar 31 10:43:54 2020
@@ -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"
Index: pkgsrc/devel/range-v3/PLIST
diff -u /dev/null pkgsrc/devel/range-v3/PLIST:1.1
--- /dev/null   Tue Mar 31 10:43:55 2020
+++ pkgsrc/devel/range-v3/PLIST Tue Mar 31 10:43:54 2020
@@ -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
+include/range/v3/view/adjacent_remove_if.hpp
+include/range/v3/view/all.hpp
+include/range/v3/view/any_view.hpp
+include/range/v3/view/bounded.hpp
+include/range/v3/view/c_str.hpp
+include/range/v3/view/cache1.hpp
+include/range/v3/view/cartesian_product.hpp
+include/range/v3/view/chunk.hpp
+include/range/v3/view/common.hpp
+include/range/v3/view/concat.hpp
+include/range/v3/view/const.hpp
+include/range/v3/view/counted.hpp
+include/range/v3/view/cycle.hpp
+include/range/v3/view/delimit.hpp
+include/range/v3/view/drop.hpp
+include/range/v3/view/drop_exactly.hpp
+include/range/v3/view/drop_last.hpp
+include/range/v3/view/drop_while.hpp
+include/range/v3/view/empty.hpp
+include/range/v3/view/enumerate.hpp
+include/range/v3/view/exclusive_scan.hpp
+include/range/v3/view/facade.hpp
+include/range/v3/view/filter.hpp
+include/range/v3/view/for_each.hpp
+include/range/v3/view/generate.hpp
+include/range/v3/view/generate_n.hpp
+include/range/v3/view/getlines.hpp
+include/range/v3/view/group_by.hpp
+include/range/v3/view/indices.hpp
+include/range/v3/view/indirect.hpp
+include/range/v3/view/interface.hpp
+include/range/v3/view/intersperse.hpp
+include/range/v3/view/iota.hpp
+include/range/v3/view/istream.hpp
+include/range/v3/view/join.hpp
+include/range/v3/view/linear_distribute.hpp
+include/range/v3/view/map.hpp
+include/range/v3/view/move.hpp
+include/range/v3/view/partial_sum.hpp
+include/range/v3/view/ref.hpp
+include/range/v3/view/remove.hpp
+include/range/v3/view/remove_if.hpp
+include/range/v3/view/repeat.hpp
+include/range/v3/view/repeat_n.hpp
+include/range/v3/view/replace.hpp
+include/range/v3/view/replace_if.hpp
+include/range/v3/view/reverse.hpp
+include/range/v3/view/sample.hpp
+include/range/v3/view/set_algorithm.hpp
+include/range/v3/view/single.hpp
+include/range/v3/view/slice.hpp
+include/range/v3/view/sliding.hpp
+include/range/v3/view/span.hpp
+include/range/v3/view/split.hpp
+include/range/v3/view/split_when.hpp
+include/range/v3/view/stride.hpp
+include/range/v3/view/subrange.hpp
+include/range/v3/view/tail.hpp
+include/range/v3/view/take.hpp
+include/range/v3/view/take_exactly.hpp
+include/range/v3/view/take_last.hpp
+include/range/v3/view/take_while.hpp
+include/range/v3/view/tokenize.hpp
+include/range/v3/view/transform.hpp
+include/range/v3/view/trim.hpp
+include/range/v3/view/unbounded.hpp
+include/range/v3/view/unique.hpp
+include/range/v3/view/view.hpp
+include/range/v3/view/zip.hpp
+include/range/v3/view/zip_with.hpp
+include/range/v3/view_adaptor.hpp
+include/range/v3/view_facade.hpp
+include/range/v3/view_interface.hpp
+include/std/detail/associated_types.hpp
+include/std/iterator
+lib/cmake/range-v3/range-v3-config-version.cmake
+lib/cmake/range-v3/range-v3-config.cmake
+lib/cmake/range-v3/range-v3-targets.cmake
Index: pkgsrc/devel/range-v3/buildlink3.mk
diff -u /dev/null pkgsrc/devel/range-v3/buildlink3.mk:1.1
--- /dev/null   Tue Mar 31 10:43:55 2020
+++ pkgsrc/devel/range-v3/buildlink3.mk Tue Mar 31 10:43:54 2020
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/03/31 10:43:54 nia Exp $
+
+BUILDLINK_TREE+=       range-v3
+
+.if !defined(RANGE_V3_BUILDLINK3_MK)
+RANGE_V3_BUILDLINK3_MK:=
+
+# "The code is known to work on the following compilers: [...] GCC 6.5 (or later)"
+GCC_REQD+=     6
+
+BUILDLINK_API_DEPENDS.range-v3+=       range-v3>=0.10.0
+BUILDLINK_PKGSRCDIR.range-v3?=         ../../devel/range-v3
+# Only installs libraries.
+BUILDLINK_DEPMETHOD.range-v3?=         build
+.endif # RANGE_V3_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -range-v3
Index: pkgsrc/devel/range-v3/distinfo
diff -u /dev/null pkgsrc/devel/range-v3/distinfo:1.1
--- /dev/null   Tue Mar 31 10:43:55 2020
+++ pkgsrc/devel/range-v3/distinfo      Tue Mar 31 10:43:54 2020
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/03/31 10:43:54 nia Exp $
+
+SHA1 (range-v3-0.10.0.tar.gz) = 57b20853b84602d7f021fe280bc56ca59b2a1ace
+RMD160 (range-v3-0.10.0.tar.gz) = 99e31b7ae58996bc890325d15accffe0a648194b
+SHA512 (range-v3-0.10.0.tar.gz) = 4db089dcbf638eb30fa20dcf6785dd460c5a074a8912984a484592753cfee9f5b9a0e2c56b5bc5921d1b6120877aa2c83ac0a6fe428088ef2854033a635e9723
+Size (range-v3-0.10.0.tar.gz) = 525765 bytes



Home | Main Index | Thread Index | Old Index