pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/nlohmann-json



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Jun 17 09:32:13 UTC 2024

Modified Files:
        pkgsrc/textproc/nlohmann-json: DESCR Makefile PLIST distinfo
Removed Files:
        pkgsrc/textproc/nlohmann-json/patches:
            patch-tests_thirdparty_doctest_doctest.h

Log Message:
nlohmann-json: update to 3.11.3.

This release fixes some bugs found in the 3.11.2 release.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/nlohmann-json/DESCR
cvs rdiff -u -r1.2 -r1.3 pkgsrc/textproc/nlohmann-json/Makefile \
    pkgsrc/textproc/nlohmann-json/PLIST \
    pkgsrc/textproc/nlohmann-json/distinfo
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/textproc/nlohmann-json/patches/patch-tests_thirdparty_doctest_doctest.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/nlohmann-json/DESCR
diff -u pkgsrc/textproc/nlohmann-json/DESCR:1.1 pkgsrc/textproc/nlohmann-json/DESCR:1.2
--- pkgsrc/textproc/nlohmann-json/DESCR:1.1     Wed Dec 28 20:18:21 2022
+++ pkgsrc/textproc/nlohmann-json/DESCR Mon Jun 17 09:32:13 2024
@@ -1,31 +1,11 @@
-JSON for Modern C++ is an open-source library consisting of a C++11-style
-header-only JSON class.
+JSON for Modern C++ is an open-source library consisting of a
+C++11-style header-only JSON class.
 
 Its stated goals are:
-Intuitive syntax. In languages such as Python, JSON feels like a first class
-data type. We used all the operator magic of modern C++ to achieve the same
-feeling in your code.
-
-Trivial integration. Our whole code consists of a single header file json.hpp.
-The class is written in vanilla C++11. All in all, everything should require
-no adjustment of your compiler flags or project settings.
-
-Serious testing. Our code is heavily unit-tested and covers 100% of the code,
-including all exceptional behavior. Furthermore, we checked with Valgrind and
-the Clang Sanitizers that there are no memory leaks. Google OSS-Fuzz
-additionally runs fuzz tests against all parsers 24/7, effectively executing
-billions of tests so far. To maintain high quality, the project is following
-the Core Infrastructure Initiative (CII) best practices.
+* Intuitive syntax
+* Trivial integration
+* Serious testing
 
 Other aspects were not so important to us:
-Memory efficiency. Each JSON object has an overhead of one pointer (the
-maximal size of a union) and one enumeration element (1 byte). The default
-generalization uses the following C++ data types: std::string for strings,
-int64_t, uint64_t or double for numbers, std::map for objects, std::vector
-for arrays, and bool for Booleans. However, you can template the generalized
-class basic_json to your needs.
-
-Speed. There are certainly faster JSON libraries out there. However, if your
-goal is to speed up your development by adding JSON support with a single
-header, then this library is the way to go. If you know how to use
-a std::vector or std::map, you are already set.
+* Memory efficiency
+* Speed

Index: pkgsrc/textproc/nlohmann-json/Makefile
diff -u pkgsrc/textproc/nlohmann-json/Makefile:1.2 pkgsrc/textproc/nlohmann-json/Makefile:1.3
--- pkgsrc/textproc/nlohmann-json/Makefile:1.2  Tue Nov 21 17:37:52 2023
+++ pkgsrc/textproc/nlohmann-json/Makefile      Mon Jun 17 09:32:13 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2023/11/21 17:37:52 nia Exp $
+# $NetBSD: Makefile,v 1.3 2024/06/17 09:32:13 wiz Exp $
 
-DISTNAME=      nlohmann-json-3.11.2
+DISTNAME=      nlohmann-json-3.11.3
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=nlohmann/}
 GITHUB_PROJECT=        json
@@ -11,7 +11,7 @@ HOMEPAGE=     https://json.nlohmann.me/
 COMMENT=       JSON library for Modern C++
 LICENSE=       mit
 
-USE_LANGUAGES= c c++11
+USE_LANGUAGES= c c++
 
 .include "options.mk"
 .include "../../devel/cmake/build.mk"
Index: pkgsrc/textproc/nlohmann-json/PLIST
diff -u pkgsrc/textproc/nlohmann-json/PLIST:1.2 pkgsrc/textproc/nlohmann-json/PLIST:1.3
--- pkgsrc/textproc/nlohmann-json/PLIST:1.2     Tue Nov 21 17:37:52 2023
+++ pkgsrc/textproc/nlohmann-json/PLIST Mon Jun 17 09:32:13 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2023/11/21 17:37:52 nia Exp $
+@comment $NetBSD: PLIST,v 1.3 2024/06/17 09:32:13 wiz Exp $
 include/nlohmann/adl_serializer.hpp
 include/nlohmann/byte_container_with_subtype.hpp
 include/nlohmann/detail/abi_macros.hpp
@@ -19,6 +19,7 @@ include/nlohmann/detail/iterators/iterat
 include/nlohmann/detail/iterators/iterator_traits.hpp
 include/nlohmann/detail/iterators/json_reverse_iterator.hpp
 include/nlohmann/detail/iterators/primitive_iterator.hpp
+include/nlohmann/detail/json_custom_base_class.hpp
 include/nlohmann/detail/json_pointer.hpp
 include/nlohmann/detail/json_ref.hpp
 include/nlohmann/detail/macro_scope.hpp
Index: pkgsrc/textproc/nlohmann-json/distinfo
diff -u pkgsrc/textproc/nlohmann-json/distinfo:1.2 pkgsrc/textproc/nlohmann-json/distinfo:1.3
--- pkgsrc/textproc/nlohmann-json/distinfo:1.2  Wed Feb  1 17:34:55 2023
+++ pkgsrc/textproc/nlohmann-json/distinfo      Mon Jun 17 09:32:13 2024
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.2 2023/02/01 17:34:55 jperkin Exp $
+$NetBSD: distinfo,v 1.3 2024/06/17 09:32:13 wiz Exp $
 
-BLAKE2s (nlohmann-json-3.11.2.tar.gz) = c5caa9520466579cdee11e0831375f974b1be581ce764a41fc15979cd779aaba
-SHA512 (nlohmann-json-3.11.2.tar.gz) = 70097c9bcd7a91254acbd41b8b68a6aaa371fc2dd7011f472917f69f1e2d2986155a0339dad791699d542e4a3be44dc49ae72ff73d0ee0ea4b34183296ce19a0
-Size (nlohmann-json-3.11.2.tar.gz) = 8097673 bytes
-SHA1 (patch-tests_thirdparty_doctest_doctest.h) = c0d7e0d754e61c7670db8a392ad53fd46f95ff3c
+BLAKE2s (nlohmann-json-3.11.3.tar.gz) = b42276535bbf87e54a1af8ab4ff18316b56bf25d8ab4cbaf97d4ac363ab0e78c
+SHA512 (nlohmann-json-3.11.3.tar.gz) = 7df19b621de34f08d5d5c0a25e8225975980841ef2e48536abcf22526ed7fb99f88ad954a2cb823115db59ccc88d1dbe74fe6c281b5644b976b33fb78db9d717
+Size (nlohmann-json-3.11.3.tar.gz) = 8053705 bytes



Home | Main Index | Thread Index | Old Index