# $Id: Portfile 79321 2011-06-09 16:48:15Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           python24 1.0

name                py-paver
version             1.0.4
platforms           darwin
categories-append   devel
maintainers         nomaintainer
supported_archs     noarch

description         Easy build, distribution and deployment scripting
long_description    Paver is a Python-based build/distribution/deployment \
    scripting tool along the lines of Make or Rake. What makes Paver unique \
    is its integration with commonly used Python libraries. Common tasks that \
    were easy before remain easy. More importantly, dealing with your \
    applications specific needs and requirements is also easy.

homepage            http://www.blueskyonmars.com/projects/paver/
master_sites        http://pypi.python.org/packages/source/P/Paver/
distname            Paver-${version}

checksums           sha1    b1d9f5fa7d8bdd2955abd255bd246bc1299a50b3 \
                    rmd160  2de00b419a44e775b686f221255754130ce96521

depends_lib-append  port:py-setuptools

post-destroot {
    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
    xinstall -m 644 -W ${worksrcpath} LICENSE.txt README.txt \
        ${destroot}${prefix}/share/doc/${name}
    
    # To avoid conflict between py/py25/py26-paver
    move ${destroot}${prefix}/bin/paver \
        ${destroot}${prefix}/bin/paver-${python.branch}
}


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