public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/charliecloud/
Date: Fri, 23 May 2025 04:57:32 +0000 (UTC)	[thread overview]
Message-ID: <1747976178.8c7eb157a6b98c33d9fcad7c3eee2506415b19c2.sam@gentoo> (raw)

commit:     8c7eb157a6b98c33d9fcad7c3eee2506415b19c2
Author:     Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Sat May  3 19:22:24 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri May 23 04:56:18 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c7eb157

sys-cluster/charliecloud: add USE fuse

Fixes automagic dependency on fuse and squashfuse.

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

 .../{charliecloud-9999.ebuild => charliecloud-0.39-r1.ebuild}    | 9 +++++++--
 sys-cluster/charliecloud/charliecloud-9999.ebuild                | 9 +++++++--
 sys-cluster/charliecloud/metadata.xml                            | 1 +
 3 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/sys-cluster/charliecloud/charliecloud-9999.ebuild b/sys-cluster/charliecloud/charliecloud-0.39-r1.ebuild
similarity index 94%
copy from sys-cluster/charliecloud/charliecloud-9999.ebuild
copy to sys-cluster/charliecloud/charliecloud-0.39-r1.ebuild
index 45301adb775e..210b07c67bfb 100644
--- a/sys-cluster/charliecloud/charliecloud-9999.ebuild
+++ b/sys-cluster/charliecloud/charliecloud-0.39-r1.ebuild
@@ -21,7 +21,7 @@ HOMEPAGE="https://hpc.github.io/charliecloud/"
 LICENSE="Apache-2.0"
 
 SLOT="0"
-IUSE="ch-image doc"
+IUSE="ch-image doc +fuse"
 
 # Extensive test suite exists, but downloads container images
 # directly and via Docker and installs packages inside using apt/yum.
@@ -42,6 +42,10 @@ COMMON_DEPEND="
 		dev-vcs/git
 		net-misc/rsync
 	)
+	fuse? (
+		sys-fs/fuse:3=
+		sys-fs/squashfuse
+	)
 "
 RDEPEND="
 	${DEPEND}
@@ -72,6 +76,8 @@ src_configure() {
 	local econf_args=(
 		$(use_enable doc html)
 		$(use_enable ch-image)
+		# activates linking against both fuse and squashfuse
+		$(use_with fuse libsquashfuse)
 		# Libdir is used as a libexec-style destination.
 		--libdir="${EPREFIX}"/usr/lib
 		# Attempts to call python-exec directly otherwise.
@@ -100,6 +106,5 @@ pkg_postinst() {
 	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
 }

diff --git a/sys-cluster/charliecloud/charliecloud-9999.ebuild b/sys-cluster/charliecloud/charliecloud-9999.ebuild
index 45301adb775e..210b07c67bfb 100644
--- a/sys-cluster/charliecloud/charliecloud-9999.ebuild
+++ b/sys-cluster/charliecloud/charliecloud-9999.ebuild
@@ -21,7 +21,7 @@ HOMEPAGE="https://hpc.github.io/charliecloud/"
 LICENSE="Apache-2.0"
 
 SLOT="0"
-IUSE="ch-image doc"
+IUSE="ch-image doc +fuse"
 
 # Extensive test suite exists, but downloads container images
 # directly and via Docker and installs packages inside using apt/yum.
@@ -42,6 +42,10 @@ COMMON_DEPEND="
 		dev-vcs/git
 		net-misc/rsync
 	)
+	fuse? (
+		sys-fs/fuse:3=
+		sys-fs/squashfuse
+	)
 "
 RDEPEND="
 	${DEPEND}
@@ -72,6 +76,8 @@ src_configure() {
 	local econf_args=(
 		$(use_enable doc html)
 		$(use_enable ch-image)
+		# activates linking against both fuse and squashfuse
+		$(use_with fuse libsquashfuse)
 		# Libdir is used as a libexec-style destination.
 		--libdir="${EPREFIX}"/usr/lib
 		# Attempts to call python-exec directly otherwise.
@@ -100,6 +106,5 @@ pkg_postinst() {
 	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
 }

diff --git a/sys-cluster/charliecloud/metadata.xml b/sys-cluster/charliecloud/metadata.xml
index bdff4bd7ab8e..c4fc29317e2d 100644
--- a/sys-cluster/charliecloud/metadata.xml
+++ b/sys-cluster/charliecloud/metadata.xml
@@ -14,5 +14,6 @@
   </upstream>
   <use>
     <flag name="ch-image">Build the internal builder ch-image (previously named ch-grow)</flag>
+    <flag name="fuse">Enable FUSE support for mounting squashfs images</flag>
   </use>
 </pkgmetadata>


             reply	other threads:[~2025-05-23  4:57 UTC|newest]

Thread overview: 74+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-23  4:57 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-23  4:57 [gentoo-commits] repo/gentoo:master commit in: sys-cluster/charliecloud/ Sam James
2025-03-18  6:06 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-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=1747976178.8c7eb157a6b98c33d9fcad7c3eee2506415b19c2.sam@gentoo \
    --to=sam@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