# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=portfile:et:sw=4:ts=4:sts=4
# $Id: Portfile 120247 2014-05-20 11:21:17Z g5pw@macports.org $

PortSystem          1.0
PortGroup           github 1.0
PortGroup           python 1.0

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

maintainers         g5pw openmaintainer

categories          devel python
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             X11
platforms           darwin

homepage            http://plumbum.readthedocs.org

python.versions     27 33 34

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

    checksums           rmd160  fece672410d12b758b11ff50392ac48ae180cbc2 \
                        sha256  70a4246df8735d6e10aa7d46111f4939531d4b6af8a0efccce2514c25d04384c

    livecheck.type      none
}
