# $Id: Portfile 65908 2010-04-02 22:28:17Z jmr@macports.org $

PortSystem          1.0
PortGroup           python26 1.0

name                py26-pip
version             0.6.3
categories          python www
platforms           darwin
maintainers         arthurk openmaintainer
homepage            http://pip.openplans.org/
description         An easy_install replacement
long_description    pip is a replacement for easy_install. It uses mostly the \
                    same techniques for finding packages, so packages that \
                    were made easy_installable should be pip-installable as \
                    well.

master_sites        http://pypi.python.org/packages/source/p/pip/
distname            pip-${version}
checksums           md5 0602fa9179cfaa98e41565d4a581d98c \
                    sha1 2018efcd5c9a2f3d1b7126b372a2a65985767934 \
                    rmd160 0187f78070c5c3d3fceb90a703364eef75c0d668

depends_lib-append  port:py26-distribute

post-destroot {
    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
    xinstall -m 644 -W ${worksrcpath}/docs index.txt news.txt \
        requirement-format.txt license.txt configuration.txt \
        ${destroot}${prefix}/share/doc/${name}
}

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