1 |
commit: 394880913159d5b15b40f38264f967fad6379962 |
2 |
Author: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com> |
3 |
AuthorDate: Thu Mar 31 17:02:53 2022 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 8 12:16:54 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39488091 |
7 |
|
8 |
sys-cluster/charliecloud: Bump to version 0.27. |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Oliver Freyermuth <o.freyermuth <AT> googlemail.com> |
12 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
13 |
|
14 |
sys-cluster/charliecloud/Manifest | 1 + |
15 |
sys-cluster/charliecloud/charliecloud-0.27.ebuild | 82 +++++++++++++++++++++++ |
16 |
2 files changed, 83 insertions(+) |
17 |
|
18 |
diff --git a/sys-cluster/charliecloud/Manifest b/sys-cluster/charliecloud/Manifest |
19 |
index d22d9a85ba13..7cd7af9f381b 100644 |
20 |
--- a/sys-cluster/charliecloud/Manifest |
21 |
+++ b/sys-cluster/charliecloud/Manifest |
22 |
@@ -1,2 +1,3 @@ |
23 |
DIST charliecloud-0.25.tar.gz 454041 BLAKE2B 3a071f3b9fb06ca1db6d3b85a577943fe76440d395fdf1415d5085110db665fb75ee09dc14768d326e7e280e6c20096479e5f62290f7dee46821c356f5f18535 SHA512 a7a35b584dbdd6c6e27188d3555173c44f90c0e44fa685a15a47f47c94f9d76aa46ab80054a7c53e10a7f56bef87696f1db2a0eb8c49a388dbb0da0fe9112a60 |
24 |
DIST charliecloud-0.26.tar.gz 472324 BLAKE2B 2b4b8f44f05a497e9367e97e49de255170b610880ef5d7909f7837bc54962f2c2de929d8381b99dc3f4b6124583744993b59839f8f1481cdbd5dc32334d3da9f SHA512 a8638db42a5563723b62ba0e9b9861b41e76b9246b94887d57a8d4c421d9dd2e8c0965b62af166e47859b72a50a2e01ec6775ef13f79c52696a6b2fd95134174 |
25 |
+DIST charliecloud-0.27.tar.gz 471754 BLAKE2B b683847a79dd55a4bb79458e94e03988acdff0a1e6a24e7f67d56758bdbc3754cc3609e97bfc778f5cb6ce35d6f4df773235314c2ed642ac796b28b824ecadf6 SHA512 cfa5b1ac923008b9a38fc0228562b31551ea941bf222c9b9e12d8dce4c83ca896893e3509773a5ebc02d6b374d08dc049797226cf1432099aae7174c2bc5ee2b |
26 |
|
27 |
diff --git a/sys-cluster/charliecloud/charliecloud-0.27.ebuild b/sys-cluster/charliecloud/charliecloud-0.27.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000000..0a5c5c382b07 |
30 |
--- /dev/null |
31 |
+++ b/sys-cluster/charliecloud/charliecloud-0.27.ebuild |
32 |
@@ -0,0 +1,82 @@ |
33 |
+# Copyright 1999-2022 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=8 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python3_{8,9,10} ) |
39 |
+ |
40 |
+inherit autotools optfeature python-single-r1 |
41 |
+ |
42 |
+if [[ ${PV} == "9999" ]] ; then |
43 |
+ inherit git-r3 |
44 |
+ EGIT_REPO_URI="https://github.com/hpc/${PN}.git" |
45 |
+ S="${WORKDIR}/${P}" |
46 |
+else |
47 |
+ SRC_URI="https://github.com/hpc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
48 |
+ KEYWORDS="~amd64 ~x86 ~x86-linux" |
49 |
+fi |
50 |
+ |
51 |
+DESCRIPTION="Lightweight user-defined software stacks for high-performance computing" |
52 |
+HOMEPAGE="https://hpc.github.io/charliecloud/" |
53 |
+ |
54 |
+SLOT="0" |
55 |
+LICENSE="Apache-2.0" |
56 |
+IUSE="ch-image doc" |
57 |
+ |
58 |
+# Extensive test suite exists, but downloads container images |
59 |
+# directly and via Docker and installs packages inside using apt/yum. |
60 |
+# Additionally, clashes with portage namespacing and sandbox. |
61 |
+RESTRICT="test" |
62 |
+ |
63 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
64 |
+ |
65 |
+RDEPEND="${PYTHON_DEPS} |
66 |
+ elibc_musl? ( sys-libs/argp-standalone ) |
67 |
+" |
68 |
+DEPEND=" |
69 |
+ ch-image? ( |
70 |
+ $(python_gen_cond_dep ' |
71 |
+ dev-python/lark-parser[${PYTHON_USEDEP}] |
72 |
+ dev-python/requests[${PYTHON_USEDEP}] |
73 |
+ ') |
74 |
+ ) |
75 |
+ doc? ( |
76 |
+ $(python_gen_cond_dep ' |
77 |
+ dev-python/sphinx[${PYTHON_USEDEP}] |
78 |
+ dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] |
79 |
+ ') |
80 |
+ net-misc/rsync |
81 |
+ )" |
82 |
+ |
83 |
+src_prepare() { |
84 |
+ default |
85 |
+ eautoreconf |
86 |
+} |
87 |
+ |
88 |
+src_configure() { |
89 |
+ local econf_args=() |
90 |
+ econf_args+=( |
91 |
+ $(use_enable doc html) |
92 |
+ $(use_enable ch-image) |
93 |
+ # Libdir is used as a libexec-style destination. |
94 |
+ --libdir="${EPREFIX}"/usr/lib |
95 |
+ # Attempts to call python-exec directly otherwise. |
96 |
+ --with-sphinx-python=${PYTHON} |
97 |
+ # This disables -Werror, see also: https://github.com/hpc/charliecloud/pull/808 |
98 |
+ --enable-buggy-build |
99 |
+ # Do not use bundled version of dev-python/lark-parser. |
100 |
+ --disable-bundled-lark |
101 |
+ # Use correct shebang. |
102 |
+ --with-python=${PYTHON} |
103 |
+ ) |
104 |
+ econf "${econf_args[@]}" |
105 |
+} |
106 |
+ |
107 |
+pkg_postinst() { |
108 |
+ elog "Various builders are supported, as alternative to the internal ch-image." |
109 |
+ optfeature "Building with Buildah" app-containers/buildah |
110 |
+ optfeature "Building with Docker" app-containers/docker |
111 |
+ optfeature "Progress bars during long operations" sys-apps/pv |
112 |
+ optfeature "Pack and unpack squashfs images" sys-fs/squashfs-tools |
113 |
+ optfeature "Mount and umount squashfs images" sys-fs/squashfuse |
114 |
+} |