From nobody Thu Oct 05 12:14:49 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S1VqY6sDHz4wVYS; Thu, 5 Oct 2023 12:14:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S1VqY6PHdz3brJ; Thu, 5 Oct 2023 12:14:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696508089; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ovWyygkQP2xiFVyMrSpogIGSYbMUpCN8ZN5+Qz/cm44=; b=jEklJY+uxEjl10r0jYjLY9ezT0FjGBljzkzD/ZCaTWciBaR/3UbnBwBkxQm5QljcLgSS8t NTN7/4YelGghQ0U9ZPd6DHQ/F/3SWCj/8KfqzlRHgnbVDDM4CIiLnK76V4I/B4hNuRDy8e 3PKLoQY4/Z/PM4xZsa+WOaZB7DWsfXYQEmzv7r6H0pbUN/JqeZz9HeYkhR39KusbWzTdnY +BEruo8BjzQ4nZgYZIdhqkhI2WNdwdcr2uoN68OZk4jOlU18KzqU5ACZZ0qDAvUAlWPhSP U8u9s2fn6Iq8kVJBbtEUWXBWuODHhSehzgoptDRxks6Yuhgbw20TPbt0MlsJuQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696508089; a=rsa-sha256; cv=none; b=ZhNjU7hwrquR3YKgwLZpBZknG4dmwThMOzvQGARW+hfN0EoCIq6fyvq1VT3P0ePzKgNyyZ AqYATsPVG2XQ7MXWDJv8haRyb6oNr3Ec6RwzOS4EJvw1n1RkAqymFoiKTrVZ9BHWCUwg3S a48hp0E7hG9ipLBow8yu4iACNPAQZBZ+RqPuTB1U50Yh4f20oFWXZkc8G+IT1PZzLc/hq8 hh8VmJOz7wCRCY5j6xsXQ646ZtK9lqpKG2u9X6Afer6fUK9HZJyK21YJ8VkN0T9c9tDgYx 8glfaz8JywofC6hxetMtOSUg6bIcl//R2ajO5tJ4oKkdQCOSC9VKarnjPwabiQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696508089; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ovWyygkQP2xiFVyMrSpogIGSYbMUpCN8ZN5+Qz/cm44=; b=rppPiqhLddoACHg1E2ZqWQt/mad8jw/EHmivTtcznNG/OgxyW93hB7n7UNaS62tYNdEBYV 18KLE8FkJB1JNLy9P8X9zFGgB9va9det9yRJUtjtEpjshHkCYevzXJKcJWrCgQCYutAoga 3781BPOWqUKxVegTSnn7txUMtiNnkDpKC2W5C//IC/OhJbrUSe0uOqaKTHBcR3GBGRZ/oh Ap3XXChzl9j5Z5TlV+imaNtEHoS5fzjremwdvwZje4vrTiZBuzrDmEESSniByzgiTD1QZq gJVd8H/tBHr/l3EuBcbIAly38REc2dQfTYll26mqH/j3q2wI24KAn896UH0Wnw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4S1VqY5B1mz1KJ5; Thu, 5 Oct 2023 12:14:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 395CEn40077957; Thu, 5 Oct 2023 12:14:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 395CEn06077954; Thu, 5 Oct 2023 12:14:49 GMT (envelope-from git) Date: Thu, 5 Oct 2023 12:14:49 GMT Message-Id: <202310051214.395CEn06077954@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Jason E. Hale" Subject: git: 8038f458a512 - main - devel/zug: Add port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhale X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8038f458a512152d9b150f9c2c613d06f872a52c Auto-Submitted: auto-generated The branch main has been updated by jhale: URL: https://cgit.FreeBSD.org/ports/commit/?id=8038f458a512152d9b150f9c2c613d06f872a52c commit 8038f458a512152d9b150f9c2c613d06f872a52c Author: Jason E. Hale AuthorDate: 2023-10-05 04:12:29 +0000 Commit: Jason E. Hale CommitDate: 2023-10-05 12:13:51 +0000 devel/zug: Add port Zug is a C++ library providing transducers. Transducers are composable sequential transformations independent of the source. They are extremely lightweight, and can be used to express algorithms over pull-based sequences (iterators, files) but also push based sequences (signals, events, asynchronous streams) in a generic way. https://sinusoid.es/zug/ --- devel/Makefile | 1 + devel/zug/Makefile | 34 +++++++++++++++ devel/zug/distinfo | 5 +++ devel/zug/files/patch-CMakeLists.txt | 14 ++++++ devel/zug/pkg-descr | 5 +++ devel/zug/pkg-plist | 84 ++++++++++++++++++++++++++++++++++++ 6 files changed, 143 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 7e0b7a55c0bf..2e8953abaa69 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -7863,6 +7863,7 @@ SUBDIR += zls SUBDIR += zookeeper SUBDIR += zthread + SUBDIR += zug SUBDIR += zycore-c SUBDIR += zydis SUBDIR += zziplib diff --git a/devel/zug/Makefile b/devel/zug/Makefile new file mode 100644 index 000000000000..6d6eccc9809d --- /dev/null +++ b/devel/zug/Makefile @@ -0,0 +1,34 @@ +PORTNAME= zug +DISTVERSIONPREFIX= v +DISTVERSION= 0.1.0 +CATEGORIES= devel + +PATCH_SITES= https://github.com/arximboldi/zug/commit/ +PATCHFILES+= b7eb15fd7c4e26c42f673a566e0d561c49ac5bca.patch:-p1 + +MAINTAINER= jhale@FreeBSD.org +COMMENT= Transducers for C++ +WWW= https://sinusoid.es/zug/ + +LICENSE= BSL +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cmake +USE_GITHUB= yes +GH_ACCOUNT= arximboldi + +CMAKE_OFF= zug_BUILD_DOCS + +NO_ARCH= yes + +OPTIONS_DEFINE= TEST + +TEST_BUILD_DEPENDS= catch>=0:devel/catch +TEST_USES= compiler:c++17-lang pkgconfig +TEST_CMAKE_BOOL= zug_BUILD_EXAMPLES \ + zug_BUILD_TESTS +TEST_ALL_TARGET= install examples tests +TEST_ALL_TARGET_OFF= install +TEST_TEST_TARGET= test + +.include diff --git a/devel/zug/distinfo b/devel/zug/distinfo new file mode 100644 index 000000000000..f3ba9910ab30 --- /dev/null +++ b/devel/zug/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1696424846 +SHA256 (arximboldi-zug-v0.1.0_GH0.tar.gz) = 7d9d57a55399784392ba8fa67fcf246b9f5aec8f002c69e1fe4b5f66657214b8 +SIZE (arximboldi-zug-v0.1.0_GH0.tar.gz) = 219501 +SHA256 (b7eb15fd7c4e26c42f673a566e0d561c49ac5bca.patch) = aec0518a349027a55be2c08cba18665c0ba3b5c14daf03d3bbc83351de81b20a +SIZE (b7eb15fd7c4e26c42f673a566e0d561c49ac5bca.patch) = 1961 diff --git a/devel/zug/files/patch-CMakeLists.txt b/devel/zug/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..77fecb9f469a --- /dev/null +++ b/devel/zug/files/patch-CMakeLists.txt @@ -0,0 +1,14 @@ +Compile with -std=c++17 to avoid Boost dependency +--- CMakeLists.txt.orig 2023-06-26 14:57:01 UTC ++++ CMakeLists.txt +@@ -5,8 +5,8 @@ project(zug VERSION 0.1.0) + + project(zug VERSION 0.1.0) + +-set(CMAKE_CXX_STANDARD 14) +-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Werror") ++set(CMAKE_CXX_STANDARD 17) ++set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall") + set(CMAKE_EXPORT_COMPILE_COMMANDS on) + set(CMAKE_CXX_EXTENSIONS off) + if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") diff --git a/devel/zug/pkg-descr b/devel/zug/pkg-descr new file mode 100644 index 000000000000..522971b5524c --- /dev/null +++ b/devel/zug/pkg-descr @@ -0,0 +1,5 @@ +Zug is a C++ library providing transducers. Transducers are composable +sequential transformations independent of the source. They are extremely +lightweight, and can be used to express algorithms over pull-based +sequences (iterators, files) but also push based sequences (signals, +events, asynchronous streams) in a generic way. diff --git a/devel/zug/pkg-plist b/devel/zug/pkg-plist new file mode 100644 index 000000000000..bcb1d92842c8 --- /dev/null +++ b/devel/zug/pkg-plist @@ -0,0 +1,84 @@ +include/zug/any_state.hpp +include/zug/compat/apply.hpp +include/zug/compat/invoke.hpp +include/zug/compose.hpp +include/zug/detail/copy_traits.hpp +include/zug/detail/empty_transducer_error.hpp +include/zug/detail/inline_constexpr.hpp +include/zug/detail/is_non_empty.hpp +include/zug/detail/iterator_facade.hpp +include/zug/detail/iterator_range.hpp +include/zug/detail/lambda_wrapper.hpp +include/zug/detail/reduce_nested_non_empty.hpp +include/zug/detail/reduce_nested_non_empty_accumulate.hpp +include/zug/detail/reduce_nested_non_empty_non_variadic.hpp +include/zug/detail/reduce_nested_non_empty_nullary.hpp +include/zug/detail/reduce_nested_non_empty_tail_recursive.hpp +include/zug/detail/reduce_nested_non_empty_variadic.hpp +include/zug/detail/tuple_utils.hpp +include/zug/detail/unreachable.hpp +include/zug/into.hpp +include/zug/into_vector.hpp +include/zug/maybe_reduced.hpp +include/zug/meta.hpp +include/zug/meta/common_type.hpp +include/zug/meta/detected.hpp +include/zug/meta/dispatch.hpp +include/zug/meta/pack.hpp +include/zug/meta/util.hpp +include/zug/meta/value_type.hpp +include/zug/reduce.hpp +include/zug/reduce_nested.hpp +include/zug/reducing/emplacing_back.hpp +include/zug/reducing/first.hpp +include/zug/reducing/last.hpp +include/zug/reducing/output.hpp +include/zug/reductor.hpp +include/zug/run.hpp +include/zug/sequence.hpp +include/zug/skip.hpp +include/zug/state_traits.hpp +include/zug/state_wrapper.hpp +include/zug/transduce.hpp +include/zug/transducer/cat.hpp +include/zug/transducer/chain.hpp +include/zug/transducer/count.hpp +include/zug/transducer/cycle.hpp +include/zug/transducer/dedupe.hpp +include/zug/transducer/distinct.hpp +include/zug/transducer/drop.hpp +include/zug/transducer/drop_while.hpp +include/zug/transducer/each.hpp +include/zug/transducer/eager.hpp +include/zug/transducer/enumerate.hpp +include/zug/transducer/filter.hpp +include/zug/transducer/interleave.hpp +include/zug/transducer/interpose.hpp +include/zug/transducer/iter.hpp +include/zug/transducer/map.hpp +include/zug/transducer/map_indexed.hpp +include/zug/transducer/mapcat.hpp +include/zug/transducer/partition.hpp +include/zug/transducer/partition_by.hpp +include/zug/transducer/product.hpp +include/zug/transducer/random_sample.hpp +include/zug/transducer/range.hpp +include/zug/transducer/read.hpp +include/zug/transducer/readbuf.hpp +include/zug/transducer/remove.hpp +include/zug/transducer/repeat.hpp +include/zug/transducer/replace.hpp +include/zug/transducer/scan.hpp +include/zug/transducer/sink.hpp +include/zug/transducer/take.hpp +include/zug/transducer/take_nth.hpp +include/zug/transducer/take_while.hpp +include/zug/transducer/transducer.hpp +include/zug/transducer/unzip.hpp +include/zug/transducer/write.hpp +include/zug/transducer/writebuf.hpp +include/zug/transducer/zip.hpp +include/zug/tuplify.hpp +include/zug/util.hpp +include/zug/with_state.hpp +lib/cmake/Zug/ZugConfig.cmake