# -*- 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
PortGroup           github 1.0

github.setup        theskumar python-dotenv 0.13.0 v
revision            0

name                py-python-dotenv
categories-append   devel
platforms           darwin
supported_archs     noarch
license             BSD
maintainers         {emcrisostomo @emcrisostomo} \
                    openmaintainer

description         Add .env support to your django/flask apps in development and deployments
long_description    $description \
                    Reads the key-value pair from .env file and adds them to \
                    environment variable. It is great for managing app settings \
                    during development and in production using 12-factor principles.

checksums           rmd160  3a8e233b56505f2082e8824891792491c446aeb2 \
                    sha256  ec60416200b606f91e1f953785f89f3cc5a342eff04132ed453fcf7476a4ea31 \
                    size    21006

python.versions     27 35 36 37 38

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

    depends_lib-append  \
                    port:py${python.version}-click

    post-destroot {
        xinstall -d ${destroot}${prefix}/share/doc/${subport}
        xinstall -m 0644 -W ${worksrcpath} CONTRIBUTING.md LICENSE \
            README.md ${destroot}${prefix}/share/doc/${subport}
    }

    livecheck.type  none
}
