# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           python 1.0

name                py-redis
version             7.1.0
revision            0
categories-append   devel
license             MIT
supported_archs     noarch
platforms           {darwin any}

python.versions     310 311 312 313 314
python.pep517_backend   hatch

maintainers         {stromnov @stromnov} openmaintainer

description         Python client for Redis key-value store
long_description    {*}${description}

homepage            https://github.com/redis/redis-py

checksums           rmd160  3d025485d0197b41a1587cc66a697c14d561d65a \
                    sha256  b1cc3cfa5a2cb9c2ab3ba700864fb0ad75617b41f01352ce5779dabf6d5f9c3c \
                    size    4796669

if {${name} ne ${subport}} {
    if {${python.version} < 311} {
        depends_lib-append  port:py${python.version}-async-timeout
    }
}
