public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Nicolas Bock" <nicolasbock@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/charliecloud/
Date: Sun,  3 Mar 2024 17:38:47 +0000 (UTC)	[thread overview]
Message-ID: <1709487484.1ccb30bd0e23b6f969e4743fe754c7b9368d011f.nicolasbock@gentoo> (raw)

commit:     1ccb30bd0e23b6f969e4743fe754c7b9368d011f
Author:     Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Thu Feb 29 22:03:42 2024 +0000
Commit:     Nicolas Bock <nicolasbock <AT> gentoo <DOT> org>
CommitDate: Sun Mar  3 17:38:04 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ccb30bd

sys-cluster/charliecloud: add 0.37

Signed-off-by: Oliver Freyermuth <o.freyermuth <AT> googlemail.com>
Signed-off-by: Nicolas Bock <nicolasbock <AT> gentoo.org>

 sys-cluster/charliecloud/Manifest                 |  1 +
 sys-cluster/charliecloud/charliecloud-0.37.ebuild | 92 +++++++++++++++++++++++
 2 files changed, 93 insertions(+)

diff --git a/sys-cluster/charliecloud/Manifest b/sys-cluster/charliecloud/Manifest
index 1b39f506132d..c427ba6ae95e 100644
--- a/sys-cluster/charliecloud/Manifest
+++ b/sys-cluster/charliecloud/Manifest
@@ -1,2 +1,3 @@
 DIST charliecloud-0.35.tar.gz 585756 BLAKE2B ade539aa3f94055f84e1b6de73d0bea7739ab764c31399f25adbff82faa62c3ee7e8745aa74bb6e997d6723d002780339f48be8d7218462d3eb95ad119a2b8a8 SHA512 40f5e5891f0df8379b637c26c3d86b66a61b48ee1e7985260b47aa4abeffc77c3690af59ae38072b53f6dd348da4574249187ba922fc7c03fb74a513524dc08a
 DIST charliecloud-0.36.tar.gz 604778 BLAKE2B 671c7a95be7a0d3e772e3a02185f15c5e00df6d84f0c6a068b6ac2268eaf471c3dc8a9a445036110b564e44b906e4c1ba090474e0f75653d6e24a6270f2c332b SHA512 411fc4eded6d557460ef4688ee123c54939fdeea6799c7176f136d494986a643c4ef3cadc8079e995374a7988c73d32d160d6a3094e8184b491cb1985a18facd
+DIST charliecloud-0.37.tar.gz 612391 BLAKE2B 595052118fce06d542c5fe315663ff2bb6de1743646ac396f006760fb761b1d794b57065851cdf3c54acce54817c6242d40386d1aeae0999f4f927da3a97069b SHA512 5e7402435520b1558c855bce31d9debd1ce338718070a016b744e2a87ee7f7811b3de46cb7f8ea82187b7c7df0288bf87376fe8f543340a9474737d62f68826c

diff --git a/sys-cluster/charliecloud/charliecloud-0.37.ebuild b/sys-cluster/charliecloud/charliecloud-0.37.ebuild
new file mode 100644
index 000000000000..2efe21c19d55
--- /dev/null
+++ b/sys-cluster/charliecloud/charliecloud-0.37.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2024 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}]
+		')
+		dev-vcs/git
+		net-misc/rsync
+	)
+	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}"
+		# Disable configure checks vor OverlayFS causing sandbox violations.
+		--disable-impolite-checks
+	)
+	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:[~2024-03-03 17:38 UTC|newest]

Thread overview: 72+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-03 17:38 Nicolas Bock [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-18  6:06 [gentoo-commits] repo/gentoo:master commit in: sys-cluster/charliecloud/ Petr Vaněk
2025-03-18  6:06 Petr Vaněk
2025-02-20 10:20 Michał Górny
2024-11-06 13:35 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-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-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=1709487484.1ccb30bd0e23b6f969e4743fe754c7b9368d011f.nicolasbock@gentoo \
    --to=nicolasbock@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