# -*- 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-atpublic
version             1.0
categories-append   devel
platforms           darwin
license             Apache-2

python.versions     38

maintainers         {danchr @danchr} openmaintainer

description         @public decorator for Python
long_description    A very simple decorator and function which \
                    populates a module's __all__ and optionally the \
                    module globals.

homepage            https://public.readthedocs.io
master_sites        pypi:a/atpublic

distname            atpublic-${version}

checksums           rmd160  2001adf1c5278d9ecd9f115bc7da8e777d0370c7 \
                    sha256  7dca670499e9a9d3aae5a8914bc799475fe24be3bcd29c8129642dda665f7a44 \
                    size    13611

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

    livecheck.type          none
} else {
    livecheck.type          pypi
}
