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/AXL/
Date: Sun, 23 Feb 2020 03:52:51
Message-Id: 1582429595.05cae207afb2ebe27e1a70d679da521529872efc.Alessandro-Barbieri@gentoo
1 commit: 05cae207afb2ebe27e1a70d679da521529872efc
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Sun Feb 23 03:46:35 2020 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Sun Feb 23 03:46:35 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=05cae207
7
8 sys-cluster/AXL: 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/AXL/AXL-0.3.0.ebuild | 47 ++++++++++++++++++++++++++++++++++++++++
14 sys-cluster/AXL/Manifest | 1 +
15 sys-cluster/AXL/metadata.xml | 13 +++++++++++
16 3 files changed, 61 insertions(+)
17
18 diff --git a/sys-cluster/AXL/AXL-0.3.0.ebuild b/sys-cluster/AXL/AXL-0.3.0.ebuild
19 new file mode 100644
20 index 0000000..d7bcca9
21 --- /dev/null
22 +++ b/sys-cluster/AXL/AXL-0.3.0.ebuild
23 @@ -0,0 +1,47 @@
24 +# Copyright 1999-2020 Gentoo Authors
25 +# Distributed under the terms of the GNU General Public License v2
26 +
27 +EAPI="7"
28 +
29 +inherit cmake-utils
30 +
31 +DESCRIPTION="AXL provides a common C interface to transfer files in an HPC storage hierarchy."
32 +HOMEPAGE="https://github.com/ECP-VeloC/AXL"
33 +SRC_URI="https://github.com/ECP-VeloC/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
34 +
35 +LICENSE="MIT"
36 +SLOT="0"
37 +KEYWORDS="~amd64"
38 +IUSE="test"
39 +RESTRICT="!test? ( test )"
40 +
41 +RDEPEND="
42 + sys-libs/zlib
43 + sys-cluster/KVTree
44 +"
45 +DEPEND="${RDEPEND}"
46 +BDEPEND="
47 + >=dev-util/cmake-2.8
48 +"
49 +
50 +src_prepare() {
51 + #do not build static library
52 + sed -i '/axl-static/d' src/CMakeLists.txt || die
53 + #do not auto install README
54 + sed -i '/FILES README.md DESTINATION/d' CMakeLists.txt || die
55 + default
56 + cmake-utils_src_prepare
57 +}
58 +
59 +src_configure() {
60 + local mycmakeargs=(
61 + #other options available: CRAY_DW INTEL_CPPR IBM_BBAPI
62 + -DAXL_ASYNC_API=NONE
63 + )
64 + cmake-utils_src_configure
65 +}
66 +
67 +src_install() {
68 + cmake-utils_src_install
69 + dodoc -r doc/.
70 +}
71
72 diff --git a/sys-cluster/AXL/Manifest b/sys-cluster/AXL/Manifest
73 new file mode 100644
74 index 0000000..785193a
75 --- /dev/null
76 +++ b/sys-cluster/AXL/Manifest
77 @@ -0,0 +1 @@
78 +DIST AXL-0.3.0.tar.gz 36436 BLAKE2B c2d4b42426f7ff879d4329879f0f50d79c163925ce6010c3a38fdafd911dc0378be658d0d25154814ffc7442dca2bd036a547800827171383eb855df9a4010ea SHA512 7cacd3614be94b0344cdd5a5e489c9d1b17cef777749e1c3c4eba642f853d767de1c9eced1fa44f931abeb70c89da2468f6a8fa857c213766bbdac6f3f83ce21
79
80 diff --git a/sys-cluster/AXL/metadata.xml b/sys-cluster/AXL/metadata.xml
81 new file mode 100644
82 index 0000000..2d5095f
83 --- /dev/null
84 +++ b/sys-cluster/AXL/metadata.xml
85 @@ -0,0 +1,13 @@
86 +<?xml version="1.0" encoding="UTF-8"?>
87 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
88 +<pkgmetadata>
89 + <maintainer type="person">
90 + <email>lssndrbarbieri@×××××.com</email>
91 + <name>Alessandro Barbieri</name>
92 + </maintainer>
93 + <upstream>
94 + <remote-id type="github">ECP-VeloC/AXL</remote-id>
95 + </upstream>
96 + <longdescription lang="en">AXL defines a common interface for transferring files between layers in a storage hierarchy. It abstracts vendor-specific APIs and provides synchronous and asynchronous methods using POSIX. One creates a transfer object, defining the transfer type, and then one adds files to the transfer. Once all files have been added, one initiates the transfer and can then later test or wait for its completion. The library optionally records the state of ongoing transfers, so that they can be identified or terminated even if the process that initiated the transfer has been restarted.
97 + </longdescription>
98 +</pkgmetadata>