# $Id: Portfile 84432 2011-09-26 09:25:51Z jmr@macports.org $

PortSystem        1.0
PortGroup         python25 1.0

name              py25-py
version           1.1.0
categories        python
license           MIT
platforms         darwin
maintainers       akitada openmaintainer
description       py lib: agile development and test support library
long_description  the py lib is a development support library featuring \
                  py.test, ad-hoc distributed execution, micro-threads \
                  and svn abstractions.
homepage          http://codespeak.net/py/dist
master_sites      http://pypi.python.org/packages/source/p/py/
checksums           md5     fb5d1fcf3173d9c4dce70cfc8888e359 \
                    sha1    48eedbbc4794a0a54affaf028cc2750fdc205c60 \
                    rmd160  7c3ff177d32bb21898e0230ada0582bd2eabbc63

distname          py-${version}

depends_build       port:py25-distribute

post-destroot {
    foreach f [glob -directory ${destroot}${prefix}/bin *] {
        file rename $f [regsub {(.*?)(\.py)?$} $f {\12.5\2}]
    }
}

livecheck.url       ${master_sites}
livecheck.regex     py-(\\d+(\\.\\d+)+)
