# -*- 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-cookiecutter
version             2.7.0
revision            0

categories-append   devel
supported_archs     noarch
platforms           {darwin any}
license             BSD
maintainers         {reneeotten @reneeotten} openmaintainer

description         A command-line utility that creates projects from project templates.
long_description    {*}${description}, e.g. creating a Python package project from a \
                    Python package project template.

homepage            https://github.com/cookiecutter/cookiecutter

checksums           rmd160  12826adc76590430e9f3d91faab7dc3b3c59a2ed \
                    sha256  b0bf50141201ebf022c95e3fa02a760b64e600b3675d6dabf97563425a62a707 \
                    size    142869

python.versions     310 311 312 313 314

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-binaryornot \
                    port:py${python.version}-click \
                    port:py${python.version}-jinja2 \
                    port:py${python.version}-requests \
                    port:py${python.version}-yaml \
                    port:py${python.version}-slugify \
                    port:py${python.version}-arrow \
                    port:py${python.version}-rich
}
