# -*- 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-plumbum
version             1.8.2

maintainers         nomaintainer

categories-append   devel
description         Plumbum: Shell Combinators for Python
long_description    Plumbum (Latin for lead, which was used to create pipes \
                    back in the day) is a small yet feature-rich library for \
                    shell script-like programs in Python. \
                    The motto of the library is \"Never write \
                    shell scripts again\", and thus it attempts to mimic the \
                    shell syntax (\"shell combinators\") where it makes sense, \
                    while keeping it all pythonic and cross-platform.

license             MIT
supported_archs     noarch
platforms           {darwin any}

homepage            https://plumbum.readthedocs.org

checksums           md5 9484ac142c2a637e5d397040a22a6907 \
                    rmd160 28fa1989537a7ec33295d6b7438dbe5c5ca07660 \
                    sha256 9e6dc032f4af952665f32f3206567bc23b7858b1413611afe603a3f8ad9bfd75

python.versions     311 312
python.pep517_backend   hatch

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