1 |
commit: 1bc87d66b2ae80e6018afefa4a92e2b850a222d9 |
2 |
Author: Ionen Wolkens <sudinave <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Feb 26 10:16:44 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 27 03:06:31 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bc87d66 |
7 |
|
8 |
sci-libs/coinor-mp: bump to 1.8.4, 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=static-libs removed. |
14 |
|
15 |
Package-Manager: Portage-3.0.15, Repoman-3.0.2 |
16 |
Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com> |
17 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
18 |
|
19 |
sci-libs/coinor-mp/Manifest | 1 + |
20 |
sci-libs/coinor-mp/coinor-mp-1.8.4.ebuild | 43 +++++++++++++++++++++++++++++++ |
21 |
2 files changed, 44 insertions(+) |
22 |
|
23 |
diff --git a/sci-libs/coinor-mp/Manifest b/sci-libs/coinor-mp/Manifest |
24 |
index e04bbe64332..a3fb4b16708 100644 |
25 |
--- a/sci-libs/coinor-mp/Manifest |
26 |
+++ b/sci-libs/coinor-mp/Manifest |
27 |
@@ -1 +1,2 @@ |
28 |
DIST CoinMP-1.7.6.tgz 10343849 BLAKE2B a99fe1f5413bc458b0cfde53606041ecdec45c6ba9b866f083b85dafa04ef9aa2a52aec6ce2f5d6463e2cf9d609567d3079c10490412dcc5bd9c69942982f261 SHA512 1612d43d52d0ee29b4e6ca328e1535c59722dfd5c7a7e0811a4180ad6033ef27111ced6497f9d5cea816c047a4e11c2aed6d1936feac8ded797eeec55d9539ce |
29 |
+DIST coinor-mp-1.8.4.tar.gz 4142865 BLAKE2B 4f3f37378a13236ccab60ed0d9ec0e6716d7df8c264ec26f69e3117aaccf87cbdff42415cd4d86b936ba0fea87681592a66fef610f95ade68f5ea6cd185f4999 SHA512 ecb7761407df0a8d40ac2416fdbdfe62bb5e78f3cc4859e45c0912e6d06ca9b2d4bdf5fda2204bb1813d45289db9e8dbc48cce171950e8c3881d4a3fb3402fab |
30 |
|
31 |
diff --git a/sci-libs/coinor-mp/coinor-mp-1.8.4.ebuild b/sci-libs/coinor-mp/coinor-mp-1.8.4.ebuild |
32 |
new file mode 100644 |
33 |
index 00000000000..6abaee7ca4e |
34 |
--- /dev/null |
35 |
+++ b/sci-libs/coinor-mp/coinor-mp-1.8.4.ebuild |
36 |
@@ -0,0 +1,43 @@ |
37 |
+# Copyright 1999-2021 Gentoo Authors |
38 |
+# Distributed under the terms of the GNU General Public License v2 |
39 |
+ |
40 |
+EAPI=7 |
41 |
+ |
42 |
+DESCRIPTION="COIN-OR lightweight API for COIN-OR libraries CLP, CBC, and CGL" |
43 |
+HOMEPAGE="https://projects.coin-or.org/CoinMP/" |
44 |
+SRC_URI="https://github.com/coin-or/CoinMP/archive/releases/${PV}.tar.gz -> ${P}.tar.gz" |
45 |
+S="${WORKDIR}/CoinMP-releases-${PV}/CoinMP" |
46 |
+ |
47 |
+LICENSE="CPL-1.0" |
48 |
+SLOT="0/1" |
49 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ sci-libs/coinor-cbc:= |
53 |
+ sci-libs/coinor-cgl:= |
54 |
+ sci-libs/coinor-clp:= |
55 |
+ sci-libs/coinor-osi:= |
56 |
+ sci-libs/coinor-utils:=" |
57 |
+DEPEND="${RDEPEND}" |
58 |
+BDEPEND="virtual/pkgconfig" |
59 |
+ |
60 |
+src_prepare() { |
61 |
+ default |
62 |
+ # Prevent unneeded call to pkg-config that needs ${ED}'s in path. |
63 |
+ # Also installation of unneeded files in a double ${D}. |
64 |
+ sed -i '/--libs.*addlibs.txt/d; s/ install-addlibsDATA//' \ |
65 |
+ Makefile.in || die |
66 |
+} |
67 |
+ |
68 |
+src_test() { |
69 |
+ emake -j1 test |
70 |
+} |
71 |
+ |
72 |
+src_install() { |
73 |
+ default |
74 |
+ dodoc -r examples |
75 |
+ |
76 |
+ # Duplicate or irrelevant files. |
77 |
+ rm -r "${ED}"/usr/share/coin/doc || die |
78 |
+ find "${ED}" -name '*.la' -delete || die |
79 |
+} |