# -*- 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-pathvalidate
version             3.3.1
revision            0

categories-append   devel
platforms           {darwin any}
supported_archs     noarch
license             MIT
maintainers         nomaintainer

description         pathvalidate is a Python library to sanitize/validate a string such as filenames/file-paths/etc.
long_description    {*}${description}

homepage            https://github.com/thombashi/pathvalidate

checksums           rmd160  866f45ae5a8d28eb168fdbd6f820f14d4f40e175 \
                    sha256  b18c07212bfead624345bb8e1d6141cdcf15a39736994ea0b94035ad2b1ba177 \
                    size    63262

python.versions     310 311 312 313 314

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

    test.run yes
    depends_test-append \
                    port:py${python.version}-allpairspy \
                    port:py${python.version}-tcolorpy
}
