diff mbox series

[1/2] python3-thrift: use PYPI_ARCHIVE_NAME_PREFIX

Message ID 20260903170754.352677-1-ross.burton@arm.com
State Under Review
Headers show
Series [1/2] python3-thrift: use PYPI_ARCHIVE_NAME_PREFIX | expand

Commit Message

Ross Burton Sept. 3, 2026, 5:07 p.m. UTC
There's a variable to handle tarball conflicts, so use it instead of
appending to the SRC_URI directly.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 .../recipes-connectivity/python-thrift/python3-thrift_0.24.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-python/recipes-connectivity/python-thrift/python3-thrift_0.24.0.bb b/meta-python/recipes-connectivity/python-thrift/python3-thrift_0.24.0.bb
index 911ab1ddc6..3d27b7e17d 100644
--- a/meta-python/recipes-connectivity/python-thrift/python3-thrift_0.24.0.bb
+++ b/meta-python/recipes-connectivity/python-thrift/python3-thrift_0.24.0.bb
@@ -9,7 +9,7 @@  inherit pypi python_setuptools_build_meta
 DEPENDS += "python3-wheel-native"
 
 # Use different filename to prevent conflicts with thrift itself
-PYPI_SRC_URI:append = ";downloadfilename=${BP}.${PYPI_PACKAGE_EXT}"
+PYPI_ARCHIVE_NAME_PREFIX = "python-"
 
 RDEPENDS:${PN} += "\
     python3-logging \