diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-02-08 17:47:56 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-02-08 17:47:56 +0000 |
| commit | 2851aea51560dfd7fce738d21bb7083613b85aa9 (patch) | |
| tree | 94493e480e8981533fef3ade8da449ef3d66ba6e /dev-cpp | |
| parent | 08bca2c7eeefe1e4d57611313e4ef98ee1887efd (diff) | |
| download | baldeagleos-repo-2851aea51560dfd7fce738d21bb7083613b85aa9.tar.gz baldeagleos-repo-2851aea51560dfd7fce738d21bb7083613b85aa9.tar.xz baldeagleos-repo-2851aea51560dfd7fce738d21bb7083613b85aa9.zip | |
Adding metadata
Diffstat (limited to 'dev-cpp')
| -rw-r--r-- | dev-cpp/cpp-httplib/cpp-httplib-0.11.3.ebuild | 2 | ||||
| -rw-r--r-- | dev-cpp/cpp-httplib/cpp-httplib-0.11.4.ebuild | 2 | ||||
| -rw-r--r-- | dev-cpp/valijson/Manifest | 1 | ||||
| -rw-r--r-- | dev-cpp/valijson/files/1.0-fix-macro-typos.patch | 77 | ||||
| -rw-r--r-- | dev-cpp/valijson/valijson-1.0.ebuild | 24 |
5 files changed, 104 insertions, 2 deletions
diff --git a/dev-cpp/cpp-httplib/cpp-httplib-0.11.3.ebuild b/dev-cpp/cpp-httplib/cpp-httplib-0.11.3.ebuild index cd59962d5a0e..bc0928ac5400 100644 --- a/dev-cpp/cpp-httplib/cpp-httplib-0.11.3.ebuild +++ b/dev-cpp/cpp-httplib/cpp-httplib-0.11.3.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/yhirose/cpp-httplib/archive/refs/tags/v${PV}.tar.gz LICENSE="MIT" SLOT="0/0.11" # soversion -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="brotli ssl zlib" diff --git a/dev-cpp/cpp-httplib/cpp-httplib-0.11.4.ebuild b/dev-cpp/cpp-httplib/cpp-httplib-0.11.4.ebuild index 28908ead4cb5..65c4798e5e8e 100644 --- a/dev-cpp/cpp-httplib/cpp-httplib-0.11.4.ebuild +++ b/dev-cpp/cpp-httplib/cpp-httplib-0.11.4.ebuild @@ -4,7 +4,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{7,8,9,10,11} ) -inherit cmake-multilib python-any-r1 +inherit cmake-multilib python-any-r1 toolchain-funcs DESCRIPTION="C++ HTTP/HTTPS server and client library" HOMEPAGE="https://github.com/yhirose/cpp-httplib" diff --git a/dev-cpp/valijson/Manifest b/dev-cpp/valijson/Manifest index 7c45f2998533..3094c2282938 100644 --- a/dev-cpp/valijson/Manifest +++ b/dev-cpp/valijson/Manifest @@ -1 +1,2 @@ DIST valijson-0.7.tar.gz 2060214 BLAKE2B d2e1c58e37213e44d7d6af173691cad3853e87648948c229ea683bfcba8b19256b0230852b0537c2dbdd7084fcf1ac068e320c5f59a69e446610390b82e76474 SHA512 662e53bf1cac4def19792392cda7cbfe2cbadf77b768eb69b2dec693b16f85f32fa2e9b97eae36569cfcc9ac45f1e6338967423cf415d6bcd90372bc49793a2d +DIST valijson-1.0.tar.gz 721078 BLAKE2B 74f4a061266a6ee8fba9d93b4e1df20dc828d85169f865bdb60ba9f5217ee422324a09788b02b4ddd18a92d906c64863a5bd7c1250f8bdb62fd9f00f3d73c7e7 SHA512 a206954b11e92cbebbebf094e6f0925a270ebd6bec49cbdb7adda5a4cec93587a5a61ebbce105846c3950cf5df74bfdd5f5bb1ffbf73315f45c7a6cda2b77db9 diff --git a/dev-cpp/valijson/files/1.0-fix-macro-typos.patch b/dev-cpp/valijson/files/1.0-fix-macro-typos.patch new file mode 100644 index 000000000000..f90e88dabe92 --- /dev/null +++ b/dev-cpp/valijson/files/1.0-fix-macro-typos.patch @@ -0,0 +1,77 @@ + +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.ebuild new file mode 100644 index 000000000000..f8228da04f59 --- /dev/null +++ b/dev-cpp/valijson/valijson-1.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Header-only C++ library for JSON Schema validation" +HOMEPAGE="https://github.com/tristanpenman/valijson" +SRC_URI="https://github.com/tristanpenman/valijson/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2 Boost-1.0" +SLOT="0" +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/* +} |
