You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
72 lines
2.5 KiB
Tcl
72 lines
2.5 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 python 1.0
|
|
PortGroup github 1.0
|
|
|
|
github.setup pypa pipx 1.8.0
|
|
revision 0
|
|
checksums rmd160 19fea21e198cede0d5bd26501745d9d9a911c2a1 \
|
|
sha256 1e0f230ef3afd585db8a8b2c33f842670c82faa1bd0f3a6f543ecc8ede2235c7 \
|
|
size 446941
|
|
|
|
categories python sysutils
|
|
license MIT
|
|
maintainers {@mndavidoff alluvialsw.com:md14-macports} openmaintainer
|
|
supported_archs noarch
|
|
platforms {darwin any}
|
|
|
|
description Execute binaries from Python packages in isolated environments
|
|
long_description ${description}
|
|
|
|
github.tarball_from archive
|
|
github.livecheck.regex {([\d.]+)}
|
|
|
|
if {
|
|
![variant_isset python310] &&
|
|
![variant_isset python311] &&
|
|
![variant_isset python312] &&
|
|
![variant_isset python313] &&
|
|
![variant_isset python314]
|
|
} {
|
|
default_variants +python313
|
|
}
|
|
|
|
variant python310 conflicts python311 python312 python313 python314 description {Use Python 3.10} {}
|
|
variant python311 conflicts python310 python312 python313 python314 description {Use Python 3.11} {}
|
|
variant python312 conflicts python310 python311 python313 python314 description {Use Python 3.12} {}
|
|
variant python313 conflicts python310 python311 python312 python314 description {Use Python 3.13} {}
|
|
variant python314 conflicts python310 python311 python312 python313 description {Use Python 3.14} {}
|
|
|
|
if {[variant_isset python314]} {
|
|
python.default_version 314
|
|
} elseif {[variant_isset python313]} {
|
|
python.default_version 313
|
|
} elseif {[variant_isset python312]} {
|
|
python.default_version 312
|
|
} elseif {[variant_isset python311]} {
|
|
python.default_version 311
|
|
} elseif {[variant_isset python310]} {
|
|
python.default_version 310
|
|
}
|
|
|
|
python.pep517 yes
|
|
python.pep517_backend hatch
|
|
|
|
build.env-append SETUPTOOLS_SCM_PRETEND_VERSION=${version}
|
|
|
|
depends_build-append \
|
|
port:py${python.version}-hatch-vcs \
|
|
port:py${python.version}-wheel
|
|
|
|
depends_lib-append port:py${python.version}-argcomplete \
|
|
port:py${python.version}-packaging \
|
|
port:py${python.version}-pip \
|
|
port:py${python.version}-platformdirs \
|
|
port:py${python.version}-userpath
|
|
|
|
if {${python.version} < 311} {
|
|
depends_run-append \
|
|
port:py${python.version}-tomli
|
|
}
|