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

Last change on this file was 148960, checked in by stromnov@…, 16 months ago

py-pip: update to version 8.1.2

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 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 148960 2016-05-23 20:29:02Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6PortGroup           select 1.0
7
8name                py-pip
9version             8.1.2
10revision            0
11categories-append   www
12platforms           darwin
13license             MIT
14supported_archs     noarch
15
16python.versions     26 27 33 34 35
17
18maintainers         stromnov openmaintainer
19
20description         A tool for installing and managing Python packages.
21
22long_description    pip is a replacement for easy_install. It uses mostly the \
23                    same techniques for finding packages, so packages that \
24                    were made easy_installable should be pip-installable as \
25                    well.
26
27homepage            http://www.pip-installer.org/
28master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}
29
30distname            ${python.rootname}-${version}
31
32checksums           rmd160  de676d8f554d96e7ecf03e919380e7a6fd968634 \
33                    sha256  4d24b03ffa67638a3fa931c09fd9e0273ffa904e95ebebe7d4b1a54c93d7b732
34
35if {${name} ne ${subport}} {
36    depends_lib-append  port:py${python.version}-setuptools
37    depends_run         port:pip_select
38
39    post-destroot {
40        eval xinstall -m 644 [glob -types f ${worksrcpath}/docs/*] ${destroot}${prefix}/share/doc/${subport}
41
42        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}/reference
43        eval xinstall -m 644 [glob -types f ${worksrcpath}/docs/reference/*] ${destroot}${prefix}/share/doc/${subport}/reference
44
45        delete ${destroot}${prefix}/bin/pip[string range ${python.version} 0 end-1]-${python.branch}
46        delete ${destroot}${prefix}/bin/pip${python.branch}-${python.branch}
47    }
48
49    select.group        ${python.rootname}
50    select.file         ${filespath}/${python.rootname}${python.version}
51
52    notes "
53    To make the Python ${python.branch} version of pip the one that is run\
54    when you execute the commands without a version suffix, e.g. 'pip', run:
55
56    port select --set ${select.group} [file tail ${select.file}]
57    "
58
59    livecheck.type      none
60} else {
61    livecheck.type      pypi
62}
Note: See TracBrowser for help on using the repository browser.