You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
47 lines
1.6 KiB
Tcl
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.25
|
|
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 66d6296142a63820cbe706bc5468827c956d519f \
|
|
sha256 887f0a91a576bc26585a0dcec41cd03f004ac7c46a2c88576c87fc51d6c06cd7 \
|
|
size 71126
|
|
|
|
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}]
|
|
"
|
|
}
|