You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-03-31 14:42:53 -07:00
45 lines
1.5 KiB
Tcl
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.32
|
|
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 72d088120705206531c057ac759155d826b77618 \
|
|
sha256 11651778236de95c582b42737294e50a66ba4a21fa01c0090ea70815af478fe0 \
|
|
size 74080
|
|
|
|
python.versions 310 311 312 313 314
|
|
|
|
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}]
|
|
"
|
|
}
|