python3-thrift: use PYPI_ARCHIVE_NAME_PREFIX

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>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Ross Burton
2026-09-04 17:10:37 -07:00
committed by Khem Raj
parent ee7d636c5d
commit ba1725f20c
@@ -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 \