1 |
commit: 84ac438bf42a71a9eb3589c0369c539f29d8e62a |
2 |
Author: Ionen Wolkens <sudinave <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Feb 26 20:18:13 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 27 03:06:44 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84ac438b |
7 |
|
8 |
sci-libs/coinor-alps: bump to 1.5.7, 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-alps/Manifest | 1 + |
20 |
sci-libs/coinor-alps/coinor-alps-1.5.7.ebuild | 51 +++++++++++++++++++++++++++ |
21 |
2 files changed, 52 insertions(+) |
22 |
|
23 |
diff --git a/sci-libs/coinor-alps/Manifest b/sci-libs/coinor-alps/Manifest |
24 |
index 1e572a16a1c..30c0c754c55 100644 |
25 |
--- a/sci-libs/coinor-alps/Manifest |
26 |
+++ b/sci-libs/coinor-alps/Manifest |
27 |
@@ -1 +1,2 @@ |
28 |
DIST Alps-1.5.4.tgz 5691940 BLAKE2B 9a1d78d8957a4fd2156d35ba348f7db442bf6f6128031b9dd0d2b0c1176e5eb408208d3c90fb8563c39efbf0f4aaa9daea705f25ed711a922ab32f1e1d0b8027 SHA512 eace2f0e3dde682ee92b8e185ba6ea226a681dbcecb5fcf5258334e6deed89705b2c61821896b07323459fbd8575a31fa91c3342becbc9f6173efdf094d39555 |
29 |
+DIST coinor-alps-1.5.7.tar.gz 893834 BLAKE2B af881b9bd7db8b323ba7c7bd82f9180d3685a1b3d3b30b7b20c0d9c5d539caa8fb13e11b866f4f61e9baaf98d32e17953b3bdb408c32fc6aea20e3d83be57078 SHA512 7c3d838bfa8366f0a440dfe1cc9fbff1ca23e6528c3d89348fb4df8bab50b1a7c666523cde20ecd9f09ad54e599ffed1e6ed48631078dbd4d6885e2b10e9e495 |
30 |
|
31 |
diff --git a/sci-libs/coinor-alps/coinor-alps-1.5.7.ebuild b/sci-libs/coinor-alps/coinor-alps-1.5.7.ebuild |
32 |
new file mode 100644 |
33 |
index 00000000000..d4c00fae930 |
34 |
--- /dev/null |
35 |
+++ b/sci-libs/coinor-alps/coinor-alps-1.5.7.ebuild |
36 |
@@ -0,0 +1,51 @@ |
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 Framework for implementing parallel graph search algorithms" |
43 |
+HOMEPAGE="https://projects.coin-or.org/CHiPPS/" |
44 |
+SRC_URI="https://github.com/coin-or/CHiPPS-ALPS/archive/releases/${PV}.tar.gz -> ${P}.tar.gz" |
45 |
+S="${WORKDIR}/CHiPPS-ALPS-releases-${PV}/Alps" |
46 |
+ |
47 |
+LICENSE="EPL-1.0" |
48 |
+SLOT="0" # formerly 0/3, upstream went from so.3 to so.0 |
49 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
50 |
+IUSE="doc test" |
51 |
+RESTRICT="!test? ( test )" |
52 |
+ |
53 |
+RDEPEND="sci-libs/coinor-utils:=" |
54 |
+DEPEND="${RDEPEND}" |
55 |
+BDEPEND=" |
56 |
+ virtual/pkgconfig |
57 |
+ doc? ( app-doc/doxygen[dot] ) |
58 |
+ test? ( sci-libs/coinor-cgl )" |
59 |
+ |
60 |
+src_prepare() { |
61 |
+ default |
62 |
+ # Prevent unneeded call to pkg-config that needs ${ED}'s in path. |
63 |
+ sed -i '/--libs.*addlibs.txt/d' Makefile.in || die |
64 |
+} |
65 |
+ |
66 |
+src_configure() { |
67 |
+ econf $(use_with doc dot) |
68 |
+} |
69 |
+ |
70 |
+src_compile() { |
71 |
+ emake all $(usex doc doxydoc '') |
72 |
+} |
73 |
+ |
74 |
+src_test() { |
75 |
+ # Needed given "make check" is a noop and it skips the working one. |
76 |
+ emake test |
77 |
+} |
78 |
+ |
79 |
+src_install() { |
80 |
+ default |
81 |
+ dodoc -r examples |
82 |
+ use doc && dodoc -r doxydoc/html |
83 |
+ |
84 |
+ # Duplicate or irrelevant files. |
85 |
+ rm -r "${ED}"/usr/share/coin/doc || die |
86 |
+ find "${ED}" -name '*.la' -delete || die |
87 |
+} |