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/files/, sys-cluster/AXL/
Date: Thu, 15 Apr 2021 00:51:48
Message-Id: 1618447897.442a9697c81a196439d6b2fed6e07ff0897e69ef.Alessandro-Barbieri@gentoo
1 commit: 442a9697c81a196439d6b2fed6e07ff0897e69ef
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Thu Apr 15 00:47:05 2021 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Thu Apr 15 00:51:37 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=442a9697
7
8 sys-cluster/AXL: 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/AXL/AXL-0.4.0.ebuild | 41 +++++++++++++++++++++++++++
14 sys-cluster/AXL/Manifest | 1 +
15 sys-cluster/AXL/files/no-install-readme.patch | 12 ++++++++
16 sys-cluster/AXL/files/no-static-0.4.0.patch | 16 +++++++++++
17 4 files changed, 70 insertions(+)
18
19 diff --git a/sys-cluster/AXL/AXL-0.4.0.ebuild b/sys-cluster/AXL/AXL-0.4.0.ebuild
20 new file mode 100644
21 index 000000000..2ae37caa5
22 --- /dev/null
23 +++ b/sys-cluster/AXL/AXL-0.4.0.ebuild
24 @@ -0,0 +1,41 @@
25 +# Copyright 1999-2021 Gentoo Authors
26 +# Distributed under the terms of the GNU General Public License v2
27 +
28 +EAPI="7"
29 +
30 +inherit cmake
31 +
32 +DESCRIPTION="AXL provides a common C interface to transfer files in an HPC storage hierarchy."
33 +HOMEPAGE="https://github.com/ECP-VeloC/AXL"
34 +SRC_URI="https://github.com/ECP-VeloC/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
35 +
36 +LICENSE="MIT"
37 +SLOT="0"
38 +KEYWORDS="~amd64"
39 +IUSE="test"
40 +RESTRICT="!test? ( test )"
41 +PATCHES=(
42 + "${FILESDIR}/no-static-${PV}.patch"
43 + "${FILESDIR}/no-install-readme.patch"
44 +)
45 +RDEPEND="
46 + sys-libs/zlib
47 + sys-cluster/KVTree
48 +"
49 +DEPEND="${RDEPEND}"
50 +BDEPEND="
51 + >=dev-util/cmake-2.8
52 +"
53 +
54 +src_configure() {
55 + local mycmakeargs=(
56 + #other options available: CRAY_DW INTEL_CPPR IBM_BBAPI
57 + -DAXL_ASYNC_API=NONE
58 + )
59 + cmake_src_configure
60 +}
61 +
62 +src_install() {
63 + cmake_src_install
64 + dodoc -r doc/.
65 +}
66
67 diff --git a/sys-cluster/AXL/Manifest b/sys-cluster/AXL/Manifest
68 index 785193a0a..392fd1258 100644
69 --- a/sys-cluster/AXL/Manifest
70 +++ b/sys-cluster/AXL/Manifest
71 @@ -1 +1,2 @@
72 DIST AXL-0.3.0.tar.gz 36436 BLAKE2B c2d4b42426f7ff879d4329879f0f50d79c163925ce6010c3a38fdafd911dc0378be658d0d25154814ffc7442dca2bd036a547800827171383eb855df9a4010ea SHA512 7cacd3614be94b0344cdd5a5e489c9d1b17cef777749e1c3c4eba642f853d767de1c9eced1fa44f931abeb70c89da2468f6a8fa857c213766bbdac6f3f83ce21
73 +DIST AXL-0.4.0.tar.gz 47348 BLAKE2B a84b53b2c8d17a33a1ea95a3063210b40d3ca17151d9579f40ac8f70e32fe36bb79f4660efa3dedfbb0cce550cf6f14cdf7861d883b2e7f4c79ed88ab432ee70 SHA512 64d13600da8540b8d40b7de6ec242434fc437bb6b62aa5cebd6a3c5c2d8e2c0cae9311a6af99f19981fbeb0522b7148a28efb3d4e69b727bfc69711cf21a8419
74
75 diff --git a/sys-cluster/AXL/files/no-install-readme.patch b/sys-cluster/AXL/files/no-install-readme.patch
76 new file mode 100644
77 index 000000000..34fb418a5
78 --- /dev/null
79 +++ b/sys-cluster/AXL/files/no-install-readme.patch
80 @@ -0,0 +1,12 @@
81 +--- a/CMakeLists.txt 2021-04-15 02:41:40.120725634 +0200
82 ++++ b/CMakeLists.txt 2021-04-15 02:42:14.146330416 +0200
83 +@@ -125,9 +125,6 @@
84 + SET_SOURCE_FILES_PROPERTIES(config.h.in PROPERTIES GENERATED FALSE)
85 + SET_SOURCE_FILES_PROPERTIES(${PROJECT_BINARY_DIR}/config.h PROPERTIES GENERATED TRUE)
86 +
87 +-# Special Install Files
88 +-INSTALL(FILES README.md DESTINATION ${CMAKE_INSTALL_DATADIR}/axl)
89 +-
90 + # Package
91 + SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Asynchronous Transfer Library")
92 + SET(CPACK_PACKAGE_VENDOR "Lawrence Livermore National Laboratory")
93
94 diff --git a/sys-cluster/AXL/files/no-static-0.4.0.patch b/sys-cluster/AXL/files/no-static-0.4.0.patch
95 new file mode 100644
96 index 000000000..1a2b5ff79
97 --- /dev/null
98 +++ b/sys-cluster/AXL/files/no-static-0.4.0.patch
99 @@ -0,0 +1,16 @@
100 +--- a/src/CMakeLists.txt 2021-04-15 02:42:47.537923628 +0200
101 ++++ b/src/CMakeLists.txt 2021-04-15 02:43:07.157272036 +0200
102 +@@ -29,13 +29,3 @@
103 + TARGET_LINK_LIBRARIES(axl ${AXL_EXTERNAL_LIBS})
104 + SET_TARGET_PROPERTIES(axl PROPERTIES OUTPUT_NAME axl CLEAN_DIRECT_OUTPUT 1)
105 + INSTALL(TARGETS axl DESTINATION ${CMAKE_INSTALL_LIBDIR})
106 +-
107 +-ADD_LIBRARY(axl-static STATIC $<TARGET_OBJECTS:axl_o>)
108 +-IF(AXL_LINK_STATIC)
109 +- SET_TARGET_PROPERTIES(axl-static PROPERTIES LINK_SEARCH_START_STATIC 1)
110 +- SET_TARGET_PROPERTIES(axl-static PROPERTIES LINK_SEARCH_END_STATIC 1)
111 +-ENDIF(AXL_LINK_STATIC)
112 +-TARGET_LINK_LIBRARIES(axl-static ${AXL_EXTERNAL_LIBS})
113 +-
114 +-SET_TARGET_PROPERTIES(axl-static PROPERTIES OUTPUT_NAME axl CLEAN_DIRECT_OUTPUT 1)
115 +-INSTALL(TARGETS axl-static DESTINATION ${CMAKE_INSTALL_LIBDIR})