diff mbox series

[meta-python] python3-redis: add an archive prefix to avoid clashing with redis

Message ID 20240708172930.525707-1-yoann.congal@smile.fr
State Accepted
Headers show
Series [meta-python] python3-redis: add an archive prefix to avoid clashing with redis | expand

Commit Message

Yoann Congal July 8, 2024, 5:29 p.m. UTC
From: Yoann Congal <yoann.congal@smile.fr>

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 <yoann.congal@smile.fr>
---
 meta-python/recipes-devtools/python/python3-redis_5.0.7.bb | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

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