Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/charliecloud/, sys-cluster/charliecloud/files/
Date: Fri, 08 Apr 2022 12:17:06
Message-Id: 1649420214.d92d7dda74c29c49a54d819b3d716d5fa43eb033.juippis@gentoo
1 commit: d92d7dda74c29c49a54d819b3d716d5fa43eb033
2 Author: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
3 AuthorDate: Thu Mar 31 17:03:50 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=d92d7dda
7
8 sys-cluster/charliecloud: Drop old.
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.25.ebuild | 84 ----------------------
16 .../files/charliecloud-0.24-musl-argp.patch | 43 -----------
17 3 files changed, 128 deletions(-)
18
19 diff --git a/sys-cluster/charliecloud/Manifest b/sys-cluster/charliecloud/Manifest
20 index 7cd7af9f381b..f94ed53bd21e 100644
21 --- a/sys-cluster/charliecloud/Manifest
22 +++ b/sys-cluster/charliecloud/Manifest
23 @@ -1,3 +1,2 @@
24 -DIST charliecloud-0.25.tar.gz 454041 BLAKE2B 3a071f3b9fb06ca1db6d3b85a577943fe76440d395fdf1415d5085110db665fb75ee09dc14768d326e7e280e6c20096479e5f62290f7dee46821c356f5f18535 SHA512 a7a35b584dbdd6c6e27188d3555173c44f90c0e44fa685a15a47f47c94f9d76aa46ab80054a7c53e10a7f56bef87696f1db2a0eb8c49a388dbb0da0fe9112a60
25 DIST charliecloud-0.26.tar.gz 472324 BLAKE2B 2b4b8f44f05a497e9367e97e49de255170b610880ef5d7909f7837bc54962f2c2de929d8381b99dc3f4b6124583744993b59839f8f1481cdbd5dc32334d3da9f SHA512 a8638db42a5563723b62ba0e9b9861b41e76b9246b94887d57a8d4c421d9dd2e8c0965b62af166e47859b72a50a2e01ec6775ef13f79c52696a6b2fd95134174
26 DIST charliecloud-0.27.tar.gz 471754 BLAKE2B b683847a79dd55a4bb79458e94e03988acdff0a1e6a24e7f67d56758bdbc3754cc3609e97bfc778f5cb6ce35d6f4df773235314c2ed642ac796b28b824ecadf6 SHA512 cfa5b1ac923008b9a38fc0228562b31551ea941bf222c9b9e12d8dce4c83ca896893e3509773a5ebc02d6b374d08dc049797226cf1432099aae7174c2bc5ee2b
27
28 diff --git a/sys-cluster/charliecloud/charliecloud-0.25.ebuild b/sys-cluster/charliecloud/charliecloud-0.25.ebuild
29 deleted file mode 100644
30 index f54e49ec426d..000000000000
31 --- a/sys-cluster/charliecloud/charliecloud-0.25.ebuild
32 +++ /dev/null
33 @@ -1,84 +0,0 @@
34 -# Copyright 1999-2021 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=7
38 -
39 -PYTHON_COMPAT=( python3_{8,9,10} )
40 -
41 -inherit autotools optfeature python-single-r1
42 -
43 -if [[ ${PV} == "9999" ]] ; then
44 - inherit git-r3
45 - EGIT_REPO_URI="https://github.com/hpc/${PN}.git"
46 - S="${WORKDIR}/${P}"
47 -else
48 - SRC_URI="https://github.com/hpc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
49 - KEYWORDS="~amd64 ~x86 ~x86-linux"
50 -fi
51 -
52 -DESCRIPTION="Lightweight user-defined software stacks for high-performance computing"
53 -HOMEPAGE="https://hpc.github.io/charliecloud/"
54 -
55 -SLOT="0"
56 -LICENSE="Apache-2.0"
57 -IUSE="ch-image doc"
58 -
59 -# Extensive test suite exists, but downloads container images
60 -# directly and via Docker and installs packages inside using apt/yum.
61 -# Additionally, clashes with portage namespacing and sandbox.
62 -RESTRICT="test"
63 -
64 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
65 -
66 -RDEPEND="${PYTHON_DEPS}
67 - elibc_musl? ( sys-libs/argp-standalone )
68 -"
69 -DEPEND="
70 - ch-image? (
71 - $(python_gen_cond_dep '
72 - dev-python/lark-parser[${PYTHON_USEDEP}]
73 - dev-python/requests[${PYTHON_USEDEP}]
74 - ')
75 - )
76 - doc? (
77 - $(python_gen_cond_dep '
78 - dev-python/sphinx[${PYTHON_USEDEP}]
79 - dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
80 - ')
81 - net-misc/rsync
82 - )"
83 -
84 -PATCHES=(
85 - "${FILESDIR}"/${PN}-0.24-musl-argp.patch
86 -)
87 -
88 -src_prepare() {
89 - default
90 - eautoreconf
91 -}
92 -
93 -src_configure() {
94 - local econf_args=()
95 - econf_args+=(
96 - $(use_enable doc html)
97 - $(use_enable ch-image)
98 - # Libdir is used as a libexec-style destination.
99 - --libdir="${EPREFIX}"/usr/lib
100 - # Attempts to call python-exec directly otherwise.
101 - --with-sphinx-python=${PYTHON}
102 - # This disables -Werror, see also: https://github.com/hpc/charliecloud/pull/808
103 - --enable-buggy-build
104 - # Do not use bundled version of dev-python/lark-parser.
105 - --disable-bundled-lark
106 - )
107 - econf "${econf_args[@]}"
108 -}
109 -
110 -pkg_postinst() {
111 - elog "Various builders are supported, as alternative to the internal ch-image."
112 - optfeature "Building with Buildah" app-containers/buildah
113 - optfeature "Building with Docker" app-containers/docker
114 - optfeature "Progress bars during long operations" sys-apps/pv
115 - optfeature "Pack and unpack squashfs images" sys-fs/squashfs-tools
116 - optfeature "Mount and umount squashfs images" sys-fs/squashfuse
117 -}
118
119 diff --git a/sys-cluster/charliecloud/files/charliecloud-0.24-musl-argp.patch b/sys-cluster/charliecloud/files/charliecloud-0.24-musl-argp.patch
120 deleted file mode 100644
121 index 71817111cdcd..000000000000
122 --- a/sys-cluster/charliecloud/files/charliecloud-0.24-musl-argp.patch
123 +++ /dev/null
124 @@ -1,43 +0,0 @@
125 -From 1832d5ff905b16435efa64e458e2ca2f656f0ab5 Mon Sep 17 00:00:00 2001
126 -From: Oliver Freyermuth <o.freyermuth@××××××××××.com>
127 -Date: Sun, 19 Dec 2021 16:30:27 +0100
128 -Subject: [PATCH] configure: Add musl compatibility (external argp).
129 -
130 ----
131 - configure.ac | 20 ++++++++++++++++++++
132 - 1 file changed, 20 insertions(+)
133 -
134 -diff --git a/configure.ac b/configure.ac
135 -index 687d4d4..9f708cf 100644
136 ---- a/configure.ac
137 -+++ b/configure.ac
138 -@@ -109,6 +109,26 @@ AC_CHECK_LIB([rt], [shm_open], [LIBRT=-lrt], [
139 - ])
140 - AC_SUBST([LIBRT])
141 -
142 -+# argp_parse, needed externally from libargp / argp_standalone e.g. with musl.
143 -+# First, check if available in used libc out of the box.
144 -+AC_LINK_IFELSE(
145 -+ [AC_LANG_PROGRAM(
146 -+ [#include <argp.h>],
147 -+ [int argc=1; char **argv=NULL; argp_parse(0,argc,argv,0,0,0); return 0;]
148 -+ )],
149 -+ [libc_provides_argp="true"],
150 -+ [libc_provides_argp="false"]
151 -+)
152 -+# If libc doesn't provide argp, test for libargp
153 -+if test "$libc_provides_argp" = "false" ; then
154 -+ AC_MSG_WARN("libc does not provide argp")
155 -+ AC_CHECK_LIB([argp], [argp_parse], [have_largp="true"], [have_largp="false"])
156 -+ if test "$have_largp" = "false"; then
157 -+ AC_MSG_ERROR([*** argp functions not found - install libargp or argp_standalone])
158 -+ else
159 -+ CH_RUN_LIBS="-largp $CH_RUN_LIBS"
160 -+ fi
161 -+fi
162 -
163 - ## Options
164 -
165 ---
166 -2.32.0
167 -