1 |
commit: 66580df51a9d90b523c59cc803d03caca1e04f05 |
2 |
Author: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com> |
3 |
AuthorDate: Tue Jun 29 19:11:14 2021 +0000 |
4 |
Commit: Nicolas Bock <nicolasbock <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 30 05:23:29 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66580df5 |
7 |
|
8 |
sys-cluster/charliecloud: Bump to version 0.24. |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.2 |
11 |
Signed-off-by: Oliver Freyermuth <o.freyermuth <AT> googlemail.com> |
12 |
Signed-off-by: Nicolas Bock <nicolasbock <AT> gentoo.org> |
13 |
|
14 |
sys-cluster/charliecloud/Manifest | 1 + |
15 |
sys-cluster/charliecloud/charliecloud-0.24.ebuild | 80 +++++++++++++++++++++++ |
16 |
2 files changed, 81 insertions(+) |
17 |
|
18 |
diff --git a/sys-cluster/charliecloud/Manifest b/sys-cluster/charliecloud/Manifest |
19 |
index 12199ab1383..b2887b4dba6 100644 |
20 |
--- a/sys-cluster/charliecloud/Manifest |
21 |
+++ b/sys-cluster/charliecloud/Manifest |
22 |
@@ -1,2 +1,3 @@ |
23 |
DIST charliecloud-0.22.tar.gz 402106 BLAKE2B 4c2d4bf77424c5b46e5593bc28bbe10891c353c23c8d382a9ca7515187538f5fef4d90b95f34572f65223f27433ccab9021bf9e4bc31931787894924d1dd02e2 SHA512 c528ffa9ecddbd4a26b0a8b6cc593340f3aaa0911cf45e1f6a5fe860178917f069ca9b31b7c1aee6220762bbe4b75114219eac4cdd3987bcb3f3338e2b6fb18e |
24 |
DIST charliecloud-0.23.tar.gz 403281 BLAKE2B f7a6824782e7bf3bdb51ae791fdca2f5929f5c713590ff49cc8a7e1e1c1758e83bdd429a99497dd15e565d01f0f66f2873f64edddacf24ea78f68c2326669db7 SHA512 35543ed3d838b80fbb64fe3e658993fe9f7ded2d1dfd92e0e9a7725fab6d872503a790964c0f3fabb6438c8bd872b5b00cdf31a028f26588b318b9d0dc568119 |
25 |
+DIST charliecloud-0.24.tar.gz 420852 BLAKE2B ca55231c74012a678c24133b28e341392865a562653086766e6b5e570744f31ce69d1afa2bbb2cc85d5e52b6ed6e9f42f67187d9998afd3852a10fd4a8ff29d3 SHA512 41f44ef5f12dc35d7972923a84044b7255801705d4fcabf76e675dcb70a9f25422e7d584a7b49135ef2ae5dc1751a39efd84f8eb719653a769b41f46bd558fd2 |
26 |
|
27 |
diff --git a/sys-cluster/charliecloud/charliecloud-0.24.ebuild b/sys-cluster/charliecloud/charliecloud-0.24.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..a210608743e |
30 |
--- /dev/null |
31 |
+++ b/sys-cluster/charliecloud/charliecloud-0.24.ebuild |
32 |
@@ -0,0 +1,80 @@ |
33 |
+# Copyright 1999-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python3_{7,8,9} ) |
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 |
+DEPEND=" |
67 |
+ ch-image? ( |
68 |
+ $(python_gen_cond_dep ' |
69 |
+ dev-python/lark-parser[${PYTHON_MULTI_USEDEP}] |
70 |
+ dev-python/requests[${PYTHON_MULTI_USEDEP}] |
71 |
+ ') |
72 |
+ ) |
73 |
+ doc? ( |
74 |
+ $(python_gen_cond_dep ' |
75 |
+ dev-python/sphinx[${PYTHON_MULTI_USEDEP}] |
76 |
+ dev-python/sphinx_rtd_theme[${PYTHON_MULTI_USEDEP}] |
77 |
+ ') |
78 |
+ net-misc/rsync |
79 |
+ )" |
80 |
+ |
81 |
+PATCHES=( |
82 |
+ "${FILESDIR}"/${PN}-0.22-sphinx-4.patch |
83 |
+) |
84 |
+ |
85 |
+src_prepare() { |
86 |
+ default |
87 |
+ eautoreconf |
88 |
+} |
89 |
+ |
90 |
+src_configure() { |
91 |
+ local econf_args=() |
92 |
+ econf_args+=( |
93 |
+ $(use_enable doc html) |
94 |
+ $(use_enable ch-image) |
95 |
+ # Libdir is used as a libexec-style destination. |
96 |
+ --libdir="${EPREFIX}"/usr/lib |
97 |
+ # Attempts to call python-exec directly otherwise. |
98 |
+ --with-sphinx-python=${PYTHON} |
99 |
+ # This disables -Werror, see also: https://github.com/hpc/charliecloud/pull/808 |
100 |
+ --enable-buggy-build |
101 |
+ ) |
102 |
+ econf "${econf_args[@]}" |
103 |
+} |
104 |
+ |
105 |
+pkg_postinst() { |
106 |
+ elog "Various builders are supported, as alternative to the internal ch-image." |
107 |
+ optfeature "Building with Buildah" app-emulation/buildah |
108 |
+ optfeature "Building with Docker" app-emulation/docker |
109 |
+ optfeature "Progress bars during long operations" sys-apps/pv |
110 |
+ optfeature "Pack and unpack squashfs images" sys-fs/squashfs-tools |
111 |
+ optfeature "Mount and umount squashfs images" sys-fs/squashfuse |
112 |
+} |