# -*- 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 # $Id$ PortSystem 1.0 PortGroup python 1.0 PortGroup select 1.0 name py-pip version 8.1.2 revision 0 categories-append www platforms darwin license MIT supported_archs noarch python.versions 26 27 33 34 35 maintainers stromnov openmaintainer description A tool for installing and managing Python packages. 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. homepage http://www.pip-installer.org/ master_sites pypi:[string index ${python.rootname} 0]/${python.rootname} distname ${python.rootname}-${version} checksums rmd160 de676d8f554d96e7ecf03e919380e7a6fd968634 \ sha256 4d24b03ffa67638a3fa931c09fd9e0273ffa904e95ebebe7d4b1a54c93d7b732 if {${name} ne ${subport}} { depends_lib-append port:py${python.version}-setuptools depends_run port:pip_select post-destroot { eval xinstall -m 644 [glob -types f ${worksrcpath}/docs/*] ${destroot}${prefix}/share/doc/${subport} xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}/reference eval xinstall -m 644 [glob -types f ${worksrcpath}/docs/reference/*] ${destroot}${prefix}/share/doc/${subport}/reference delete ${destroot}${prefix}/bin/pip[string range ${python.version} 0 end-1]-${python.branch} delete ${destroot}${prefix}/bin/pip${python.branch}-${python.branch} } select.group ${python.rootname} select.file ${filespath}/${python.rootname}${python.version} notes " To make the Python ${python.branch} version of pip the one that is run\ when you execute the commands without a version suffix, e.g. 'pip', run: port select --set ${select.group} [file tail ${select.file}] " livecheck.type none } else { livecheck.type pypi }