From fdc9998a302d6ef50e860b6b9138399402be782e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Safa=20Ar=C4=B1man?= Date: Sat, 21 Mar 2020 00:09:25 +0300 Subject: [PATCH] Add range-v3 package --- programming/library/range-v3/actions.py | 32 +++++++++++++++ programming/library/range-v3/pspec.xml | 39 +++++++++++++++++++ programming/library/range-v3/translations.xml | 8 ++++ 3 files changed, 79 insertions(+) create mode 100644 programming/library/range-v3/actions.py create mode 100644 programming/library/range-v3/pspec.xml create mode 100644 programming/library/range-v3/translations.xml diff --git a/programming/library/range-v3/actions.py b/programming/library/range-v3/actions.py new file mode 100644 index 0000000000..9f3e4fcf50 --- /dev/null +++ b/programming/library/range-v3/actions.py @@ -0,0 +1,32 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import cmaketools, shelltools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + + +def setup(): + parameters = ' '.join([ + '-B build', + '-DRANGE_V3_TESTS=OFF', + '-DRANGE_V3_HEADER_CHECKS=OFF', + '-DRANGE_V3_EXAMPLES=OFF', + '-DRANGE_V3_PERF=OFF' + ]) + cmaketools.configure(parameters) + + +def build(): + shelltools.cd('build') + cmaketools.make() + + +def install(): + shelltools.cd('build') + cmaketools.install() + + pisitools.dodoc('../LICENSE.txt') diff --git a/programming/library/range-v3/pspec.xml b/programming/library/range-v3/pspec.xml new file mode 100644 index 0000000000..5951c147d2 --- /dev/null +++ b/programming/library/range-v3/pspec.xml @@ -0,0 +1,39 @@ + + + + + range-v3 + https://github.com/ericniebler/range-v3 + + Safa Arıman + safa@ariman.gen.tr + + BSLv1 + library + Range algorithms, views, and actions for C++11/14/17 + Range-v3 is a generic library that augments the existing standard library with facilities for working with ranges. A range can be loosely thought of a pair of iterators. This library provides a full implementation of all the standard algorithms with range-based overloads for convenience. + https://github.com/ericniebler/range-v3/archive/0.10.0.tar.gz + + cmake + + + + + range-v3-devel + + /usr/include + /usr/lib/cmake + /usr/share/doc + + + + + + 2020-03-18 + 0.10.0 + First release + Safa Arıman + safa@ariman.gen.tr + + + diff --git a/programming/library/range-v3/translations.xml b/programming/library/range-v3/translations.xml new file mode 100644 index 0000000000..4b514f9aee --- /dev/null +++ b/programming/library/range-v3/translations.xml @@ -0,0 +1,8 @@ + + + + range-v3 + Range algorithms, views, and actions for C++11/14/17 + Range-v3 is a generic library that augments the existing standard library with facilities for working with ranges. A range can be loosely thought of a pair of iterators. This library provides a full implementation of all the standard algorithms with range-based overloads for convenience. + +