pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/frozen
Module Name: pkgsrc
Committed By: ryoon
Date: Sun Oct 15 19:26:40 UTC 2023
Added Files:
pkgsrc/devel/frozen: DESCR Makefile PLIST buildlink3.mk distinfo
Log Message:
devel/frozen: import frozen-1.1.1
Header-only library that provides 0 cost initialization for immutable
containers, fixed-size containers, and various algorithms.
Frozen provides:
* immutable (a.k.a. frozen), constexpr-compatible versions of
std::set, std::unordered_set, std::map and std::unordered_map.
* fixed-capacity, constinit-compatible versions of std::map and
std::unordered_map with immutable, compile-time selected keys
mapped to mutable values.
* 0-cost initialization version of std::search for frozen needles
using Boyer-Moore or Knuth-Morris-Pratt algorithms.
The unordered_* containers are guaranteed perfect (a.k.a. no hash
collision) and the extra storage is linear with respect to the
number of keys.
Once initialized, the container keys cannot be updated, and in
exchange, lookups are faster. And initialization is free when
constexpr or constinit is used :-).
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/frozen/DESCR pkgsrc/devel/frozen/Makefile \
pkgsrc/devel/frozen/PLIST pkgsrc/devel/frozen/buildlink3.mk \
pkgsrc/devel/frozen/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/devel/frozen/DESCR
diff -u /dev/null pkgsrc/devel/frozen/DESCR:1.1
--- /dev/null Sun Oct 15 19:26:40 2023
+++ pkgsrc/devel/frozen/DESCR Sun Oct 15 19:26:40 2023
@@ -0,0 +1,22 @@
+Header-only library that provides 0 cost initialization for immutable
+containers, fixed-size containers, and various algorithms.
+
+Frozen provides:
+
+ * immutable (a.k.a. frozen), constexpr-compatible versions of
+ std::set, std::unordered_set, std::map and std::unordered_map.
+
+ * fixed-capacity, constinit-compatible versions of std::map and
+ std::unordered_map with immutable, compile-time selected keys
+ mapped to mutable values.
+
+ * 0-cost initialization version of std::search for frozen needles
+ using Boyer-Moore or Knuth-Morris-Pratt algorithms.
+
+The unordered_* containers are guaranteed perfect (a.k.a. no hash
+collision) and the extra storage is linear with respect to the
+number of keys.
+
+Once initialized, the container keys cannot be updated, and in
+exchange, lookups are faster. And initialization is free when
+constexpr or constinit is used :-).
Index: pkgsrc/devel/frozen/Makefile
diff -u /dev/null pkgsrc/devel/frozen/Makefile:1.1
--- /dev/null Sun Oct 15 19:26:40 2023
+++ pkgsrc/devel/frozen/Makefile Sun Oct 15 19:26:40 2023
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2023/10/15 19:26:40 ryoon Exp $
+
+DISTNAME= frozen-1.1.1
+CATEGORIES= devel
+MASTER_SITES= https://dev-www.libreoffice.org/src/
+
+MAINTAINER= ryoon%NetBSD.org@localhost
+HOMEPAGE= https://github.com/serge-sans-paille/frozen
+COMMENT= Header-only, constexpr alternative to gperf for C++14 users
+LICENSE= apache-2.0
+
+USE_LANGUAGES= c++
+
+.include "../../devel/cmake/build.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/frozen/PLIST
diff -u /dev/null pkgsrc/devel/frozen/PLIST:1.1
--- /dev/null Sun Oct 15 19:26:40 2023
+++ pkgsrc/devel/frozen/PLIST Sun Oct 15 19:26:40 2023
@@ -0,0 +1,20 @@
+@comment $NetBSD: PLIST,v 1.1 2023/10/15 19:26:40 ryoon Exp $
+include/frozen/algorithm.h
+include/frozen/bits/algorithms.h
+include/frozen/bits/basic_types.h
+include/frozen/bits/constexpr_assert.h
+include/frozen/bits/defines.h
+include/frozen/bits/elsa.h
+include/frozen/bits/elsa_std.h
+include/frozen/bits/exceptions.h
+include/frozen/bits/hash_string.h
+include/frozen/bits/pmh.h
+include/frozen/bits/version.h
+include/frozen/map.h
+include/frozen/random.h
+include/frozen/set.h
+include/frozen/string.h
+include/frozen/unordered_map.h
+include/frozen/unordered_set.h
+share/cmake/frozen/frozenConfig.cmake
+share/cmake/frozen/frozenConfigVersion.cmake
Index: pkgsrc/devel/frozen/buildlink3.mk
diff -u /dev/null pkgsrc/devel/frozen/buildlink3.mk:1.1
--- /dev/null Sun Oct 15 19:26:40 2023
+++ pkgsrc/devel/frozen/buildlink3.mk Sun Oct 15 19:26:40 2023
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2023/10/15 19:26:40 ryoon Exp $
+
+BUILDLINK_TREE+= frozen
+
+.if !defined(FROZEN_BUILDLINK3_MK)
+FROZEN_BUILDLINK3_MK:=
+
+BUILDLINK_DEPMETHOD.frozen?= build
+
+BUILDLINK_API_DEPENDS.frozen+= frozen>=1.1.1
+BUILDLINK_PKGSRCDIR.frozen?= ../../devel/frozen
+.endif # FROZEN_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -frozen
Index: pkgsrc/devel/frozen/distinfo
diff -u /dev/null pkgsrc/devel/frozen/distinfo:1.1
--- /dev/null Sun Oct 15 19:26:40 2023
+++ pkgsrc/devel/frozen/distinfo Sun Oct 15 19:26:40 2023
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2023/10/15 19:26:40 ryoon Exp $
+
+BLAKE2s (frozen-1.1.1.tar.gz) = d71c8bfef9fa92add6a7526d2142f8decfc8bf1b59519db0b59b095e4680da68
+SHA512 (frozen-1.1.1.tar.gz) = e22561a4e634e388e11f95b3005bc711e543013d314f6aaeda34befb2c673aea2d71a717d8822bc8fa85bdc8409945ba2ad91a1bac4f8cb5303080de01a5f60e
+Size (frozen-1.1.1.tar.gz) = 186589 bytes
Home |
Main Index |
Thread Index |
Old Index