commit:     1048ff9e0517e236f45c711db524503a5daff4ee
Author:     Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Tue Sep 16 20:30:31 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Oct  6 03:12:04 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1048ff9e

sys-cluster/charliecloud: add 0.41, 0.42

Signed-off-by: Oliver Freyermuth <o.freyermuth <AT> googlemail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43816
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-cluster/charliecloud/Manifest                 |   2 +
 sys-cluster/charliecloud/charliecloud-0.41.ebuild | 116 ++++++++++++++++++++++
 sys-cluster/charliecloud/charliecloud-0.42.ebuild | 116 ++++++++++++++++++++++
 3 files changed, 234 insertions(+)

diff --git a/sys-cluster/charliecloud/Manifest 
b/sys-cluster/charliecloud/Manifest
index 276c31622767..df8ad355cc0c 100644
--- a/sys-cluster/charliecloud/Manifest
+++ b/sys-cluster/charliecloud/Manifest
@@ -1,2 +1,4 @@
 DIST charliecloud-0.39.tar.bz2 545133 BLAKE2B 
aa993d7f88d27d1c4f273eefdb8d8790131cf191b207c310fd5dee284c847fa619f8632b90340c3b08f44c746d42267469147ffa707cb3c6617e8217ed0f0acb
 SHA512 
71597e3cee90ad3f301d50c556a641dc485b2556932705d6f71ef7fcdbba0e384133e483a4980bb849713af2cc3d5b5231b62a9f0a27ec3d8edd01b07e591d0b
 DIST charliecloud-0.40.tar.bz2 584529 BLAKE2B 
e3566f35ac216acf3cdc26b27df2d0567a208d5d3bc4886db1de7141c364800a649cb14f91008047d86fed2b92e692b56409277ee397faa5d49684b715c47f7f
 SHA512 
b3871f84155aa3903913f38a1c022eb2e9ee55546c4aa918a1f359596844638bbd8b529d5a99eb00eafc41ef2bdb56585dad6e88eb6327d68d0a0534b877dba9
+DIST charliecloud-v0.41.tar.bz2 608949 BLAKE2B 
d832e54a9c0bafcc54041b7950f3707192f579e7880872e850a5b1d7abb49c620ae1d49d44ce65676a0480da0968a28909cb7ac2803f29b85f7f052cbca6ca38
 SHA512 
57897dc4e30b7ab47783fd8a38dcd5db380322ad02ef7cd524bf890e02861e05d827f332cdbfb3acfb0836e06a7a059d1e2597d8ecac99d7f5ff47d4842a7370
+DIST charliecloud-v0.42.tar.bz2 613117 BLAKE2B 
f380ca095f99e1f96932fbe1ffc501eaf54b2cd9201e7aa7621dfb1e26bfbbc14728dc637952e3c51ede5c4fd527a61eddad8a8e554e0f912c0f4943ff16e07a
 SHA512 
314a8a6cb21718344311e04ae241d6dc525ef8034ed5d407bbc83c33155872d9d943da650d749738a4c7a4a7ee1057cdd9cc7231e53c5fa5747f70f0a0458ef2

