commit:     d69f52de506e328a27aad9c250a460760fbba422
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 13 13:31:17 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Aug 13 13:31:45 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d69f52de

dev-cpp/nlohmann_json: fix tests w/o git in S

Closes: https://bugs.gentoo.org/865027
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-cpp/nlohmann_json/nlohmann_json-3.11.2.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-cpp/nlohmann_json/nlohmann_json-3.11.2.ebuild 
b/dev-cpp/nlohmann_json/nlohmann_json-3.11.2.ebuild
index c631bc6644a9..6104a266421f 100644
--- a/dev-cpp/nlohmann_json/nlohmann_json-3.11.2.ebuild
+++ b/dev-cpp/nlohmann_json/nlohmann_json-3.11.2.ebuild
@@ -51,10 +51,14 @@ src_configure() {
 src_test() {
        cd "${BUILD_DIR}"/tests || die
 
+       # git_required:
        # Skip certain tests needing git per upstream
        # https://github.com/nlohmann/json/issues/2189
+       #
+       # cmake_fetch_content_configure, cmake_fetch_content2_configure:
+       # Needs network (bug #865027)
        local myctestargs=(
-               "-LE git_required"
+               -E 
"(git_required|cmake_fetch_content_configure|cmake_fetch_content2_configure)"
        )
 
        cmake_src_test

Reply via email to