You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
c245213d2e
Apple added Python 3.7 in Xcode 11, and Xcode 12 contains 3.8. As far as I can tell, once Apple adds a Python 3 to an OS, it stays there.
43 lines
1.1 KiB
Tcl
43 lines
1.1 KiB
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 select 1.0
|
|
|
|
name pip_select
|
|
version 0.1
|
|
revision 2
|
|
categories python
|
|
license BSD
|
|
|
|
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.
|
|
|
|
platforms darwin
|
|
supported_archs noarch
|
|
|
|
homepage https://www.macports.org/
|
|
|
|
distfiles
|
|
|
|
use_configure no
|
|
build {}
|
|
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
|