Skip to content
Permalink
Browse files

unify py*-pip

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@89397 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
jmroot committed Jan 28, 2012
1 parent b652ed4 commit 618b780f714f5461e42462da295a143309830af1
Showing with 18 additions and 125 deletions.
  1. +18 −12 python/py-pip/Portfile
  2. +0 −39 python/py25-pip/Portfile
  3. +0 −37 python/py26-pip/Portfile
  4. +0 −37 python/py27-pip/Portfile
@@ -2,7 +2,7 @@
# $Id$

PortSystem 1.0
PortGroup python24 1.0
PortGroup python 1.0

name py-pip
version 1.0.2
@@ -23,16 +23,22 @@ checksums md5 47ec6ff3f6d962696fe08d4c8264ad49 \
sha1 bb137ac723389651e6cf56c0c95af0a6547443b6 \
rmd160 2a398d35c63f62194528aa16ce989ce532f6b895

depends_lib-append port:py24-distribute
python.versions 24 25 26 27

post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath}/docs index.txt news.txt \
requirement-format.txt configuration.txt \
${destroot}${prefix}/share/doc/${name}
delete ${destroot}${prefix}/bin/pip
}
if {$subport != $name} {
depends_lib port:py${python.version}-distribute

livecheck.type regex
livecheck.url http://pypi.python.org/pypi/pip
livecheck.regex pip (0\.\[0-9\]+\.\[0-9\]+)
python.link_binaries_suffix
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
xinstall -m 644 -W ${worksrcpath}/docs index.txt news.txt \
requirement-format.txt configuration.txt \
${destroot}${prefix}/share/doc/${subport}
delete ${destroot}${prefix}/bin/pip
}
livecheck.type none
} else {
livecheck.type regex
livecheck.url http://pypi.python.org/pypi/pip
livecheck.regex pip (\[0-9\]+\.\[0-9.\]+)
}

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 618b780

Please sign in to comment.
You can’t perform that action at this time.