# $Id: Portfile 50166 2009-04-27 06:40:05Z blb@macports.org $

PortSystem        1.0
PortGroup         python24 1.0

name              py-py
version           0.9.2
categories        python
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
master_sites      http://pypi.python.org/packages/source/p/py/
checksums         md5     2c996d78867f6ad64dc5aabf1185aaf7 \
                  sha1    5aac263571711b8d90e854fd62533e18ff8c8a21 \
                  rmd160  09da693d07726b28c499d3b44c9b4b411e413842
distname          py-${version}

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