# -*- 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-atomicwrites
version             1.4.1
revision            0

platforms           {darwin any}
supported_archs     noarch
license             MIT
maintainers         {reneeotten @reneeotten} openmaintainer

description         Powerful Python library for atomic file writes
long_description    {*}${description}

homepage            https://github.com/untitaker/python-atomicwrites

checksums           rmd160  3e5b123eea6caa43cec69097bf7cec347c783f74 \
                    sha256  81b2c9071a49367a7f770170e5eec8cb66567cfbbc8c73d20ce5ca4a8d71cf11 \
                    size    14227

python.versions     27 310 311 312 313 314

if {${name} ne ${subport}} {
    test.run        yes

    if {${python.version} == 27} {
        depends_build-append \
                    port:py${python.version}-setuptools
        }
}
