public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/charliecloud/
Date: Fri, 15 Sep 2023 04:33:05 +0000 (UTC)	[thread overview]
Message-ID: <1694752379.dbd28f047d4a4503d58c6daf04085accd52343d9.arthurzam@gentoo> (raw)

commit:     dbd28f047d4a4503d58c6daf04085accd52343d9
Author:     Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Wed Sep 13 21:47:16 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 15 04:32:59 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbd28f04

sys-cluster/charliecloud: add 0.34

Signed-off-by: Oliver Freyermuth <o.freyermuth <AT> googlemail.com>
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 sys-cluster/charliecloud/Manifest                 |  1 +
 sys-cluster/charliecloud/charliecloud-0.34.ebuild | 88 +++++++++++++++++++++++
 2 files changed, 89 insertions(+)

diff --git a/sys-cluster/charliecloud/Manifest b/sys-cluster/charliecloud/Manifest
index 739845db48d5..b22579fb6b97 100644
--- a/sys-cluster/charliecloud/Manifest
+++ b/sys-cluster/charliecloud/Manifest
@@ -1,2 +1,3 @@
 DIST charliecloud-0.32.tar.gz 549184 BLAKE2B 5d574ccf2fb36b0acf4f436099ba8344b5d9058d5f79abb8d56082d86b2f9e7207052009b2d49ed50eaede7411796804944fbe11c0d7bcf21f2d62ba01b2c28f SHA512 c32362a219fbe7ec298ac314f58a17e0e6972a3436f66a0243a77c8c05007e6fea3ac8d4ddc15274737eacf3ba32601c0198fc5a39bccb4017d675a149366aee
 DIST charliecloud-0.33.tar.gz 559786 BLAKE2B 46e8a488af5a27e6b52ae41118cea663cd6c01f8a24566576dbdc7bac99bd94ac50c0559da07a204c2e68ed46edb8c5a5e0bd26986b5bc960901457af632e134 SHA512 d6854873bdfca5512c54ba28ff70721442241a00cbec6d67c9693e946c6925d030773382c8ba9fc3ebcdfd52da56580e6c4e3ad7080d51d9844ad6f216f15e70
+DIST charliecloud-0.34.tar.gz 565976 BLAKE2B 0c86877bd3f17bf91d287f57b5e0844f7cb1777a499ea2bf67fb2cd5762f453239fe20afa6e4ba71acc98609c718028dd1e813a36aee881aa5c2cae79a65effd SHA512 5ede938a8015391758e0eef0b3661c12025cbac3e5153e2e5219fb4d50f8f78ac12076e4c3b658379a1521825372a0ed792a63210371cdbdad1e6631112e371d

