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 <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Yoann Congal 2024-07-08 19:29:30 +02:00 committed by Khem Raj
parent f0c767407d
commit fb06337f34
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -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