summaryrefslogtreecommitdiff
path: root/dev-cpp/valijson
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-09-13 12:31:46 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-09-13 12:31:46 +0100
commit6fcdccbe589d724b6c268b49f66414e40eb0d807 (patch)
treeb0b74ac37d41e5d22a5a758517b215d1829cdb67 /dev-cpp/valijson
parent3ea54510168a7ed4271b85f7292beca67346bfe9 (diff)
gentoo auto-resync : 13:09:2024 - 12:31:45
Diffstat (limited to 'dev-cpp/valijson')
-rw-r--r--dev-cpp/valijson/Manifest5
-rw-r--r--dev-cpp/valijson/files/1.0-fix-macro-typos.patch77
-rw-r--r--dev-cpp/valijson/valijson-1.0.3.ebuild (renamed from dev-cpp/valijson/valijson-1.0.ebuild)8
3 files changed, 4 insertions, 86 deletions
diff --git a/dev-cpp/valijson/Manifest b/dev-cpp/valijson/Manifest
index 275c6ab7d5f1..ba73dc4c6884 100644
--- a/dev-cpp/valijson/Manifest
+++ b/dev-cpp/valijson/Manifest
@@ -1,6 +1,5 @@
-AUX 1.0-fix-macro-typos.patch 2966 BLAKE2B 5f8307c6a71cd4066a6f68af78e3f35294490688c65fdee7dd3a7d0394de0210a13a784255bba761e408870d9d76691bd6f298e9ecb7c0e7f3b816f71a805742 SHA512 6da572cb86237758708d171452eb8ba88e7f2cda1baecfaf8dd2f674b04de0cdd2d57c9041f517ff472714ff2ad66e66aa4e432931f09bfb00349c1c48b8e6da
DIST valijson-1.0.2.tar.gz 723131 BLAKE2B ada64202d1c82f4e24c8fb3935a070ee40a24e8b75712fd4392f19c93c363d293db788cd1481ed3a857721fcd6f87e2d91c3b9779863fb6e2421ba4ee4f1d1f7 SHA512 c1141e533d6a791a01883c5b7ab9501eebc39057a850d784670a4bcf99bff3fee4c3120107128dcaa9db0505adf2ae794700620c02163b3e636f0b635031df80
-DIST valijson-1.0.tar.gz 721078 BLAKE2B 74f4a061266a6ee8fba9d93b4e1df20dc828d85169f865bdb60ba9f5217ee422324a09788b02b4ddd18a92d906c64863a5bd7c1250f8bdb62fd9f00f3d73c7e7 SHA512 a206954b11e92cbebbebf094e6f0925a270ebd6bec49cbdb7adda5a4cec93587a5a61ebbce105846c3950cf5df74bfdd5f5bb1ffbf73315f45c7a6cda2b77db9
+DIST valijson-1.0.3.tar.gz 727517 BLAKE2B c0bf5bc3aedf1462ae7cf30d64acc6d91e620cdd747f13f05f25df07074731dc2b611a07cb6204a5883641bd73c80dc4042a5a804e2aac23a24464add378ea7e SHA512 5ab67d27c8906c116e65198831ebfc3e5a1772087b7cfe316bde7d2bbd78a7ec3bf0e8fc803fc4528779fe2515e72711b8cb14f05ca6f5bf01af2b5e9ca396fa
EBUILD valijson-1.0.2.ebuild 521 BLAKE2B 9dfa466b0a68b75923ac58bfe2af461f155de502d16ef8fc2b8756c21c922ab3c278f6ec9f8f8a9d8a9e7fed3fa7459945fa85fa4680da1f89a45cec6d5360bd SHA512 5e5904aff20d69b6f812cfc70fa5ba7ad7d99c9c8d42effc5eeb8ebe972a19e37d81efaf693be7483d5d69f8cf49159dd7ed05dfe16516b731e0d926b7d0d204
-EBUILD valijson-1.0.ebuild 577 BLAKE2B 7773d8d58ee2a589e36bac21710cf611c64dddf0d7a5ad8baae774de35e70662f4ddee675d3649f4fa6d7139901ba9065b6799e20bcf61b241451b04d292c51c SHA512 7bf65b7b19b584dc9637a5c4d048a3c9e96e3980c1f7829e3d726fa70de0e8eb75969d4196bb54d04013f35905589a28d80d361008189aa1fcd9312852238a6b
+EBUILD valijson-1.0.3.ebuild 523 BLAKE2B 283be5a77334c4fc4220834d545080eb5bcb008f187456c666676871d2e6d0f14fcba1cf1d9ce96048fbef6ba22ceebe547c5b229c52898dc7108f9246b17370 SHA512 334ce0ecd45bf78fbe3761c942905b382328ef9c1ec70b2ee4e7a102e5d88705fa1f7a8166e1c4945b41ec8757c3f2e848a8eb7e3ff6d3f18ed2c863e0f037e8
MISC metadata.xml 498 BLAKE2B 415d770e91c8304ace73ee5ff1ee079d7e1c09c6eeac26123e4ba4615194829a0c8bedfe27e2e803cddb101b30c3bd94b6003523fa0ec849972303b0f37f59e2 SHA512 dfaf020b039378127a159f2f8b66f1488b671817c34b77b01e19f24c117306c88801e26990fc434b4f9c23d1620631cf048ff9c281017135e46c7b7acbbfb8a0
diff --git a/dev-cpp/valijson/files/1.0-fix-macro-typos.patch b/dev-cpp/valijson/files/1.0-fix-macro-typos.patch
deleted file mode 100644
index f90e88dabe92..000000000000
--- a/dev-cpp/valijson/files/1.0-fix-macro-typos.patch
+++ /dev/null
@@ -1,77 +0,0 @@
-
-Patch from:
-https://github.com/tristanpenman/valijson/commit/f1ff3518281fe347c97b78384d6bb645dbdd4788
-
-From f1ff3518281fe347c97b78384d6bb645dbdd4788 Mon Sep 17 00:00:00 2001
-From: Austin Haigh <austin.haigh@hach.com>
-Date: Tue, 1 Nov 2022 13:29:16 -0600
-Subject: [PATCH] fix typos in preprocessor macros
-
----
- examples/valijson_nlohmann_bundled.hpp | 2 +-
- include/valijson/utils/boost_json_utils.hpp | 4 ++--
- include/valijson/utils/nlohmann_json_utils.hpp | 2 +-
- include/valijson/utils/property_tree_utils.hpp | 2 +-
- 4 files changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/examples/valijson_nlohmann_bundled.hpp b/examples/valijson_nlohmann_bundled.hpp
-index 806f329..915bebb 100644
---- a/examples/valijson_nlohmann_bundled.hpp
-+++ b/examples/valijson_nlohmann_bundled.hpp
-@@ -10561,7 +10561,7 @@ inline bool loadDocument(const std::string &path, nlohmann::json &document)
- }
-
- // Parse schema
--#if VALIJSON_USE_EXCEPTION
-+#if VALIJSON_USE_EXCEPTIONS
- try {
- document = nlohmann::json::parse(file);
- } catch (std::invalid_argument const& exception) {
-diff --git a/include/valijson/utils/boost_json_utils.hpp b/include/valijson/utils/boost_json_utils.hpp
-index 1168903..0fbd6c3 100644
---- a/include/valijson/utils/boost_json_utils.hpp
-+++ b/include/valijson/utils/boost_json_utils.hpp
-@@ -20,7 +20,7 @@ inline bool loadDocument(const std::string &path, boost::json::value &document)
- }
-
- // Parse schema
--#if VALIJSON_USE_EXCEPTION
-+#if VALIJSON_USE_EXCEPTIONS
- try {
- #endif
- boost::json::error_code errorCode;
-@@ -30,7 +30,7 @@ inline bool loadDocument(const std::string &path, boost::json::value &document)
- std::cerr << "Boost.JSON parsing error: " << errorCode.message();
- return false;
- }
--#if VALIJSON_USE_EXCEPTION
-+#if VALIJSON_USE_EXCEPTIONS
- } catch (std::exception const & exception) {
- std::cerr << "Boost.JSON parsing exception: " << exception.what();
- return false;
-diff --git a/include/valijson/utils/nlohmann_json_utils.hpp b/include/valijson/utils/nlohmann_json_utils.hpp
-index b3cbe20..77e5771 100644
---- a/include/valijson/utils/nlohmann_json_utils.hpp
-+++ b/include/valijson/utils/nlohmann_json_utils.hpp
-@@ -20,7 +20,7 @@ inline bool loadDocument(const std::string &path, nlohmann::json &document)
- }
-
- // Parse schema
--#if VALIJSON_USE_EXCEPTION
-+#if VALIJSON_USE_EXCEPTIONS
- try {
- document = nlohmann::json::parse(file);
- } catch (std::invalid_argument const& exception) {
-diff --git a/include/valijson/utils/property_tree_utils.hpp b/include/valijson/utils/property_tree_utils.hpp
-index 2317f12..7438980 100644
---- a/include/valijson/utils/property_tree_utils.hpp
-+++ b/include/valijson/utils/property_tree_utils.hpp
-@@ -24,7 +24,7 @@
- #include <valijson/utils/file_utils.hpp>
- #include <valijson/exceptions.hpp>
-
--#if !VALIJSON_USE_EXCEPTION
-+#if !VALIJSON_USE_EXCEPTIONS
-
- namespace boost {
-
diff --git a/dev-cpp/valijson/valijson-1.0.ebuild b/dev-cpp/valijson/valijson-1.0.3.ebuild
index bc4327b63333..b0c20539683e 100644
--- a/dev-cpp/valijson/valijson-1.0.ebuild
+++ b/dev-cpp/valijson/valijson-1.0.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -11,13 +11,9 @@ SRC_URI="https://github.com/tristanpenman/valijson/archive/v${PV}.tar.gz -> ${P}
LICENSE="BSD-2 Boost-1.0"
SLOT="0"
-KEYWORDS="amd64 ~arm64 x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
RESTRICT="test"
-PATCHES=(
- "${FILESDIR}"/${PV}-fix-macro-typos.patch
-)
-
src_install() {
# there is no target for installing headers, so do it manually
doheader -r include/*