# -*- 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-pathspec
version             0.12.1

supported_archs     noarch
platforms           {darwin any}
license             MPL-2
maintainers         {danchr @danchr} openmaintainer

description         Utility library for gitignore style pattern matching of file paths.
long_description \
    pathspec is a utility library for pattern matching of file paths. \
    So far this only includes Git’s wildmatch pattern matching which \
    itself is derived from Rsync’s wildmatch. Git uses wildmatch for \
    its gitignore files.

homepage            https://github.com/cpburnz/python-pathspec

checksums           rmd160  124c388a5d750f5706c3decde5447fecdfdae40a \
                    sha256  a482d51503a1ab33b1c67a6c3813a26953dbdc71c31dacaef9a838c4e29f5712 \
                    size    51043

python.versions     37 38 39 310 311 312

python.pep517           yes
python.pep517_backend   flit

if {${name} ne ${subport}} {
    if {${python.version} < 38} {
        version     0.11.2
        revision    0
        checksums   rmd160  07337b30e8d9c5bfa11e25aaa9301ce679368fae \
                    sha256  e0d8d0ac2f12da61956eb2306b69f9469b42f4deb0f3cb6ed47b9cce9996ced3 \
                    size    47032
    }
}
