summaryrefslogtreecommitdiff
path: root/dev-cpp/range-v3
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-02-05 18:44:56 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-02-05 18:44:56 +0000
commit29aabba0ea759c6a2864ff5631735b67ee38e5e0 (patch)
treeab466b4dfa7abecb401b2f8039d08af4689306bb /dev-cpp/range-v3
parentd42200bec37eef2a7478d88988ff00addd0a9202 (diff)
gentoo resync : 05.02.2020
Diffstat (limited to 'dev-cpp/range-v3')
-rw-r--r--dev-cpp/range-v3/Manifest3
-rw-r--r--dev-cpp/range-v3/metadata.xml8
-rw-r--r--dev-cpp/range-v3/range-v3-0.10.0-r1.ebuild34
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-cpp/range-v3/Manifest b/dev-cpp/range-v3/Manifest
new file mode 100644
index 000000000000..25bf8c758d65
--- /dev/null
+++ b/dev-cpp/range-v3/Manifest
@@ -0,0 +1,3 @@
+DIST range-v3-0.10.0.tar.gz 525765 BLAKE2B 7dd3aed9b35920e058fe43bccd364831a52ad8d50179d1057ab7a37cdef82df021bb09a9913018ae78982fe136c855ba4101e31d35cfc21747af994d0103b95e SHA512 4db089dcbf638eb30fa20dcf6785dd460c5a074a8912984a484592753cfee9f5b9a0e2c56b5bc5921d1b6120877aa2c83ac0a6fe428088ef2854033a635e9723
+EBUILD range-v3-0.10.0-r1.ebuild 855 BLAKE2B be09add892aa7e4a51d5403e33b94048fbf179fde9efd714a5f50bb12c59b519c933108be4b6ff3ded0c89ad2748ebc456f135521c7ecec2a45742996818e8b4 SHA512 8548a651bba506089bcaec57ac90057cf67a93805220e504e0e555077dea187aef9e522d2961f9ea212eb10fb3e84f3421dd4a5a1144625f70bd7ce7f84ade21
+MISC metadata.xml 251 BLAKE2B e9e9d48943645d8b737bc1f7ab0efb05db0f8eddad759c9bb40d07dc008fbfb8f5cca2020de71a9ff6945f5d66292ac02355773545010cd49c77fe6dd5ab7b40 SHA512 1b6a6955118c1a74cc89a77d6de9be8f4ff9c7137c186753462670a5b93457dfd034ad5d1f4d2507ac95cc149c2a042fa5324220b58702a56b09d91de40151c9
diff --git a/dev-cpp/range-v3/metadata.xml b/dev-cpp/range-v3/metadata.xml
new file mode 100644
index 000000000000..efcd58fe0b9b
--- /dev/null
+++ b/dev-cpp/range-v3/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>gyakovlev@gentoo.org</email>
+ <name>Georgy Yakovlev</name>
+ </maintainer>
+</pkgmetadata>
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
new file mode 100644
index 000000000000..6386d15b5ee6
--- /dev/null
+++ b/dev-cpp/range-v3/range-v3-0.10.0-r1.ebuild
@@ -0,0 +1,34 @@
+# 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
+}