1 |
commit: 14c8a4597cb0906e3d6c4d52b3972d6dae51df91 |
2 |
Author: François Bissey <frp.bissey <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Jan 19 23:40:29 2020 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 21 01:58:51 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14c8a459 |
7 |
|
8 |
sci-libs/m4ri: New upstream release. |
9 |
|
10 |
Package-Manager: Portage-2.3.79, Repoman-2.3.16 |
11 |
Signed-off-by: François René Pierre Bissey <frp.bissey <AT> gmail.com> |
12 |
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> |
13 |
|
14 |
sci-libs/m4ri/Manifest | 1 + |
15 |
sci-libs/m4ri/m4ri-20200115.ebuild | 46 ++++++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 47 insertions(+) |
17 |
|
18 |
diff --git a/sci-libs/m4ri/Manifest b/sci-libs/m4ri/Manifest |
19 |
index b9e9242c6b5..e0d3cfd6da7 100644 |
20 |
--- a/sci-libs/m4ri/Manifest |
21 |
+++ b/sci-libs/m4ri/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST m4ri-20140914.tar.gz 457978 BLAKE2B eadba6d1a751cb49cef25cc7726d87aa5746b23ad0a3b9bd274735a71da43ec4751fb655f91f3748f082369875508db365595f8443d77ae9645b3e4199d4f204 SHA512 efdd4ffa194d2d2b64a23a833420926613e74072ce62b2b06d768d157e134a615d88b93ed08d9f51f0fd14d686fd068523d1dc2c7cd9fb87108c96a4a11f4643 |
24 |
+DIST m4ri-20200115.tar.gz 510562 BLAKE2B 4522793ab61dd97dae5c8d82a4457364f437040c9c45c355007a3150bfebb5264e336b19a7416f62b5ef937480f15079d9c0e9711dd26a6f7c6f5ce66d699296 SHA512 4791576878097077bcda768c03a43ec9a5b05c29adaa9c5f1e737e798b3fc7d027f830183d57db7b8b6b75b25e01fb522eb8b2e5359efcb05054fc341cbb403c |
25 |
|
26 |
diff --git a/sci-libs/m4ri/m4ri-20200115.ebuild b/sci-libs/m4ri/m4ri-20200115.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..27891c4fab1 |
29 |
--- /dev/null |
30 |
+++ b/sci-libs/m4ri/m4ri-20200115.ebuild |
31 |
@@ -0,0 +1,46 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+inherit flag-o-matic toolchain-funcs |
38 |
+ |
39 |
+DESCRIPTION="Method of four russian for inversion (M4RI)" |
40 |
+HOMEPAGE="https://bitbucket.org/malb/m4ri" |
41 |
+SRC_URI="https://bitbucket.org/malb/${PN}/downloads/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="GPL-2+" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
46 |
+IUSE="debug openmp cpu_flags_x86_sse2 png static-libs" |
47 |
+ |
48 |
+BDEPEND="virtual/pkgconfig" |
49 |
+DEPEND="png? ( media-libs/libpng:= )" |
50 |
+RDEPEND="${DEPEND}" |
51 |
+ |
52 |
+# NEWS and ChangeLog are empty as of 2020-01-01, and README.md |
53 |
+# didn't make it into the release tarball. |
54 |
+DOCS=( AUTHORS ) |
55 |
+ |
56 |
+pkg_pretend() { |
57 |
+ use openmp && tc-check-openmp |
58 |
+} |
59 |
+ |
60 |
+src_configure() { |
61 |
+ # when using openmp and -O0 the testsuite fails |
62 |
+ # https://github.com/cschwan/sage-on-gentoo/issues/475 |
63 |
+ # Still current as of 20200115 |
64 |
+ use openmp && replace-flags -O0 -O1 |
65 |
+ |
66 |
+ econf \ |
67 |
+ $(use_enable debug) \ |
68 |
+ $(use_enable openmp) \ |
69 |
+ $(use_enable png) \ |
70 |
+ $(use_enable cpu_flags_x86_sse2 sse2) \ |
71 |
+ $(use_enable static-libs static) |
72 |
+} |
73 |
+ |
74 |
+src_install(){ |
75 |
+ default |
76 |
+ find "${ED}" -name '*.la' -delete || die |
77 |
+} |