Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/shuffile/
Date: Sun, 23 Feb 2020 03:52:52
Message-Id: 1582429739.a01ebd3c346926536bfa0243607a19607da8475e.Alessandro-Barbieri@gentoo
1 commit: a01ebd3c346926536bfa0243607a19607da8475e
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Sun Feb 23 03:48:59 2020 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Sun Feb 23 03:48:59 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a01ebd3c
7
8 sys-cluster/shuffile: new package
9
10 Package-Manager: Portage-2.3.89, Repoman-2.3.20
11 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
12
13 sys-cluster/shuffile/Manifest | 1 +
14 sys-cluster/shuffile/metadata.xml | 13 ++++++++++
15 sys-cluster/shuffile/shuffile-0.0.3.ebuild | 39 ++++++++++++++++++++++++++++++
16 3 files changed, 53 insertions(+)
17
18 diff --git a/sys-cluster/shuffile/Manifest b/sys-cluster/shuffile/Manifest
19 new file mode 100644
20 index 0000000..999e3b0
21 --- /dev/null
22 +++ b/sys-cluster/shuffile/Manifest
23 @@ -0,0 +1 @@
24 +DIST shuffile-0.0.3.tar.gz 20069 BLAKE2B cb40b12334e7ec2f70140d6d2cb11f77cdb72d381dc5ecf4b335c4324f0e6c777113546b91edf290767c6daa5d0e7641b4849cad42230688a799e1a4359f4dfb SHA512 e5ca8b7ab1542fda0c84d92bba527911846cdd95cbe86d4aa0075abacffc369485ad7187bc7e0ee2edcd69ccbc4ef2abcd0de75be497c0cdc3d6177563067875
25
26 diff --git a/sys-cluster/shuffile/metadata.xml b/sys-cluster/shuffile/metadata.xml
27 new file mode 100644
28 index 0000000..11f798a
29 --- /dev/null
30 +++ b/sys-cluster/shuffile/metadata.xml
31 @@ -0,0 +1,13 @@
32 +<?xml version="1.0" encoding="UTF-8"?>
33 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
34 +<pkgmetadata>
35 + <maintainer type="person">
36 + <email>lssndrbarbieri@×××××.com</email>
37 + <name>Alessandro Barbieri</name>
38 + </maintainer>
39 + <upstream>
40 + <remote-id type="github">ECP-VeloC/shuffile</remote-id>
41 + </upstream>
42 + <longdescription lang="en">This module lets one associate a set of files with a process name. Currently, the name is implied to be the rank within MPI_COMM_WORLD. In the event that a set of distributed processes are moved, for example when restarting an MPI job, functions will migrate files from their original locations to the new locations where the processes are running.
43 + </longdescription>
44 +</pkgmetadata>
45
46 diff --git a/sys-cluster/shuffile/shuffile-0.0.3.ebuild b/sys-cluster/shuffile/shuffile-0.0.3.ebuild
47 new file mode 100644
48 index 0000000..5054b99
49 --- /dev/null
50 +++ b/sys-cluster/shuffile/shuffile-0.0.3.ebuild
51 @@ -0,0 +1,39 @@
52 +# Copyright 1999-2020 Gentoo Authors
53 +# Distributed under the terms of the GNU General Public License v2
54 +
55 +EAPI="7"
56 +
57 +inherit cmake-utils
58 +
59 +DESCRIPTION="SHUFFILE Shuffle files between processes"
60 +HOMEPAGE="https://github.com/ECP-VeloC/shuffile"
61 +SRC_URI="https://github.com/ECP-VeloC/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
62 +
63 +LICENSE="MIT"
64 +SLOT="0"
65 +KEYWORDS="~amd64"
66 +IUSE="mpi test"
67 +RESTRICT="!test? ( test )"
68 +
69 +RDEPEND="
70 + mpi? ( virtual/mpi )
71 + sys-libs/zlib
72 + >=sys-cluster/KVTree-1.0.2
73 +"
74 +DEPEND="${RDEPEND}"
75 +BDEPEND="
76 + >=dev-util/cmake-2.8
77 +"
78 +src_prepare() {
79 + #do not build static library
80 + sed -i '/shuffile-static/d' src/CMakeLists.txt || die
81 + default
82 + cmake-utils_src_prepare
83 +}
84 +
85 +src_configure() {
86 + local mycmakeargs=(
87 + -DMPI="$(usex mpi "" OFF)"
88 + )
89 + cmake-utils_src_configure
90 +}