diff mbox series

[32/37] python3-spdx-tools: use python_setuptools_build_meta build class

Message ID 20240723145137.74198-32-ross.burton@arm.com
State Accepted, archived
Commit 1deca862432ddca0d10a712f7bf159816d0ae130
Headers show
Series [01/37] python3: add dependency on -compression to -core | expand

Commit Message

Ross Burton July 23, 2024, 2:51 p.m. UTC
This package can be built using pep517 classes now.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-devtools/python/python3-spdx-tools_0.8.2.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/python/python3-spdx-tools_0.8.2.bb b/meta/recipes-devtools/python/python3-spdx-tools_0.8.2.bb
index 53263ca032c..6573ae9eee4 100644
--- a/meta/recipes-devtools/python/python3-spdx-tools_0.8.2.bb
+++ b/meta/recipes-devtools/python/python3-spdx-tools_0.8.2.bb
@@ -8,7 +8,9 @@  SRC_URI[sha256sum] = "aea4ac9c2c375e7f439b1cef5ff32ef34914c083de0f61e08ed67cd3d9
 
 BBCLASSEXTEND = "native nativesdk"
 
-inherit setuptools3 pypi
+inherit pypi python_setuptools_build_meta
+
+DEPENDS += "python3-setuptools-scm-native"
 
 # Dependency required for pyspdxtools : python3-click
 # Dependencies required for conversion to spdx3 : python3-semantic-version, python3-ply