fix (depthcharge-tools): patch __init__.py (#10344) (#10346)

* fix (depthcharge-tools): patch __init__.py



* rel bump



* silly



---------



(cherry picked from commit 87568a03ce)

Signed-off-by: Owen-sz <owen@fyralabs.com>
Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
This commit is contained in:
Raboneko
2026-03-06 13:34:59 -08:00
committed by GitHub
parent ddbb6e9917
commit 3972aec3d4
2 changed files with 15 additions and 2 deletions
@@ -1,12 +1,13 @@
Name: depthcharge-tools
Version: 0.6.3
Release: 3%?dist
Release: 4%?dist
Summary: Tools to manage the Chrome OS bootloader
License: GPL-2.0-or-later
URL: https://gitlab.postmarketos.org/postmarketOS/depthcharge-tools
Source0: %url/-/archive/v%version/%name-v%version.tar.gz
Requires: vboot-utils dtc gzip lz4 python3-setuptools uboot-tools vboot-utils xz python3-importlib-resources
BuildRequires: python3-setuptools python3-rpm-macros pyproject-rpm-macros python3dist(pip) systemd-rpm-macros redhat-rpm-config python3-docutils python3-importlib-resources
Patch0: fix-importlib.patch
BuildArch: noarch
%description
@@ -16,7 +17,7 @@ with depthcharge, the Chrome OS bootloader.
%pkg_completion -Bz mkdepthcharge depthchargectl
%prep
%autosetup -n %name-v%version
%autosetup -n %name-v%version -p1
%build
%pyproject_wheel
@@ -0,0 +1,12 @@
diff --git a/depthcharge_tools/__init__.py b/depthcharge_tools/__init__.py
index fabb79d..2b7d7d5 100644
--- a/depthcharge_tools/__init__.py
+++ b/depthcharge_tools/__init__.py
@@ -9,6 +9,7 @@ import glob
import logging
import pathlib
import importlib
+import importlib.resources
import importlib_metadata
from packaging.version import parse as parse_version
import re