commit:     7b00b0d50adbead8ba39f90f90fe27d0b8a4aac6
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 11 04:32:45 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jan 11 04:33:17 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b00b0d5

dev-cpp/nlohmann_json: disable docs in 3.10.5

I tried to package the needed bits but they end up needing
network at runtime, it seems.

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

 dev-cpp/nlohmann_json/nlohmann_json-3.10.5.ebuild | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/dev-cpp/nlohmann_json/nlohmann_json-3.10.5.ebuild 
b/dev-cpp/nlohmann_json/nlohmann_json-3.10.5.ebuild
index 0ac3b7c9dd07..8bc260638ed9 100644
--- a/dev-cpp/nlohmann_json/nlohmann_json-3.10.5.ebuild
+++ b/dev-cpp/nlohmann_json/nlohmann_json-3.10.5.ebuild
@@ -3,6 +3,11 @@
 
 EAPI=8
 
+#DOCS_BUILDER="mkdocs"
+# Needs unpackaged plantuml-markdown too
+# ... but plantuml (Python bindings anyway) need network access to generate 
bits at runtime.
+#DOCS_DEPEND="dev-python/mkdocs-material-extensions 
dev-python/mkdocs-minify-plugin"
+#DOCS_DIR="doc/mkdocs"
 inherit cmake
 
 # Check 
https://github.com/nlohmann/json/blob/develop/cmake/download_test_data.cmake to 
find test archive version
@@ -17,13 +22,11 @@ S="${WORKDIR}/json-${PV}"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
-IUSE="doc test"
+IUSE="test"
 # Need to report failing tests upstream
 # Tests only just added, large test suite, majority pass
 RESTRICT="test"
 
-BDEPEND="doc? ( app-doc/doxygen )"
-
 DOCS=( ChangeLog.md README.md )
 
 src_configure() {
@@ -41,11 +44,6 @@ src_configure() {
 
 src_compile() {
        cmake_src_compile
-
-       if use doc; then
-               emake -C doc
-               HTML_DOCS=( doc/html/. )
-       fi
 }
 
 src_test() {

Reply via email to