# -*- 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 65907 2010-04-02 22:08:22Z jmr@macports.org $

PortSystem          1.0
PortGroup           python25 1.0
                  
name                py25-fabric
version             0.1.1
categories          python
platforms           darwin
maintainers         arthurk openmaintainer
homepage            http://www.nongnu.org/fab/
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 want's to stay small, light, \
                    easy to change and not bound to any specific framework.

master_sites        http://download.savannah.gnu.org/releases/fab/
distname            fab-${version}
checksums           md5 63a5301c584825f0b7c5e7274e1c00df \
                    sha1 a8c691cd1d9dc0f0e671ac5938b59882fe22a937 \
                    rmd160 c879f2d45464063ed9a50f23307cce9372904bb9

depends_lib-append  port:py25-distribute \
                    port:py25-paramiko

post-destroot {
    move ${destroot}${prefix}/bin/fab \
        ${destroot}${prefix}/bin/fab-${python.branch}
}

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