summaryrefslogtreecommitdiff
path: root/dev-cpp/range-v3/range-v3-0.11.0.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp/range-v3/range-v3-0.11.0.ebuild')
-rw-r--r--dev-cpp/range-v3/range-v3-0.11.0.ebuild46
1 files changed, 0 insertions, 46 deletions
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
-}