Files
Marius Schamschula 4b2e661d51 xonsh: update to 0.24.0
2026-07-03 08:06:31 -05:00

51 lines
2.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 github 1.0
PortGroup python 1.0
github.setup xonsh xonsh 0.24.0
github.tarball_from archive
revision 0
categories shells
maintainers {mps @Schamschula} openmaintainer
license Permissive
description Xonsh is a Python-ish, BASHwards-looking shell language \
and command prompt.
long_description {*}${description} \
The language is a superset of Python 3.4+ with additional \
shell primitives that you are used to from Bash and \
IPython. It works on all major systems including Linux, \
macOS, and Windows. Xonsh is meant for the daily use of \
experts and novices alike.
supported_archs noarch
platforms {darwin any}
checksums rmd160 ca4e3deaaa475c00efc56302186f214669101827 \
sha256 6da89369188f3ab43628ff2dd4f378bf335fc563d84e5978c63e4f64eda68eb9 \
size 6336902
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 python310] && ![variant_isset python311] \
&& ![variant_isset python312] && ![variant_isset python313]} {
default_variants +python314
}
foreach pv {314 313 312 311 310} {
if {[variant_isset python${pv}]} {
python.default_version ${pv}
break
}
}
depends_lib-append port:py${python.version}-prompt_toolkit \
port:py${python.version}-pygments \
port:py${python.version}-gnureadline