Ticket #17649: Portfile.2

File Portfile.2, 1.3 KB (added by arthur@…, 16 years ago)
Line 
1# $Id$
2
3PortSystem          1.0
4PortGroup           python25 1.0
5
6name                py25-pip
7version             0.2.1
8categories          python www
9platforms           darwin
10maintainers         arthurkoziel.com:arthur
11homepage            http://pip.openplans.org/
12description         An easy_install replacement
13long_description    pip is a replacement for easy_install. It uses mostly the \
14                    same techniques for finding packages, so packages that \
15                    were made easy_installable should be pip-installable as \
16                    well.
17
18master_sites        http://pypi.python.org/packages/source/p/pip/
19distname            pip-${version}
20checksums           md5     d2af655c1a87e03799442d045c1d6743 \
21                    sha1    57cb522ce77ef9931dc6612f7be7920b52d146f6 \
22                    rmd160  27fab3ead58452594a2d5930a9b4bb0a4c5b63fa
23
24depends_lib-append  port:py25-setuptools
25
26post-destroot {
27    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
28    xinstall -m 644 -W ${worksrcpath}/docs index.txt news.txt \
29        requirement-format.txt \
30        ${destroot}${prefix}/share/doc/${name}
31    move ${destroot}${prefix}/bin/pip ${destroot}${prefix}/bin/pip-2.5
32}
33
34livecheck.check     regex
35livecheck.url       http://pypi.python.org/pypi/pip
36livecheck.regex     pip (0\.\[0-9\]+\.\[0-9\]+)