# -*- 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-findpython
version             0.7.0
revision            0

categories-append   devel
platforms           {darwin any}
supported_archs     noarch
license             MIT
maintainers         {gmail.com:davidgilman1 @dgilman} openmaintainer

description         A utility to find python versions on your system.
long_description    Also lets you filter for specific versions.

homepage            https://github.com/frostming/findpython

checksums           rmd160  0530d9bbca2022a27fd98fb441bb5dd9fcb09c5e \
                    sha256  8b31647c76352779a3c1a0806699b68e6a7bdc0b5c2ddd9af2a07a0d40c673dc \
                    size    18858

python.versions     39 310 311 312 313 314
python.pep517_backend pdm

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-packaging \
                    port:py${python.version}-platformdirs


    test.run        yes
}
