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

python.versions     27 34 35 36 37

maintainers         {stromnov @stromnov} openmaintainer

description         Tiny 'shelve'-like database with concurrency support.
long_description    ${description}

homepage            https://github.com/vivainio/pickleshare
master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}

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

checksums           rmd160  f60cc2fb1dfdcf43ca3c8f0be923323026a99c1a \
                    sha256  87683d47965c1da65cdacaf31c8441d12b8044cdec9aca500cd78fc2c683afca \
                    size    6161

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

    if {${python.version} < 34} {
        depends_lib-append  port:py${python.version}-pathlib2
    }

    livecheck.type      none
}