Files
macports-ports/python/py-ptpython/Portfile
T
2024-06-22 18:36:23 -04:00

47 lines
1.6 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.27
revision 0
supported_archs noarch
platforms {darwin any}
license BSD
maintainers {@catap korins.ky:kirill} openmaintainer
description Python REPL build on top of prompt_toolkit
long_description {*}${description}
homepage https://github.com/prompt-toolkit/ptpython
checksums rmd160 547159b244219870e31905d68e22199bed1ec67a \
sha256 24b0fda94b73d1c99a27e6fd0d08be6f2e7cda79a2db995c7e3c7b8b1254bad9 \
size 72022
python.versions 38 39 310 311 312
python.pep517 yes
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}]
"
}