# $Id: Portfile 65907 2010-04-02 22:08:22Z jmr@macports.org $

PortSystem          1.0
PortGroup           python25 1.0

# Paver's setup.py isn't a distutils-based one and doesn't \
# support --no-user-cfg
build.cmd           ${python.bin} setup.py
destroot.cmd        ${python.bin} setup.py

name                py25-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:py25-distribute

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