summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <sudinave@gmail.com>2021-02-28 16:44:01 +0100
committerDavid Seifert <soap@gentoo.org>2021-02-28 16:44:01 +0100
commit22e4f4783cab7218a07580ccc95618a916920d93 (patch)
treea056e50da05baa25aad157cd37a15e245119c659
parentsci-libs/coinor-dip: add missing >=symphony-5.6 dep (diff)
downloadgentoo-22e4f478.tar.gz
gentoo-22e4f478.tar.bz2
gentoo-22e4f478.zip
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@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
-rw-r--r--sci-libs/coinor-symphony/coinor-symphony-5.6.17.ebuild13
1 files 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 afda01465ace..2d7ceecd23b2 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