# -*- 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             2.10.6
revision            0
categories-append   devel
platforms           darwin
license             MIT
supported_archs     noarch

python.versions     26 27 33 34 35 36

maintainers         {stromnov @stromnov} openmaintainer

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

homepage            https://github.com/andymccurdy/redis-py
master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}

distname            ${python.rootname}-${version}

checksums           rmd160  83f8e43ad63dca7985591ba60527c24c72be999b \
                    sha256  a22ca993cea2962dbb588f9f30d0015ac4afcc45bee27d3978c0dbe9e97c6c0f

if {${name} ne ${subport}} {
    depends_build-append \
                        port:py${python.version}-setuptools
    livecheck.type      none
}