1 |
commit: abab08d90f5a2c6341d00b2e689f90952ed56864 |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Apr 16 01:59:24 2021 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
5 |
CommitDate: Sat Apr 17 00:26:56 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=abab08d9 |
7 |
|
8 |
sys-cluster/er: new version |
9 |
|
10 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
11 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
12 |
|
13 |
sys-cluster/er/Manifest | 1 + |
14 |
sys-cluster/er/er-0.0.4.ebuild | 26 ++++++++++++++++++++++++++ |
15 |
sys-cluster/er/files/no-static-0.0.4.patch | 16 ++++++++++++++++ |
16 |
3 files changed, 43 insertions(+) |
17 |
|
18 |
diff --git a/sys-cluster/er/Manifest b/sys-cluster/er/Manifest |
19 |
index 6b673825d..ebc014aca 100644 |
20 |
--- a/sys-cluster/er/Manifest |
21 |
+++ b/sys-cluster/er/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST er-0.0.3.tar.gz 13130 BLAKE2B 1906a0627a0d17f776ba8612ec3c5feb60d41451d026add4dca0164b57570ba7bd81f1ecf303ab0f0c17cd8a26f4588afbb4748ccc66d3b82e922d5b46a3d147 SHA512 0edb8fd96ef606003e0623d6742993e3bb663fd0a3761ed4b68fc14e24c1ab586b200b0f01530570e40a7733bca3c0ecadbac0fb515594b79d9c123fe7c417e8 |
24 |
+DIST er-0.0.4.tar.gz 20824 BLAKE2B 05d49669a04d94a39ae46f71fb2cf034b7b9d43831f9b5d12468264dd550a97db2fae1d2a0e1b73188d23404e091ef4a4870e04f7c37d5318961b0b542b5656a SHA512 8e5b78a7b3013c5e1bb71584afddb2f0162a2c1a6845cca112e36c5929eafb8f227288eabd237ed1fbb04fcf6e00edfa4042650d9910198f3d98abfccdb562fe |
25 |
|
26 |
diff --git a/sys-cluster/er/er-0.0.4.ebuild b/sys-cluster/er/er-0.0.4.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000..fbf2bfb66 |
29 |
--- /dev/null |
30 |
+++ b/sys-cluster/er/er-0.0.4.ebuild |
31 |
@@ -0,0 +1,26 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI="7" |
36 |
+ |
37 |
+inherit cmake |
38 |
+ |
39 |
+DESCRIPTION="High-level distributed erasure coding lib combining shuffile and redset" |
40 |
+HOMEPAGE="https://github.com/ECP-VeloC/er" |
41 |
+SRC_URI="https://github.com/ECP-VeloC/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="MIT" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64" |
46 |
+PATCHES=( "${FILESDIR}/no-static-${PV}.patch" ) |
47 |
+RDEPEND=" |
48 |
+ sys-cluster/KVTree[mpi] |
49 |
+ sys-cluster/redset |
50 |
+ sys-cluster/shuffile |
51 |
+ sys-libs/zlib |
52 |
+ virtual/mpi |
53 |
+" |
54 |
+DEPEND="${RDEPEND}" |
55 |
+BDEPEND=" |
56 |
+ >=dev-util/cmake-2.8 |
57 |
+" |
58 |
|
59 |
diff --git a/sys-cluster/er/files/no-static-0.0.4.patch b/sys-cluster/er/files/no-static-0.0.4.patch |
60 |
new file mode 100644 |
61 |
index 000000000..bbe1a41c8 |
62 |
--- /dev/null |
63 |
+++ b/sys-cluster/er/files/no-static-0.0.4.patch |
64 |
@@ -0,0 +1,16 @@ |
65 |
+--- a/src/CMakeLists.txt 2021-04-16 03:54:24.548709584 +0200 |
66 |
++++ b/src/CMakeLists.txt 2021-04-16 03:54:48.685073637 +0200 |
67 |
+@@ -23,13 +23,3 @@ |
68 |
+ TARGET_LINK_LIBRARIES(er ${ER_EXTERNAL_LIBS}) |
69 |
+ SET_TARGET_PROPERTIES(er PROPERTIES OUTPUT_NAME er CLEAN_DIRECT_OUTPUT 1) |
70 |
+ INSTALL(TARGETS er DESTINATION ${CMAKE_INSTALL_LIBDIR}) |
71 |
+- |
72 |
+-ADD_LIBRARY(er-static STATIC $<TARGET_OBJECTS:er_o>) |
73 |
+-IF(ER_LINK_STATIC) |
74 |
+- SET_TARGET_PROPERTIES(er-static PROPERTIES LINK_SEARCH_START_STATIC 1) |
75 |
+- SET_TARGET_PROPERTIES(er-static PROPERTIES LINK_SEARCH_END_STATIC 1) |
76 |
+-ENDIF(ER_LINK_STATIC) |
77 |
+-TARGET_LINK_LIBRARIES(er-static ${ER_EXTERNAL_LIBS}) |
78 |
+- |
79 |
+-SET_TARGET_PROPERTIES(er-static PROPERTIES OUTPUT_NAME er CLEAN_DIRECT_OUTPUT 1) |
80 |
+-INSTALL(TARGETS er-static DESTINATION ${CMAKE_INSTALL_LIBDIR}) |