source: trunk/dports/python/py-pip/Portfile @ 89398

Last change on this file since 89398 was 89398, checked in by jmr@…, 9 years ago

py-pip: add 31 and 32 subports (#31114)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 89398 2012-01-28 08:04:23Z jmr@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-pip
8version             1.0.2
9revision            1
10categories          python www
11platforms           darwin
12maintainers         nomaintainer
13homepage            http://pip.openplans.org/
14description         An easy_install replacement
15long_description    pip is a replacement for easy_install. It uses mostly the \
16                    same techniques for finding packages, so packages that \
17                    were made easy_installable should be pip-installable as \
18                    well.
19
20master_sites        http://pypi.python.org/packages/source/p/pip/
21distname            pip-${version}
22checksums           md5  47ec6ff3f6d962696fe08d4c8264ad49 \
23                    sha1  bb137ac723389651e6cf56c0c95af0a6547443b6 \
24                    rmd160  2a398d35c63f62194528aa16ce989ce532f6b895
25
26python.versions     24 25 26 27 31 32
27
28if {$subport != $name} {
29    depends_lib     port:py${python.version}-distribute
30
31    python.link_binaries_suffix
32    post-destroot {
33        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
34        xinstall -m 644 -W ${worksrcpath}/docs index.txt news.txt \
35            requirement-format.txt configuration.txt \
36            ${destroot}${prefix}/share/doc/${subport}
37        delete ${destroot}${prefix}/bin/pip
38    }
39    livecheck.type      none
40} else {
41    livecheck.type      regex
42    livecheck.url       http://pypi.python.org/pypi/pip
43    livecheck.regex     pip (\[0-9\]+\.\[0-9.\]+)
44}
Note: See TracBrowser for help on using the repository browser.