commit:     9b7a08d75fcb5fa844283992da52b3e566f8c299
Author:     Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Thu Dec 18 16:36:22 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Dec 24 17:20:57 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b7a08d7

sys-cluster/charliecloud: add gc support, py3.14

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

 .../{charliecloud-9999.ebuild => charliecloud-0.42-r1.ebuild}  | 10 ++++++----
 sys-cluster/charliecloud/charliecloud-9999.ebuild              | 10 ++++++----
 sys-cluster/charliecloud/metadata.xml                          |  1 +
 3 files changed, 13 insertions(+), 8 deletions(-)

diff --git a/sys-cluster/charliecloud/charliecloud-9999.ebuild 
b/sys-cluster/charliecloud/charliecloud-0.42-r1.ebuild
similarity index 95%
copy from sys-cluster/charliecloud/charliecloud-9999.ebuild
copy to sys-cluster/charliecloud/charliecloud-0.42-r1.ebuild
index 197340c0d8ec..892f0ea7952c 100644
--- a/sys-cluster/charliecloud/charliecloud-9999.ebuild
+++ b/sys-cluster/charliecloud/charliecloud-0.42-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{12..13} )
+PYTHON_COMPAT=( python3_{12..14} )
 
 inherit autotools optfeature python-single-r1
 
@@ -21,7 +21,7 @@ HOMEPAGE="https://charliecloud.io/";
 LICENSE="Apache-2.0"
 
 SLOT="0"
-IUSE="ch-image doc +fuse +json"
+IUSE="ch-image doc +fuse +gc +json"
 
 # Extensive test suite exists, but downloads container images
 # directly and via Docker and installs packages inside using apt/yum.
@@ -46,6 +46,9 @@ COMMON_DEPEND="
                sys-fs/fuse:3=
                sys-fs/squashfuse
        )
+       gc? (
+               dev-libs/boehm-gc:=
+       )
        json? (
                dev-libs/cJSON
        )
@@ -82,8 +85,7 @@ src_configure() {
                $(use_with json)
                # activates linking against both fuse and squashfuse
                $(use_with fuse squashfuse)
-               # https://github.com/ivmai/bdwgc not packaged
-               --without-gc
+               $(use_with gc)
                # Libdir is used as a libexec-style destination.
                --libdir="${EPREFIX}"/usr/lib
                # Attempts to call python-exec directly otherwise.

diff --git a/sys-cluster/charliecloud/charliecloud-9999.ebuild 
b/sys-cluster/charliecloud/charliecloud-9999.ebuild
index 197340c0d8ec..892f0ea7952c 100644
--- a/sys-cluster/charliecloud/charliecloud-9999.ebuild
+++ b/sys-cluster/charliecloud/charliecloud-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{12..13} )
+PYTHON_COMPAT=( python3_{12..14} )
 
 inherit autotools optfeature python-single-r1
 
@@ -21,7 +21,7 @@ HOMEPAGE="https://charliecloud.io/";
 LICENSE="Apache-2.0"
 
 SLOT="0"
-IUSE="ch-image doc +fuse +json"
+IUSE="ch-image doc +fuse +gc +json"
 
 # Extensive test suite exists, but downloads container images
 # directly and via Docker and installs packages inside using apt/yum.
@@ -46,6 +46,9 @@ COMMON_DEPEND="
                sys-fs/fuse:3=
                sys-fs/squashfuse
        )
+       gc? (
+               dev-libs/boehm-gc:=
+       )
        json? (
                dev-libs/cJSON
        )
@@ -82,8 +85,7 @@ src_configure() {
                $(use_with json)
                # activates linking against both fuse and squashfuse
                $(use_with fuse squashfuse)
-               # https://github.com/ivmai/bdwgc not packaged
-               --without-gc
+               $(use_with gc)
                # Libdir is used as a libexec-style destination.
                --libdir="${EPREFIX}"/usr/lib
                # Attempts to call python-exec directly otherwise.

diff --git a/sys-cluster/charliecloud/metadata.xml 
b/sys-cluster/charliecloud/metadata.xml
index dc1dfcc85cf1..c5385be35575 100644
--- a/sys-cluster/charliecloud/metadata.xml
+++ b/sys-cluster/charliecloud/metadata.xml
@@ -15,6 +15,7 @@
   <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>
+    <flag name="gc">Enable garbage collection support via 
dev-libs/boehm-gc</flag>
     <flag name="json">Enable features that rely on cJSON such as CDI</flag>
   </use>
 </pkgmetadata>

Reply via email to