Skip to content

Commit

Permalink
unify py*-pip
Browse files Browse the repository at this point in the history
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 618b780
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 125 deletions.
30 changes: 18 additions & 12 deletions python/py-pip/Portfile
Expand Up @@ -2,7 +2,7 @@
# $Id$

PortSystem 1.0
PortGroup python24 1.0
PortGroup python 1.0

name py-pip
version 1.0.2
Expand All @@ -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.\]+)
}
39 changes: 0 additions & 39 deletions python/py25-pip/Portfile

This file was deleted.

37 changes: 0 additions & 37 deletions python/py26-pip/Portfile

This file was deleted.

37 changes: 0 additions & 37 deletions python/py27-pip/Portfile

This file was deleted.

0 comments on commit 618b780

Please sign in to comment.