# -*- 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
# $Id: Portfile 92758 2012-05-05 22:47:41Z deric@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-fabric
version             1.4.1
platforms           darwin
maintainers         deric
homepage            http://fabfile.org
license             BSD
description         Fabric is a simple pythonic remote deployment tool.
long_description    It is designed to upload files to, and run shell commands \
                    on, a number of servers in parallel or serially. These \
                    commands are grouped in tasks (regular python functions) \
                    and specified in a 'fabfile'. \
                    \
                    It is a bit like a dumbed down Capistrano, except it's in \
                    Python, dosn't expect you to be deploying Rails \
                    applications, and the 'put' command works. \
                    \
                    Unlike Capistrano, Fabric wants to stay small, light, \
                    easy to change and not bound to any specific framework.

master_sites        http://pypi.python.org/packages/source/F/Fabric
distname            Fabric-${version}
checksums           md5     a5da3c552b06be22e22b9e9ef61f2b83 \
                    sha1    ae77c928e2d6f90808b7fb3129335e661e5581a7 \
                    rmd160  38e894d040646b5cbde69b5d0b45fcce97c6b0a4

python.versions 25 26 27
python.default_version 27

if {$subport != $name} {
    
    depends_lib-append  port:py${python.version}-distribute \
                        port:py${python.version}-ssh2
}

livecheck.url       http://pypi.python.org/pypi/Fabric
livecheck.regex     Fabric/(\[0-9\]+\.\[0-9\]+\.\[0-9\]+)
