Files
macports-ports/python/py-ptpython/Portfile
T
2025-01-01 21:39:36 -05:00

45 lines
1.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 select 1.0
name py-ptpython
version 3.0.29
revision 0
supported_archs noarch
platforms {darwin any}
license BSD
maintainers nomaintainer
description Python REPL build on top of prompt_toolkit
long_description {*}${description}
homepage https://github.com/prompt-toolkit/ptpython
checksums rmd160 2000308a2904de3d52420cb984825166f3757ff0 \
sha256 b9d625183aef93a673fc32cbe1c1fcaf51412e7a4f19590521cdaccadf25186e \
size 72622
python.versions 39 310 311 312 313
if {${name} ne ${subport}} {
depends_lib-append port:py${python.version}-appdirs \
port:py${python.version}-jedi \
port:py${python.version}-prompt_toolkit \
port:py${python.version}-pygments
depends_run-append port:ptpython_select
select.group ${python.rootname}
select.file ${filespath}/${subport}
notes "
To make the Python ${python.branch} version of ptpython the one that is run when\
you execute the commands without a version suffix, e.g. 'ptpython', run:
port select --set ${select.group} [file tail ${select.file}]
"
}