# $Id: Portfile 77925 2011-04-17 17:15:07Z phw@macports.org $

PortSystem          1.0
PortGroup           python31 1.0

name                py31-blist
version             1.3.4
categories          python 
platforms           darwin

maintainers         phw openmaintainer
description         a list-like type with better asymptotic performance and similar performance on small lists
long_description    ${description}
homepage            http://stutzbachenterprises.com/
master_sites        http://pypi.python.org/packages/source/b/blist/
distname            blist-${version}

checksums           md5     02e8bf33cffec9cc802f4567f39ffa6f \
                    sha1    a8a7401c6c3f12f27a79757b4d5f7ebc996aeb76 \
                    rmd160  1409f817660b9c9b9bf814c8b629118b47542b0d


build.args-append -f

post-destroot {
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath} LICENSE ${destroot}${prefix}/share/doc/${name}
}

livecheck.url		${master_sites}
livecheck.regex		"blist-((\\d+(\\.)*)+)\\.tar\\.gz"

