commit:     22e4f4783cab7218a07580ccc95618a916920d93
Author:     Ionen Wolkens <sudinave <AT> gmail <DOT> com>
AuthorDate: Sun Feb 28 15:44:01 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Feb 28 15:44:01 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22e4f478

sci-libs/coinor-symphony: add missing optional test dep + style fixes

Closes: https://github.com/gentoo/gentoo/pull/19701
Package-Manager: Portage-3.0.15, Repoman-3.0.2
Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sci-libs/coinor-symphony/coinor-symphony-5.6.17.ebuild | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/sci-libs/coinor-symphony/coinor-symphony-5.6.17.ebuild 
b/sci-libs/coinor-symphony/coinor-symphony-5.6.17.ebuild
index afda01465ac..2d7ceecd23b 100644
--- a/sci-libs/coinor-symphony/coinor-symphony-5.6.17.ebuild
+++ b/sci-libs/coinor-symphony/coinor-symphony-5.6.17.ebuild
@@ -30,7 +30,10 @@ BDEPEND="
                dev-texlive/texlive-latexextra
                virtual/latex-base
        )
-       test? ( sci-libs/coinor-sample )"
+       test? (
+               sci-libs/coinor-netlib
+               sci-libs/coinor-sample
+       )"
 
 src_prepare() {
        default
@@ -47,8 +50,12 @@ src_configure() {
 
 src_compile() {
        default
+
        if use doc; then
-               pushd Doc && pdflatex Walkthrough && pdflatex man && popd || die
+               pushd Doc >/dev/null || die
+               pdflatex Walkthrough || die
+               pdflatex man || die
+               popd >/dev/null || die
        fi
 }
 
@@ -63,7 +70,7 @@ src_install() {
 
        # Other coinor-* use lowercase e, stay in-line with them.
        docinto examples
-       dodoc -r Examples/*
+       dodoc -r Examples/.
 
        # Duplicate or irrelevant files.
        rm -r "${ED}"/usr/share/coin/doc || die

Reply via email to