# -*- 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           github 1.0
PortGroup           python 1.0

github.setup        tomerfiliba plumbum 1.6.9 v
name                py-${name}

maintainers         {g5pw @g5pw} openmaintainer

categories-append   devel
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.
long_description    ${description} 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
platforms           darwin

homepage            https://plumbum.readthedocs.org

python.versions     27 35 36 37 38

if { ${subport} ne ${name} } {
    depends_lib         port:py${python.version}-six

    checksums           rmd160  0021b2544e15f9f50bd6899f014776313a1b3880 \
                        sha256  854fd30b0cac65e83727939cfc4f0199b36b218d1c6d59712953698a9cf615d7 \
                        size    311259

    livecheck.type      none
}