diff --git a/sys-cluster/charliecloud/charliecloud-0.41.ebuild 
b/sys-cluster/charliecloud/charliecloud-0.41.ebuild
new file mode 100644
index 000000000000..1a618a828371
--- /dev/null
+++ b/sys-cluster/charliecloud/charliecloud-0.41.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..13} )
+
+inherit autotools optfeature python-single-r1
+
+if [[ ${PV} == "9999" ]] ; then
+       inherit git-r3
+       EGIT_REPO_URI="https://gitlab.com/${PN}/${PN}.git";
+else
+       
SRC_URI="https://gitlab.com/${PN}/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2";
+       KEYWORDS="~amd64 ~x86 ~x86-linux"
+       S="${WORKDIR}/${PN}-v${PV}"
+fi
+
+DESCRIPTION="Lightweight user-defined software stacks for high-performance 
computing"
+HOMEPAGE="https://charliecloud.io/";
+LICENSE="Apache-2.0"
+
+SLOT="0"
+IUSE="ch-image doc +fuse +json"
+
+# 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"
+
+DOCS=( NOTICE README.rst )
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="elibc_musl? ( sys-libs/argp-standalone )"
+COMMON_DEPEND="
+       ch-image? (
+               $(python_gen_cond_dep '
+                       dev-python/lark[${PYTHON_USEDEP}]
+                       dev-python/requests[${PYTHON_USEDEP}]
+               ')
+               dev-vcs/git
+               net-misc/rsync
+       )
+       fuse? (
+               sys-fs/fuse:3=
+               sys-fs/squashfuse
+       )
+       json? (
+               dev-libs/cJSON
+       )
+"
+RDEPEND="
+       ${DEPEND}
+       ${COMMON_DEPEND}
+       ${PYTHON_DEPS}
+"
+BDEPEND="
+       ${COMMON_DEPEND}
+       ${PYTHON_DEPS}
+       virtual/pkgconfig
+       doc? (
+               $(python_gen_cond_dep '
+                       dev-python/sphinx[${PYTHON_USEDEP}]
+                       dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]
+               ')
+               net-misc/rsync
+       )
+"
+
+src_prepare() {
+       default
+       # Remove -W from SPHINXOPTS to prevent failure due to warnings
+       sed -i 's#^SPHINXOPTS .*=.*#SPHINXOPTS =#' doc/Makefile.am || die 
"Makefile patching failed"
+       eautoreconf
+}
+
+src_configure() {
+       local econf_args=(
+               $(use_enable doc html)
+               $(use_enable ch-image)
+               $(use_with json)
+               # activates linking against both fuse and squashfuse
+               $(use_with fuse squashfuse)
+               # https://github.com/ivmai/bdwgc not packaged
+               --without-gc
+               # 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 "Build versioning with ch-image" dev-vcs/git
+}

diff --git a/sys-cluster/charliecloud/charliecloud-0.42.ebuild 
b/sys-cluster/charliecloud/charliecloud-0.42.ebuild
new file mode 100644
index 000000000000..1a618a828371
--- /dev/null
+++ b/sys-cluster/charliecloud/charliecloud-0.42.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..13} )
+
+inherit autotools optfeature python-single-r1
+
+if [[ ${PV} == "9999" ]] ; then
+       inherit git-r3
+       EGIT_REPO_URI="https://gitlab.com/${PN}/${PN}.git";
+else
+       
SRC_URI="https://gitlab.com/${PN}/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2";
+       KEYWORDS="~amd64 ~x86 ~x86-linux"
+       S="${WORKDIR}/${PN}-v${PV}"
+fi
+
+DESCRIPTION="Lightweight user-defined software stacks for high-performance 
computing"
+HOMEPAGE="https://charliecloud.io/";
+LICENSE="Apache-2.0"
+
+SLOT="0"
+IUSE="ch-image doc +fuse +json"
+
+# 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"
+
+DOCS=( NOTICE README.rst )
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="elibc_musl? ( sys-libs/argp-standalone )"
+COMMON_DEPEND="
+       ch-image? (
+               $(python_gen_cond_dep '
+                       dev-python/lark[${PYTHON_USEDEP}]
+                       dev-python/requests[${PYTHON_USEDEP}]
+               ')
+               dev-vcs/git
+               net-misc/rsync
+       )
+       fuse? (
+               sys-fs/fuse:3=
+               sys-fs/squashfuse
+       )
+       json? (
+               dev-libs/cJSON
+       )
+"
+RDEPEND="
+       ${DEPEND}
+       ${COMMON_DEPEND}
+       ${PYTHON_DEPS}
+"
+BDEPEND="
+       ${COMMON_DEPEND}
+       ${PYTHON_DEPS}
+       virtual/pkgconfig
+       doc? (
+               $(python_gen_cond_dep '
+                       dev-python/sphinx[${PYTHON_USEDEP}]
+                       dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]
+               ')
+               net-misc/rsync
+       )
+"
+
+src_prepare() {
+       default
+       # Remove -W from SPHINXOPTS to prevent failure due to warnings
+       sed -i 's#^SPHINXOPTS .*=.*#SPHINXOPTS =#' doc/Makefile.am || die 
"Makefile patching failed"
+       eautoreconf
+}
+
+src_configure() {
+       local econf_args=(
+               $(use_enable doc html)
+               $(use_enable ch-image)
+               $(use_with json)
+               # activates linking against both fuse and squashfuse
+               $(use_with fuse squashfuse)
+               # https://github.com/ivmai/bdwgc not packaged
+               --without-gc
+               # 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 "Build versioning with ch-image" dev-vcs/git
+}

Reply via email to