# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           python24 1.0

name                py-paver
version             1.0.1
platforms           darwin
categories-append   devel
maintainers         arthurk openmaintainer

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           md5 f53d1d5ed6517e6def1926f7918a02ec \
                    sha1 658977a05377e0b89d1dea7529fe482a01e02342 \
                    rmd160 a10cdac09c73702773389b06dd9c1fc26a76de9d

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.\]+)
