You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
33 lines
970 B
Tcl
33 lines
970 B
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
PortGroup stub 1.0
|
|
PortGroup select 1.0
|
|
|
|
name pip_select
|
|
version 0.1
|
|
revision 3
|
|
categories python
|
|
supported_archs noarch
|
|
maintainers {stromnov @stromnov} openmaintainer
|
|
description common files for selecting default pip version
|
|
long_description \
|
|
This port installs files that allow 'port select' to be used to \
|
|
create links to the preferred default version of the pip, pip2 \
|
|
and pip3 commands.
|
|
|
|
post-destroot {
|
|
foreach bin {pip pip2 pip3} {
|
|
select::install $bin ${filespath}/$bin base
|
|
select::install $bin ${filespath}/none
|
|
}
|
|
|
|
foreach bin {pip pip3} {
|
|
if {${os.major} >= 19} {
|
|
select::install $bin ${filespath}/pip3-apple
|
|
}
|
|
}
|
|
}
|
|
|
|
livecheck.type none
|