diff --git a/sys-cluster/charliecloud/charliecloud-0.34.ebuild b/sys-cluster/charliecloud/charliecloud-0.34.ebuild
new file mode 100644
index 000000000000..22a7048b73de
--- /dev/null
+++ b/sys-cluster/charliecloud/charliecloud-0.34.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit autotools optfeature python-single-r1
+
+if [[ ${PV} == "9999" ]] ; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/hpc/${PN}.git"
+	S="${WORKDIR}/${P}"
+else
+	SRC_URI="https://github.com/hpc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86 ~x86-linux"
+fi
+
+DESCRIPTION="Lightweight user-defined software stacks for high-performance computing"
+HOMEPAGE="https://hpc.github.io/charliecloud/"
+
+SLOT="0"
+LICENSE="Apache-2.0"
+IUSE="ch-image doc"
+
+# Extensive test suite exists, but downloads container images
+# directly and via Docker and installs packages inside using apt/yum.
+# Additionally, clashes with portage namespacing and sandbox.
+RESTRICT="test"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+	elibc_musl? ( sys-libs/argp-standalone )
+"
+DEPEND="
+	ch-image? (
+		$(python_gen_cond_dep '
+			dev-python/lark[${PYTHON_USEDEP}]
+			dev-python/requests[${PYTHON_USEDEP}]
+		')
+	)
+	doc? (
+		$(python_gen_cond_dep '
+			dev-python/sphinx[${PYTHON_USEDEP}]
+			dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]
+		')
+		net-misc/rsync
+	)"
+
+src_prepare() {
+	default
+	eautoreconf
+}
+
+src_configure() {
+	local econf_args=(
+		$(use_enable doc html)
+		$(use_enable ch-image)
+		# Libdir is used as a libexec-style destination.
+		--libdir="${EPREFIX}"/usr/lib
+		# Attempts to call python-exec directly otherwise.
+		--with-sphinx-python="${EPYTHON}"
+		# This disables -Werror, see also: https://github.com/hpc/charliecloud/pull/808
+		--enable-buggy-build
+		# Do not use bundled version of dev-python/lark.
+		--disable-bundled-lark
+		# Use correct shebang.
+		--with-python="${PYTHON}"
+	)
+	econf "${econf_args[@]}"
+}
+
+src_install() {
+	docompress -x "${EPREFIX}"/usr/share/doc/"${PF}"/examples
+	default
+}
+
+pkg_postinst() {
+	elog "Various builders are supported, as alternative to the internal ch-image."
+	optfeature "Building with Buildah" app-containers/buildah
+	optfeature "Building with Docker" app-containers/docker
+	optfeature "Building with Podman" app-containers/podman
+	optfeature "Progress bars during long operations" sys-apps/pv
+	optfeature "Pack and unpack squashfs images" sys-fs/squashfs-tools
+	optfeature "Mount and umount squashfs images" sys-fs/squashfuse
+	optfeature "Build versioning with ch-image" dev-vcs/git
+}


             reply	other threads:[~2023-09-15  4:33 UTC|newest]

Thread overview: 69+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-15  4:33 Arthur Zamarin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-06 13:35 [gentoo-commits] repo/gentoo:master commit in: sys-cluster/charliecloud/ Sam James
2024-11-02 12:46 Joonas Niilola
2024-11-02 12:46 Joonas Niilola
2024-11-02 12:46 Joonas Niilola
2024-06-15 14:08 Nicolas Bock
2024-06-15 14:08 Nicolas Bock
2024-06-15 14:08 Nicolas Bock
2024-03-03 17:38 Nicolas Bock
2024-03-03 17:38 Nicolas Bock
2024-02-09 13:19 Joonas Niilola
2024-02-09 13:19 Joonas Niilola
2023-11-01 21:49 Nicolas Bock
2023-11-01 21:49 Nicolas Bock
2023-11-01 21:49 Nicolas Bock
2023-09-15  4:33 Arthur Zamarin
2023-09-15  4:33 Arthur Zamarin
2023-09-15  4:33 Arthur Zamarin
2023-06-13 20:50 Nicolas Bock
2023-04-03 22:07 Nicolas Bock
2023-01-27 16:56 Nicolas Bock
2023-01-27 16:56 Nicolas Bock
2022-11-25  8:09 Joonas Niilola
2022-11-25  8:09 Joonas Niilola
2022-08-05  5:23 Nicolas Bock
2022-08-05  5:23 Nicolas Bock
2022-08-05  5:23 Nicolas Bock
2022-07-05  8:52 Joonas Niilola
2022-07-05  8:52 Joonas Niilola
2022-04-08 12:16 Joonas Niilola
2022-04-08 12:16 Joonas Niilola
2022-04-08 12:16 Joonas Niilola
2022-03-07 18:18 Nicolas Bock
2021-09-21  7:03 Joonas Niilola
2021-07-17 18:18 David Seifert
2021-07-08 12:45 Ionen Wolkens
2021-06-30  5:24 Nicolas Bock
2021-06-30  5:24 Nicolas Bock
2021-04-19 12:42 Nicolas Bock
2021-04-19 12:42 Nicolas Bock
2021-04-04 18:55 Andreas Sturmlechner
2021-02-18  8:25 Joonas Niilola
2021-02-18  8:25 Joonas Niilola
2020-12-21 17:49 Nicolas Bock
2020-12-21 17:49 Nicolas Bock
2020-10-27 16:27 Joonas Niilola
2020-10-27 16:27 Joonas Niilola
2020-10-09  7:25 Joonas Niilola
2020-10-09  7:25 Joonas Niilola
2020-09-16 12:33 Joonas Niilola
2020-09-16 12:33 Joonas Niilola
2020-09-07  8:55 David Seifert
2020-07-11 17:05 Christoph Junghans
2020-07-11 17:05 Christoph Junghans
2020-06-14 14:05 Joonas Niilola
2020-04-17 15:10 Joonas Niilola
2020-04-17 15:10 Joonas Niilola
2020-02-09 16:42 Michał Górny
2019-07-18  8:00 Michał Górny
2019-07-07 18:31 Michał Górny
2018-12-14 13:39 Nicolas Bock
2018-12-10 12:06 Nicolas Bock
2018-11-05 18:27 Nicolas Bock
2018-10-04 17:50 Nicolas Bock
2018-10-04 17:50 Nicolas Bock
2018-08-20  9:45 Patrice Clement
2018-08-20  9:45 Patrice Clement
2018-05-13 21:46 Christoph Junghans
2017-12-01 21:22 Patrice Clement

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1694752379.dbd28f047d4a4503d58c6daf04085accd52343d9.arthurzam@gentoo \
    --to=arthurzam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox