diff mbox series

[meta-python,30/32] python3-filelock: Build with the python-sbom hatch hook

Message ID 20261127041614.1775064-31-khem.raj@oss.qualcomm.com
State New
Headers show
Series Upstream checks, upgrades and ptest fixes | expand

Commit Message

Khem Raj Nov. 27, 2026, 4:16 a.m. UTC
python-sbom is packaged now, so stop stripping its hatch hook from
pyproject.toml and depend on python3-python-sbom-native like the other
tox-dev recipes.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 .../recipes-devtools/python/python3-filelock_4.3.1.bb       | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-filelock_4.3.1.bb b/meta-python/recipes-devtools/python/python3-filelock_4.3.1.bb
index f0ee1943d2..5e1759599e 100644
--- a/meta-python/recipes-devtools/python/python3-filelock_4.3.1.bb
+++ b/meta-python/recipes-devtools/python/python3-filelock_4.3.1.bb
@@ -18,13 +18,9 @@  inherit pypi python_hatchling ptest-python-pytest
 DEPENDS += "\
     python3-hatch-fancy-pypi-readme-native \
     python3-hatch-vcs-native \
+    python3-python-sbom-native \
 "
 
-# python-sbom (an SBOM metadata hatch hook) isn't packaged in OE
-do_configure:prepend() {
-    sed -i -e '/python-sbom\[hatch\]/d' -e '/build.hooks.python-sbom/d' ${S}/pyproject.toml
-}
-
 RDEPENDS:${PN} += " \
     python3-core \
     python3-crypt \