Date: Mon, 13 Apr 2026 20:00:40 +0000 From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: bdc129478f20 - main - misc/comfy-cli: update 1.=?utf-8?Q?6.0 =E2=86=92?= 1.7.2 Message-ID: <69dd4b68.43fa0.6cde0300@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=bdc129478f20c1e16b8f63911a6257be085844ee commit bdc129478f20c1e16b8f63911a6257be085844ee Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2026-04-13 17:06:40 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2026-04-13 20:00:29 +0000 misc/comfy-cli: update 1.6.0 → 1.7.2 --- misc/comfy-cli/Makefile | 2 +- misc/comfy-cli/distinfo | 6 +++--- misc/comfy-cli/files/patch-comfy__cli_constants.py | 4 ++-- misc/comfy-cli/files/patch-comfy__cli_standalone.py | 9 +++------ misc/comfy-cli/files/patch-comfy__cli_utils.py | 11 +++++------ misc/comfy-cli/files/patch-comfy__cli_workspace_manager.py | 13 ------------- 6 files changed, 14 insertions(+), 31 deletions(-) diff --git a/misc/comfy-cli/Makefile b/misc/comfy-cli/Makefile index a907d698f379..1568d2bc9d7f 100644 --- a/misc/comfy-cli/Makefile +++ b/misc/comfy-cli/Makefile @@ -1,6 +1,6 @@ PORTNAME= comfy-cli DISTVERSIONPREFIX= v -DISTVERSION= 1.6.0 +DISTVERSION= 1.7.2 CATEGORIES= misc python # machine-learning MAINTAINER= yuri@FreeBSD.org diff --git a/misc/comfy-cli/distinfo b/misc/comfy-cli/distinfo index 4344bea1da2e..72331a1f486e 100644 --- a/misc/comfy-cli/distinfo +++ b/misc/comfy-cli/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1774123313 -SHA256 (Comfy-Org-comfy-cli-v1.6.0_GH0.tar.gz) = 04d120ff34ab4020fce8ce21502275ae9423099bab2616f8170fa07fc6777aa4 -SIZE (Comfy-Org-comfy-cli-v1.6.0_GH0.tar.gz) = 4501799 +TIMESTAMP = 1776097166 +SHA256 (Comfy-Org-comfy-cli-v1.7.2_GH0.tar.gz) = 7e5148c66e84a784fe7b51a57f8a408757611da4e64a1f5d9ea8d61700547f4f +SIZE (Comfy-Org-comfy-cli-v1.7.2_GH0.tar.gz) = 4564884 diff --git a/misc/comfy-cli/files/patch-comfy__cli_constants.py b/misc/comfy-cli/files/patch-comfy__cli_constants.py index f3a6d2481d4a..6f1e0c7a0cf1 100644 --- a/misc/comfy-cli/files/patch-comfy__cli_constants.py +++ b/misc/comfy-cli/files/patch-comfy__cli_constants.py @@ -1,4 +1,4 @@ ---- comfy_cli/constants.py.orig 2026-03-22 01:40:43 UTC +--- comfy_cli/constants.py.orig 2026-04-12 14:28:25 UTC +++ comfy_cli/constants.py @@ -6,6 +6,7 @@ class OS(str, Enum): WINDOWS = "windows" @@ -8,7 +8,7 @@ class PROC(str, Enum): -@@ -21,12 +22,14 @@ DEFAULT_COMFY_WORKSPACE = { +@@ -22,12 +23,14 @@ DEFAULT_COMFY_WORKSPACE = { OS.WINDOWS: os.path.join(os.path.expanduser("~"), "Documents", "comfy", "ComfyUI"), OS.MACOS: os.path.join(os.path.expanduser("~"), "Documents", "comfy", "ComfyUI"), OS.LINUX: os.path.join(os.path.expanduser("~"), "comfy", "ComfyUI"), diff --git a/misc/comfy-cli/files/patch-comfy__cli_standalone.py b/misc/comfy-cli/files/patch-comfy__cli_standalone.py index 4a8e8568972a..65c841c6b114 100644 --- a/misc/comfy-cli/files/patch-comfy__cli_standalone.py +++ b/misc/comfy-cli/files/patch-comfy__cli_standalone.py @@ -1,17 +1,14 @@ ---- comfy_cli/standalone.py.orig 2026-03-22 01:45:24 UTC +--- comfy_cli/standalone.py.orig 2026-04-12 14:28:25 UTC +++ comfy_cli/standalone.py -@@ -68,7 +68,12 @@ def download_standalone_python( - """grab a pre-built distro from the python-build-standalone project. See +@@ -69,6 +69,11 @@ def download_standalone_python( https://gregoryszorc.com/docs/python-build-standalone/main/""" platform = get_os() if platform is None else platform proc = get_proc() if proc is None else proc -- target = _platform_targets[(platform, proc)] + if (platform, proc) not in _platform_targets: + raise NotImplementedError( + f"Standalone Python download is not supported on {platform.value}/{proc.value}. " + "The python-build-standalone project does not provide builds for this platform." + ) -+ target = _platform_targets[(platform, proc)] + target = _platform_targets[(platform, proc)] if tag == "latest": - # try to fetch json with info about latest release diff --git a/misc/comfy-cli/files/patch-comfy__cli_utils.py b/misc/comfy-cli/files/patch-comfy__cli_utils.py index 087888127a8f..6a5a66769524 100644 --- a/misc/comfy-cli/files/patch-comfy__cli_utils.py +++ b/misc/comfy-cli/files/patch-comfy__cli_utils.py @@ -1,4 +1,4 @@ ---- comfy_cli/utils.py.orig 2026-03-22 01:45:24 UTC +--- comfy_cli/utils.py.orig 2026-04-12 14:28:25 UTC +++ comfy_cli/utils.py @@ -49,6 +49,8 @@ def get_os(): return OS.WINDOWS @@ -9,13 +9,12 @@ else: raise ValueError(f"Running on unsupported os {platform.system()}") -@@ -57,5 +59,7 @@ def get_proc(): +@@ -57,6 +59,8 @@ def get_proc(): + proc = platform.machine() if proc == "x86_64" or proc == "AMD64": - return PROC.X86_64 -+ elif proc == "amd64": + return PROC.X86_64 ++ elif proc == "amd64": + return PROC.X86_64 elif "arm" in proc: return PROC.ARM - else: - diff --git a/misc/comfy-cli/files/patch-comfy__cli_workspace_manager.py b/misc/comfy-cli/files/patch-comfy__cli_workspace_manager.py deleted file mode 100644 index 89a1f1e6aaab..000000000000 --- a/misc/comfy-cli/files/patch-comfy__cli_workspace_manager.py +++ /dev/null @@ -1,13 +0,0 @@ ---- comfy_cli/workspace_manager.py.orig 2026-03-22 01:45:24 UTC -+++ comfy_cli/workspace_manager.py -@@ -260,9 +260,9 @@ class WorkspaceManager: - if self.use_recent is None: - recent_workspace = self.config_manager.get(constants.CONFIG_KEY_RECENT_WORKSPACE) - if recent_workspace and check_comfy_repo(recent_workspace)[0]: - return recent_workspace, WorkspaceType.RECENT -- else: -+ elif recent_workspace: - print( - f"[bold red]warn: The recent workspace {recent_workspace} is not a valid ComfyUI path.[/bold red]" - ) -home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69dd4b68.43fa0.6cde0300>
