# -*- 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-partd
version             1.1.0
revision            0
categories-append   devel
platforms           darwin
license             BSD
supported_archs     noarch

python.versions     27 35 36 37 38

maintainers         {stromnov @stromnov} openmaintainer

description         Appendable key-value storage.
long_description    ${description}

homepage            https://github.com/mrocklin/partd/

checksums           rmd160  0eb169f256202217e9c5bed33d5e285a3fc278e0 \
                    sha256  6e258bf0810701407ad1410d63d1a15cfd7b773fd9efe555dac6bb82cc8832b0 \
                    size    35497

if {${name} ne ${subport}} {
    depends_build-append \
                        port:py${python.version}-setuptools
    depends_lib-append  port:py${python.version}-locket \
                        port:py${python.version}-toolz

    if {${python.version} eq 27} {
        version             1.0.0
        revision            0
        distname            ${python.rootname}-${version}
        checksums           rmd160  a72b3166f4fc09ade82a1fd530ea8b8224dd307e \
                            sha256  54fd91bc3b9c38159c790cd16950dbca6b019a2ead4c51dee4f9efc884f8ce0e \
                            size    19185
    }

    livecheck.type      none
}