From fb06337f3490f74a31ffab95d29febef9a0d4941 Mon Sep 17 00:00:00 2001 From: Yoann Congal Date: Mon, 8 Jul 2024 19:29:30 +0200 Subject: [PATCH] python3-redis: add an archive prefix to avoid clashing with redis The new python3-redis_5.0.7 archive "redis-5.0.7.tar.gz" may clash with a very old redis-5.0.7 archive. It does on the autobuilder which kept its DL_DIR from this era and triggers a mirroring error[0]. To fix this, add a "pypi-" prefix to the archive name of python3-redis. [0]:https://autobuilder.yoctoproject.org/typhoon/#/builders/156/builds/420/steps/17/logs/errors Signed-off-by: Yoann Congal Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-redis_5.0.7.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-python/recipes-devtools/python/python3-redis_5.0.7.bb b/meta-python/recipes-devtools/python/python3-redis_5.0.7.bb index 8eb176c09e..950200ec5e 100644 --- a/meta-python/recipes-devtools/python/python3-redis_5.0.7.bb +++ b/meta-python/recipes-devtools/python/python3-redis_5.0.7.bb @@ -4,6 +4,9 @@ HOMEPAGE = "http://github.com/andymccurdy/redis-py" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=609ded3add9111c4c6e102f1d421d3f8" +# Prefix archive to avoid clashing with the main redis archives +PYPI_ARCHIVE_NAME_PREFIX="pypi-" + SRC_URI[sha256sum] = "8f611490b93c8109b50adc317b31bfd84fff31def3475b92e7e80bf39f48175b" inherit pypi setuptools3