1 |
commit: 8d5eb6f356da4df3b7b4b7f0fd13a40874fffa12 |
2 |
Author: Ionen Wolkens <sudinave <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Feb 26 09:28:12 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 27 03:06:29 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d5eb6f3 |
7 |
|
8 |
sci-libs/coinor-dip: bump to 0.95.0, ported to EAPI 7 |
9 |
|
10 |
Has reworked old workarounds and reviewed deps. |
11 |
|
12 |
USE=examples removed, now installed unconditionally (small files). |
13 |
USE=doc now installs html docs. |
14 |
USE=static-libs removed. |
15 |
|
16 |
Package-Manager: Portage-3.0.15, Repoman-3.0.2 |
17 |
Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com> |
18 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
19 |
|
20 |
sci-libs/coinor-dip/Manifest | 1 + |
21 |
sci-libs/coinor-dip/coinor-dip-0.95.0.ebuild | 57 ++++++++++++++++++++++++++++ |
22 |
2 files changed, 58 insertions(+) |
23 |
|
24 |
diff --git a/sci-libs/coinor-dip/Manifest b/sci-libs/coinor-dip/Manifest |
25 |
index 6f56dedea8c..311cd87df33 100644 |
26 |
--- a/sci-libs/coinor-dip/Manifest |
27 |
+++ b/sci-libs/coinor-dip/Manifest |
28 |
@@ -1 +1,2 @@ |
29 |
DIST Dip-0.9.8.tgz 10557241 BLAKE2B 1fcddbe4b7e8ae0450fcf97473428c0a36b751bbf5b91ab45c362ca0590d390d8c0b5b4b273ed41f7e9432423c59b9a4f8536ff34b0c9c0f1c11ced779ddb38c SHA512 7dfb51f63aab36fe7e894be5f17f8b614bfdf9be1a14b8f8b2ee555dcb8392f82b13d20481d60423d3d375a2e52eebe0439e696e3b3a7dfdd18223829835d361 |
30 |
+DIST coinor-dip-0.95.0.tar.gz 5213061 BLAKE2B 6f40e5d20832b0463e302519da168a30bdeea011a45047acb9dbe904763fc94ccaffbee3599b6f959e0eea5e40a0456771012707b9daafc50875194a1ff9967e SHA512 a9ea2bc23d625fa19e11943f46b3bf2db49aa894fe336c8de4a9a0c735e1569bd8bef015fd671eb856ee39a334adf06c95e2708bd69c4735d5f6bf994c9e41a2 |
31 |
|
32 |
diff --git a/sci-libs/coinor-dip/coinor-dip-0.95.0.ebuild b/sci-libs/coinor-dip/coinor-dip-0.95.0.ebuild |
33 |
new file mode 100644 |
34 |
index 00000000000..d13707458c4 |
35 |
--- /dev/null |
36 |
+++ b/sci-libs/coinor-dip/coinor-dip-0.95.0.ebuild |
37 |
@@ -0,0 +1,57 @@ |
38 |
+# Copyright 1999-2021 Gentoo Authors |
39 |
+# Distributed under the terms of the GNU General Public License v2 |
40 |
+ |
41 |
+EAPI=7 |
42 |
+ |
43 |
+DESCRIPTION="COIN-OR Decomposition in Integer Programming library" |
44 |
+HOMEPAGE="https://projects.coin-or.org/Dip/" |
45 |
+SRC_URI="https://github.com/coin-or/Dip/archive/releases/${PV}.tar.gz -> ${P}.tar.gz" |
46 |
+S="${WORKDIR}/Dip-releases-${PV}/Dip" |
47 |
+ |
48 |
+LICENSE="EPL-1.0" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
51 |
+IUSE="doc test" |
52 |
+RESTRICT="!test? ( test )" |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ sci-libs/coinor-alps:= |
56 |
+ sci-libs/coinor-cbc:= |
57 |
+ sci-libs/coinor-cgl:= |
58 |
+ sci-libs/coinor-clp:= |
59 |
+ sci-libs/coinor-osi:= |
60 |
+ sci-libs/coinor-utils:=" |
61 |
+DEPEND="${RDEPEND}" |
62 |
+BDEPEND=" |
63 |
+ virtual/pkgconfig |
64 |
+ doc? ( app-doc/doxygen[dot] ) |
65 |
+ test? ( sci-libs/coinor-sample )" |
66 |
+ |
67 |
+src_prepare() { |
68 |
+ default |
69 |
+ # Prevent unneeded call to pkg-config that needs ${ED}'s in path. |
70 |
+ sed -i '/--libs.*addlibs.txt/d' Makefile.in || die |
71 |
+} |
72 |
+ |
73 |
+src_configure() { |
74 |
+ econf $(use_with doc dot) |
75 |
+} |
76 |
+ |
77 |
+src_compile() { |
78 |
+ emake all $(usex doc doxydoc '') |
79 |
+} |
80 |
+ |
81 |
+src_test() { |
82 |
+ # Needed given "make check" is a noop and it skips the working one. |
83 |
+ emake test |
84 |
+} |
85 |
+ |
86 |
+src_install() { |
87 |
+ default |
88 |
+ dodoc -r examples |
89 |
+ use doc && dodoc -r doxydoc/html |
90 |
+ |
91 |
+ # Duplicate or irrelevant files. |
92 |
+ rm -r "${ED}"/usr/share/coin/doc || die |
93 |
+ find "${ED}" -name '*.la' -delete || die |
94 |
+} |