1 |
commit: 10c3378f2ec1f4f02d92d3ad4fc8bb4a548bc862 |
2 |
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Mar 6 14:52:27 2020 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Mar 6 14:59:20 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10c3378f |
7 |
|
8 |
sci-libs/m4rie: new package for matrices over GF(2^e) with "e" small. |
9 |
|
10 |
The m4rie package is an extension of sci-libs/m4ri. It is used by |
11 |
SageMath, which can now detect and use the system copy of m4rie. Its |
12 |
inclusion therefore prevents pointless rebuilds of m4rie by users of |
13 |
SageMath on Gentoo. The ebuild was imported from the sage-on-gentoo |
14 |
overlay where François Bissey has been maintaining it. |
15 |
|
16 |
Closes: https://bugs.gentoo.org/711498 |
17 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
18 |
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> |
19 |
|
20 |
sci-libs/m4rie/Manifest | 1 + |
21 |
sci-libs/m4rie/m4rie-20200115.ebuild | 31 +++++++++++++++++++++++++++++++ |
22 |
sci-libs/m4rie/metadata.xml | 30 ++++++++++++++++++++++++++++++ |
23 |
3 files changed, 62 insertions(+) |
24 |
|
25 |
diff --git a/sci-libs/m4rie/Manifest b/sci-libs/m4rie/Manifest |
26 |
new file mode 100644 |
27 |
index 00000000000..4dda6fb591c |
28 |
--- /dev/null |
29 |
+++ b/sci-libs/m4rie/Manifest |
30 |
@@ -0,0 +1 @@ |
31 |
+DIST m4rie-20200115.tar.gz 500702 BLAKE2B d8b1506ef9902def6577851a97dd6f7da986dce39b3250f9f9b66f9caf8f811568b7975165fb75b6b8ab3c9faf65d890f7c2254725224266f1250a0bcf18a464 SHA512 22c990cf06de9ac790f82f48e498b2bfc87fdf6834257f4e4a4c44e2446b4226438d21692d654008b58df36d8da746bba04dcf1a3d50e34ccf8c678efd5b642b |
32 |
|
33 |
diff --git a/sci-libs/m4rie/m4rie-20200115.ebuild b/sci-libs/m4rie/m4rie-20200115.ebuild |
34 |
new file mode 100644 |
35 |
index 00000000000..676a82f2a93 |
36 |
--- /dev/null |
37 |
+++ b/sci-libs/m4rie/m4rie-20200115.ebuild |
38 |
@@ -0,0 +1,31 @@ |
39 |
+# Copyright 1999-2020 Gentoo Authors |
40 |
+# Distributed under the terms of the GNU General Public License v2 |
41 |
+ |
42 |
+EAPI=7 |
43 |
+ |
44 |
+DESCRIPTION="Fast dense matrix arithmetic over GF(2^e) for 2 <= e <= 16" |
45 |
+HOMEPAGE="https://bitbucket.org/malb/m4rie/" |
46 |
+SRC_URI="https://bitbucket.org/malb/${PN}/downloads/${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="GPL-2+" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
51 |
+IUSE="debug static-libs" |
52 |
+ |
53 |
+DEPEND=">=sci-libs/m4ri-20140914" |
54 |
+RDEPEND="${DEPEND}" |
55 |
+ |
56 |
+src_configure() { |
57 |
+ # m4rie doesn't actually have any openmp code. The configure flag |
58 |
+ # stems from a mistaken belief that it needs to be there to use the |
59 |
+ # openmp code in m4ri. |
60 |
+ econf \ |
61 |
+ --disable-openmp \ |
62 |
+ $(use_enable debug) \ |
63 |
+ $(use_enable static-libs static) |
64 |
+} |
65 |
+ |
66 |
+src_install(){ |
67 |
+ default |
68 |
+ find "${ED}" -name '*.la' -delete || die |
69 |
+} |
70 |
|
71 |
diff --git a/sci-libs/m4rie/metadata.xml b/sci-libs/m4rie/metadata.xml |
72 |
new file mode 100644 |
73 |
index 00000000000..33cb9a18e32 |
74 |
--- /dev/null |
75 |
+++ b/sci-libs/m4rie/metadata.xml |
76 |
@@ -0,0 +1,30 @@ |
77 |
+<?xml version="1.0" encoding="UTF-8"?> |
78 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
79 |
+<pkgmetadata> |
80 |
+ <maintainer type="person"> |
81 |
+ <email>mjo@g.o</email> |
82 |
+ </maintainer> |
83 |
+ <!-- |
84 |
+ mjo: François maintained this package in the sage-on-gentoo overlay |
85 |
+ long before I moved it into ::gentoo. You don't need an ACK from me |
86 |
+ to merge his changes. |
87 |
+ --> |
88 |
+ <maintainer type="person"> |
89 |
+ <email>frp.bissey@×××××.com</email> |
90 |
+ <name>François Bissey</name> |
91 |
+ </maintainer> |
92 |
+ <maintainer type="project"> |
93 |
+ <email>proxy-maint@g.o</email> |
94 |
+ <name>Proxy Maintainers</name> |
95 |
+ </maintainer> |
96 |
+ |
97 |
+ <longdescription> |
98 |
+ M4RIE is a library for fast arithmetic with dense matrices over |
99 |
+ GF(2^e) for "e" between 2 and 16, inclusive. The name stems from |
100 |
+ the fact that it relies heavily on M4RI. |
101 |
+ </longdescription> |
102 |
+ |
103 |
+ <upstream> |
104 |
+ <remote-id type="bitbucket">malb/m4rie</remote-id> |
105 |
+ </upstream> |
106 |
+</pkgmetadata> |