# -*- 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

set real_name       zope.deferredimport
name                py-zope-deferredimport
version             4.3.1
revision            0
worksrcdir          ${real_name}-${version}
distfiles           ${real_name}-${version}${extract.suffix}
categories-append   zope
license             ZPL-2.1
maintainers         {mps @Schamschula} openmaintainer
description         The zope.deferredimport package provided facilities for defining \
                    names in modules that will be imported from somewhere else when used.
long_description    ${description} You can also cause deprecation warnings to be issued \
                    when a variable is used.
platforms           darwin
homepage            https://pypi.python.org/pypi/${real_name}
master_sites        pypi:z/${real_name}

python.versions     27 36 37 38 39

checksums           rmd160  398312ffdb8421a3efd5c6145132deda552d54ad \
                    sha256  57b2345e7b5eef47efcd4f634ff16c93e4265de3dcf325afc7315ade48d909e1 \
                    size    20244

if {${name} ne ${subport}} {
     depends_lib-append  \
                     port:py${python.version}-setuptools \
                     port:py${python.version}-zope-proxy
} else {
    livecheck.type  regex
    livecheck.regex ${real_name}-(\[0-9.\]+)${extract.suffix}
}
