# $Id: Portfile 50167 2009-04-27 06:47:14Z blb@macports.org $

PortSystem        1.0
PortGroup         python26 1.0

name              py26-py
version           0.9.2
categories        python
platforms         darwin
maintainers       nomaintainer
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}

set python.prefix ${frameworks_dir}/Python.framework/Versions/2.6
post-destroot {
    foreach f [glob -directory ${destroot}${python.prefix}/bin -tails *] {
        ln -s ${python.prefix}/bin/${f} ${destroot}${prefix}/bin/${f}2.6
    }
}
