Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/coinor-symphony/
Date: Sun, 28 Feb 2021 15:44:18
Message-Id: 1614527041.22e4f4783cab7218a07580ccc95618a916920d93.soap@gentoo
1 commit: 22e4f4783cab7218a07580ccc95618a916920d93
2 Author: Ionen Wolkens <sudinave <AT> gmail <DOT> com>
3 AuthorDate: Sun Feb 28 15:44:01 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 28 15:44:01 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22e4f478
7
8 sci-libs/coinor-symphony: add missing optional test dep + style fixes
9
10 Closes: https://github.com/gentoo/gentoo/pull/19701
11 Package-Manager: Portage-3.0.15, Repoman-3.0.2
12 Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com>
13 Signed-off-by: David Seifert <soap <AT> gentoo.org>
14
15 sci-libs/coinor-symphony/coinor-symphony-5.6.17.ebuild | 13 ++++++++++---
16 1 file changed, 10 insertions(+), 3 deletions(-)
17
18 diff --git a/sci-libs/coinor-symphony/coinor-symphony-5.6.17.ebuild b/sci-libs/coinor-symphony/coinor-symphony-5.6.17.ebuild
19 index afda01465ac..2d7ceecd23b 100644
20 --- a/sci-libs/coinor-symphony/coinor-symphony-5.6.17.ebuild
21 +++ b/sci-libs/coinor-symphony/coinor-symphony-5.6.17.ebuild
22 @@ -30,7 +30,10 @@ BDEPEND="
23 dev-texlive/texlive-latexextra
24 virtual/latex-base
25 )
26 - test? ( sci-libs/coinor-sample )"
27 + test? (
28 + sci-libs/coinor-netlib
29 + sci-libs/coinor-sample
30 + )"
31
32 src_prepare() {
33 default
34 @@ -47,8 +50,12 @@ src_configure() {
35
36 src_compile() {
37 default
38 +
39 if use doc; then
40 - pushd Doc && pdflatex Walkthrough && pdflatex man && popd || die
41 + pushd Doc >/dev/null || die
42 + pdflatex Walkthrough || die
43 + pdflatex man || die
44 + popd >/dev/null || die
45 fi
46 }
47
48 @@ -63,7 +70,7 @@ src_install() {
49
50 # Other coinor-* use lowercase e, stay in-line with them.
51 docinto examples
52 - dodoc -r Examples/*
53 + dodoc -r Examples/.
54
55 # Duplicate or irrelevant files.
56 rm -r "${ED}"/usr/share/coin/doc || die