summaryrefslogtreecommitdiff
path: root/dev-cpp/range-v3
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-09-27 21:10:49 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-09-27 21:10:49 +0100
commit3ca7a521e79841f7247feb67780a70722c997d55 (patch)
tree30b9afb1b822575d8e6ac4009489795a105a56ce /dev-cpp/range-v3
parentc268590c556cb766e1ca3f55fde8a40cdde19c44 (diff)
gentoo auto-resync : 27:09:2022 - 21:10:48
Diffstat (limited to 'dev-cpp/range-v3')
-rw-r--r--dev-cpp/range-v3/Manifest6
-rw-r--r--dev-cpp/range-v3/files/0.11.0-gcc10.patch133
-rw-r--r--dev-cpp/range-v3/files/0.11.0-no-werror.patch39
-rw-r--r--dev-cpp/range-v3/range-v3-0.10.0-r1.ebuild34
-rw-r--r--dev-cpp/range-v3/range-v3-0.11.0.ebuild46
5 files changed, 0 insertions, 258 deletions
diff --git a/dev-cpp/range-v3/Manifest b/dev-cpp/range-v3/Manifest
index c49f0f7c4e64..839906045b17 100644
--- a/dev-cpp/range-v3/Manifest
+++ b/dev-cpp/range-v3/Manifest
@@ -1,11 +1,5 @@
-AUX 0.11.0-gcc10.patch 5360 BLAKE2B 2b679699a6c98004322caa0cc3334a898010263afff7ee870576855993f9cca8887066306d154ca63f53af224e2601e998deed0eff8c48f93c4b1b91d8bc0e77 SHA512 081032ea9f458f0d3bdc5931e89cab49ae32d4e0cf5a8a5a7ebbc7fd0e103469c78822d5f1ccba75b0425fa8c9b8b9057069a786a6f4fdb229b94a583172cbf7
-AUX 0.11.0-no-werror.patch 1543 BLAKE2B 31a87abcfbfd23d1f585053befaa869a7299c74d903028b4c2c4b19194787cc325f6dda2dc5d9255d6aa38ce3b4b3182e9b9a133fa61d24569c56ac344cde643 SHA512 8ddc6073e1386cb667e66e5496d2566b60bc64f9670bd94d3d66582a43db66466e4f57995c68bf1ceca500c07f8f7feccfaeeb1c0cf9fafa14de5a81482eca5c
AUX 0.12.0-fix-any-1.patch 1252 BLAKE2B 307bbfa93cbecc4b58ff04172958e5d32c7e4f83b19140e6b3819517cb23a9089654954390e081a3ed82dc299f3bb1e3d0b257ed46b5f24cdb926bcaa28506e5 SHA512 617dfae7cf816cb554136a895f277541a2fa0030e78df60bcdbe6e3a2728f7d702b7c82ac15089f4c3a0fe83e92199b95c665a696471ceac70c8966d66381f25
AUX 0.12.0-fix-any-2.patch 5500 BLAKE2B b1d5df033bdda42d7db172e07a6577d398603ddc262d409529463866f0e5ebd87ff5082941313b61a346c8bae1ac6870103e307c123d525c49eefc97a00af26c SHA512 51dfa7f70020b174666034636de4e326c80bc292c6e579731df95ba07ec60a9523b4f231bd31a0f8217f23e4fd64be785dda3af8e018ebe7b17ba087fe6446f2
-DIST range-v3-0.10.0.tar.gz 525765 BLAKE2B 7dd3aed9b35920e058fe43bccd364831a52ad8d50179d1057ab7a37cdef82df021bb09a9913018ae78982fe136c855ba4101e31d35cfc21747af994d0103b95e SHA512 4db089dcbf638eb30fa20dcf6785dd460c5a074a8912984a484592753cfee9f5b9a0e2c56b5bc5921d1b6120877aa2c83ac0a6fe428088ef2854033a635e9723
-DIST range-v3-0.11.0.tar.gz 533136 BLAKE2B d325b14a9d812cb7a600a947126bcecf9384bec987edbad42eec38560415d075815ab92e3f92dad291029fc3e1b1afa1ceaf54443b4a536078047fd32d344394 SHA512 9d6cdcbc1e50104206ba731c3bdc9aab3acfcf69cd83f0e0b4de18b88df2a9e73d64e55638421768d4433c542b6619f6e5af6b17cccd3090cf8b4d4efe9863e4
DIST range-v3-0.12.0.tar.gz 582834 BLAKE2B 252066fae70aae76450226f2c17248662de4778dcebcd7dbaa2bf757c1bfe3e7441f65e41e3110c1ae83ae93a41c54d6c006dbf5482ffbe09a3aa4f51d02df9c SHA512 b8b632b8e0f2a3234ef61813212c237f648cd741e816ca57bd86f82f6459f7d755e2b70361d2aa43847874fb546a31a792ab1c3ba90292818ae7313438dc62d0
-EBUILD range-v3-0.10.0-r1.ebuild 854 BLAKE2B 17533e47f71866b1b7be5b7323e7179513dad88287a61506bb1fb145004927a64a2809682b91c548cc89f544238ee3cbbc2ec42159a3686f5a5c8cc4d63a9f0c SHA512 9d326cb93b3bc3fd32adf43ee6229ea672d56be1c711afe0724cd012451d570ac4ea9404992bee1faa64c4cdffacfef78193192953626a771780bb17939cd5cc
-EBUILD range-v3-0.11.0.ebuild 1184 BLAKE2B 394fd260a78eded8e8f328b103d296431ec5617c6ec2f37579137a089fad3c2be225c5b2ddf04fda724d804197061ada41a0d00cb67a815733210ef95c4dd431 SHA512 4b47b7dbbc7e275eb152b2725e161bae133b903b7d5f9a58ad74c628b4299a381c055224c05da966cf2a67ae173afa297f7ce0cfd01fdb1f12e72e2d841a11bc
EBUILD range-v3-0.12.0.ebuild 1215 BLAKE2B 419dbc8411ecf81f73dee1b9587c68d2828b89d529d1e5edeae73742ce1c40568a9ad11acbf9c715d28828cde68dc7a2235dd8e5b13d847821b460f74e0f74d9 SHA512 f6324c9338da4d8cadb3a6a1d7957e2c284246c8cfd14f9886226314a0d7f270f3dce2ef6f050687a7fd23899fd72eba0e65a247d05278f340db46bb6c8da943
MISC metadata.xml 810 BLAKE2B bdebf063bfd0652ef3a38f5c96f08fbcfe3933937aa00883d39cc216a79ebfd65fa3c538d15ab0b5b4855ef7696b98e14c292b6587f2d870ca9d4eb6d7d7e96c SHA512 b24ff8d2452b70c34a941c693e6b2bc256fbcc23a49acabdb7126d593b44de30116d9543edf57bf49ca5c6ba854b851b802167347a08736b16a1b200c28aa5fc
diff --git a/dev-cpp/range-v3/files/0.11.0-gcc10.patch b/dev-cpp/range-v3/files/0.11.0-gcc10.patch
deleted file mode 100644
index caebf0a63162..000000000000
--- a/dev-cpp/range-v3/files/0.11.0-gcc10.patch
+++ /dev/null
@@ -1,133 +0,0 @@
-From a91f0e1be27a31c446452a753001d4518ef83a6b Mon Sep 17 00:00:00 2001
-From: Eric Niebler <eniebler@boost.org>
-Date: Mon, 17 Aug 2020 17:48:09 -0700
-Subject: [PATCH] work around premature instantiation problem on gcc; fixes
- #1545
-
----
- include/range/v3/view/chunk.hpp | 6 +++---
- include/range/v3/view/split.hpp | 26 +++++++++++++-------------
- 2 files changed, 16 insertions(+), 16 deletions(-)
-
-diff --git a/include/range/v3/view/chunk.hpp b/include/range/v3/view/chunk.hpp
-index 0c03cf1eb..b8df13303 100644
---- a/include/range/v3/view/chunk.hpp
-+++ b/include/range/v3/view/chunk.hpp
-@@ -313,8 +313,8 @@ namespace ranges
-
- public:
- inner_view() = default;
-- constexpr explicit inner_view(chunk_view_ & view) noexcept
-- : rng_{&view}
-+ constexpr explicit inner_view(chunk_view_ * view) noexcept
-+ : rng_{view}
- {}
- CPP_auto_member
- constexpr auto CPP_fun(size)()(
-@@ -338,7 +338,7 @@ namespace ranges
- constexpr inner_view read() const
- {
- RANGES_EXPECT(!done());
-- return inner_view{*rng_};
-+ return inner_view{rng_};
- }
- constexpr bool done() const
- {
-diff --git a/include/range/v3/view/split.hpp b/include/range/v3/view/split.hpp
-index facf1b37f..496220e4a 100644
---- a/include/range/v3/view/split.hpp
-+++ b/include/range/v3/view/split.hpp
-@@ -389,19 +389,19 @@ namespace ranges
- split_outer_iterator() = default;
-
- CPP_member
-- constexpr explicit CPP_ctor(split_outer_iterator)(Parent & parent)(
-+ constexpr explicit CPP_ctor(split_outer_iterator)(Parent * parent)(
- /// \pre
- requires (!forward_range<Base>))
-- : parent_(&parent)
-+ : parent_(parent)
- {}
-
- CPP_member
-- constexpr CPP_ctor(split_outer_iterator)(Parent & parent,
-+ constexpr CPP_ctor(split_outer_iterator)(Parent * parent,
- iterator_t<Base> current)(
- /// \pre
- requires forward_range<Base>)
- : Current{std::move(current)}
-- , parent_(&parent)
-+ , parent_(parent)
- {}
-
- template(bool Other)(
-@@ -519,7 +519,7 @@ namespace ranges
- ranges::equal_to> &&
- (forward_range<V> || detail::tiny_range<Pattern>)
- #endif
-- struct RANGES_EMPTY_BASES split_view
-+ struct RANGES_EMPTY_BASES split_view
- : view_interface<split_view<V, Pattern>, is_finite<V>::value ? finite : unknown>
- , private detail::split_view_base<iterator_t<V>>
- {
-@@ -537,17 +537,17 @@ namespace ranges
- #if RANGES_CXX_IF_CONSTEXPR < RANGES_CXX_IF_CONSTEXPR_17
- outer_iterator<simple_view<V>()> begin_(std::true_type)
- {
-- return outer_iterator<simple_view<V>()>{*this, ranges::begin(base_)};
-+ return outer_iterator<simple_view<V>()>{this, ranges::begin(base_)};
- }
- outer_iterator<false> begin_(std::false_type)
- {
- this->curr_ = ranges::begin(base_);
-- return outer_iterator<false>{*this};
-+ return outer_iterator<false>{this};
- }
-
- outer_iterator<simple_view<V>()> end_(std::true_type) const
- {
-- return outer_iterator<true>{*this, ranges::end(base_)};
-+ return outer_iterator<true>{this, ranges::end(base_)};
- }
- default_sentinel_t end_(std::false_type) const
- {
-@@ -580,11 +580,11 @@ namespace ranges
- {
- #if RANGES_CXX_IF_CONSTEXPR >= RANGES_CXX_IF_CONSTEXPR_17
- if constexpr(forward_range<V>)
-- return outer_iterator<simple_view<V>()>{*this, ranges::begin(base_)};
-+ return outer_iterator<simple_view<V>()>{this, ranges::begin(base_)};
- else
- {
- this->curr_ = ranges::begin(base_);
-- return outer_iterator<false>{*this};
-+ return outer_iterator<false>{this};
- }
- #else
- return begin_(meta::bool_<forward_range<V>>{});
-@@ -596,7 +596,7 @@ namespace ranges
- /// \pre
- requires forward_range<V> && forward_range<const V>)
- {
-- return {*this, ranges::begin(base_)};
-+ return {this, ranges::begin(base_)};
- }
- CPP_member
- constexpr auto end() //
-@@ -604,14 +604,14 @@ namespace ranges
- /// \pre
- requires forward_range<V> && common_range<V>)
- {
-- return outer_iterator<simple_view<V>()>{*this, ranges::end(base_)};
-+ return outer_iterator<simple_view<V>()>{this, ranges::end(base_)};
- }
- constexpr auto end() const
- {
- #if RANGES_CXX_IF_CONSTEXPR >= RANGES_CXX_IF_CONSTEXPR_17
- if constexpr(forward_range<V> && forward_range<const V> &&
- common_range<const V>)
-- return outer_iterator<true>{*this, ranges::end(base_)};
-+ return outer_iterator<true>{this, ranges::end(base_)};
- else
- return default_sentinel;
- #else
diff --git a/dev-cpp/range-v3/files/0.11.0-no-werror.patch b/dev-cpp/range-v3/files/0.11.0-no-werror.patch
deleted file mode 100644
index 1894fcc93b6c..000000000000
--- a/dev-cpp/range-v3/files/0.11.0-no-werror.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From 66e847d4e14be3a369b7e26a03a172b20e62c003 Mon Sep 17 00:00:00 2001
-From: eksi <eksi@eksi.eksi>
-Date: Wed, 4 Nov 2020 20:37:01 +0300
-Subject: [PATCH] Add an option to disable -Werror. Fixes #1528
-
----
- cmake/ranges_flags.cmake | 4 +++-
- cmake/ranges_options.cmake | 3 +++
- 2 files changed, 6 insertions(+), 1 deletion(-)
-
-diff --git a/cmake/ranges_flags.cmake b/cmake/ranges_flags.cmake
-index 76d893043..9b09ddcb8 100644
---- a/cmake/ranges_flags.cmake
-+++ b/cmake/ranges_flags.cmake
-@@ -88,7 +88,9 @@ else()
- # Enable "normal" warnings and make them errors:
- ranges_append_flag(RANGES_HAS_WALL -Wall)
- ranges_append_flag(RANGES_HAS_WEXTRA -Wextra)
-- ranges_append_flag(RANGES_HAS_WERROR -Werror)
-+ if (RANGES_ENABLE_WERROR)
-+ ranges_append_flag(RANGES_HAS_WERROR -Werror)
-+ endif()
- endif()
-
- if (RANGES_ENV_LINUX AND RANGES_CXX_COMPILER_CLANG)
-diff --git a/cmake/ranges_options.cmake b/cmake/ranges_options.cmake
-index 4ec39c7f0..8455af306 100644
---- a/cmake/ranges_options.cmake
-+++ b/cmake/ranges_options.cmake
-@@ -16,6 +16,9 @@ option(RANGES_MODULES "Enables use of Clang modules (experimental)." OFF)
- option(RANGES_NATIVE "Enables -march/-mtune=native." ON)
- option(RANGES_VERBOSE_BUILD "Enables debug output from CMake." OFF)
- option(RANGES_LLVM_POLLY "Enables LLVM Polly." OFF)
-+option(RANGES_ENABLE_WERROR
-+ "Enables -Werror. Only effective if compiler is not clang-cl or MSVC. ON by default"
-+ ON)
- option(RANGES_PREFER_REAL_CONCEPTS
- "Use real concepts instead of emulation if the compiler supports it"
- ON)
diff --git a/dev-cpp/range-v3/range-v3-0.10.0-r1.ebuild b/dev-cpp/range-v3/range-v3-0.10.0-r1.ebuild
deleted file mode 100644
index 0c4a5694d936..000000000000
--- a/dev-cpp/range-v3/range-v3-0.10.0-r1.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-DESCRIPTION="Range library for C++14/17/20, basis for C++20's std::ranges"
-HOMEPAGE="https://github.com/ericniebler/range-v3"
-SRC_URI="https://github.com/ericniebler/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Boost-1.0"
-SLOT="0"
-KEYWORDS="amd64 ~ppc64"
-IUSE=""
-
-src_prepare() {
- sed -i -e '/Werror/d' -e '/Wextra/d' -e '/Wall/d' cmake/ranges_flags.cmake || die
- sed -i -e "s@lib/cmake@"$(get_libdir)"/cmake@g" CMakeLists.txt || die
- cmake_src_prepare
-}
-
-src_configure() {
- mycmakeargs=(
- -DRANGE_V3_EXAMPLES=OFF
- -DRANGE_V3_HEADER_CHECKS=OFF
- -DRANGE_V3_PERF=OFF
- -DRANGE_V3_TESTS=OFF
- -DRANGES_BUILD_CALENDAR_EXAMPLE=OFF
- -DRANGES_NATIVE=OFF
- #TODO: clang support + -DRANGES_MODULES=yes
- )
- cmake_src_configure
-}
diff --git a/dev-cpp/range-v3/range-v3-0.11.0.ebuild b/dev-cpp/range-v3/range-v3-0.11.0.ebuild
deleted file mode 100644
index 91aeddf498fa..000000000000
--- a/dev-cpp/range-v3/range-v3-0.11.0.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 2020-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-DESCRIPTION="Range library for C++14/17/20, basis for C++20's std::ranges"
-HOMEPAGE="https://github.com/ericniebler/range-v3"
-SRC_URI="https://github.com/ericniebler/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Boost-1.0"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-PATCHES=(
- "${FILESDIR}/0.11.0-no-werror.patch"
- "${FILESDIR}/0.11.0-gcc10.patch"
-)
-
-src_prepare() {
- # header-only libraries go to arch-independent dirs
- sed -i -e 's@lib/cmake@share/cmake@g' CMakeLists.txt || die
- rm include/module.modulemap || die # https://bugs.gentoo.org/755740
- cmake_src_prepare
-}
-
-src_configure() {
- mycmakeargs=(
- -DRANGES_BUILD_CALENDAR_EXAMPLE=OFF
- -DRANGES_NATIVE=OFF
- -DRANGES_DEBUG_INFO=OFF
- -DRANGES_NATIVE=OFF
- -DRANGES_ENABLE_WERROR=OFF
- -DRANGES_VERBOSE_BUILD=ON
- -DRANGE_V3_EXAMPLES=OFF
- -DRANGE_V3_PERF=OFF
- -DRANGE_V3_DOCS=OFF
- -DRANGE_V3_HEADER_CHECKS="$(usex test ON OFF)"
- -DRANGE_V3_TESTS=$(usex test ON OFF)
- #TODO: clang support + -DRANGES_MODULES=yes
- )
- cmake_src_configure
-}