# -*- 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-path
version             17.1.1
revision            0
categories-append   devel
license             MIT
supported_archs     noarch
platforms           {darwin any}

python.versions     39 310 311 312 313

maintainers         {stromnov @stromnov} openmaintainer

description         Object-oriented file system path manipulation

long_description    path (aka path pie, formerly path.py) implements\
                    path objects as first-class entities, allowing\
                    common operations on files to be invoked on those\
                    path objects directly.

homepage            https://github.com/jaraco/path

checksums           rmd160  9715bc6a5fac6d542671e11332cdacc1a82e968d \
                    sha256  2dfcbfec8b4d960f3469c52acf133113c2a8bf12ac7b98d629fa91af87248d42 \
                    size    50528

if {${name} ne ${subport}} {
    depends_build-append \
                        port:py${python.version}-setuptools_scm \
                        port:py${python.version}-coherent.licensed
    depends_test-append port:py${python.version}-more-itertools
    test.run            yes
    test.target         test_path.py
}
