# -*- 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 89043 2012-01-18 16:26:08Z jwa@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-paver
version             1.0.5
platforms           darwin
categories-append   devel
maintainers         jwa openmaintainer
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    f35f33baef532ffc9c94c92ff65664ab55793afb \
                    rmd160  7d5874c073efdb6d1ee832c3b23c033caf0dd271 \
                    sha256  43ba0644a1412629cdc54b6b177f2b6f4337031b8556ab27a73f0f48ebb1496e

python.versions		24 25 26 27
python.default_version	27
#python.link_binaries	no

if {$subport != $name} {

# 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

    depends_lib-append  port:py${python.version}-distribute
    post-destroot {
        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
        xinstall -m 644 -W ${worksrcpath} LICENSE.txt README.txt \
            ${destroot}${prefix}/share/doc/${subport}
    }
    livecheck.type	none
}

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

