# -*- 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.1
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  b4a8c682045f0f18e04e7615c654666c136ca0bb \
                    sha256  ca7bb7bc8c6ff441fbf53921b5537668000e38d56e28d763a1b73975c66c6138 \
                    size    142854

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
}
