<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/322cbca84d853b8d19bb921f25d46b062328bf8a">https://github.com/macports/macports-ports/commit/322cbca84d853b8d19bb921f25d46b062328bf8a</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 322cbca84d853b8d19bb921f25d46b062328bf8a
</span>Author: Kirill A. Korinsky <kirill@korins.ky>
AuthorDate: Sun Sep 10 11:24:54 2023 +0200
<span style='display:block; white-space:pre;color:#404040;'> py-ptpython: new port (version 3.0.23)
</span>---
python/py-ptpython/Portfile | 46 +++++++++++++++++++++++++++++++++
python/py-ptpython/files/py310-ptpython | 4 +++
python/py-ptpython/files/py311-ptpython | 4 +++
python/py-ptpython/files/py38-ptpython | 4 +++
python/py-ptpython/files/py39-ptpython | 4 +++
5 files changed, 62 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-ptpython/Portfile b/python/py-ptpython/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..31c9f117f11
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-ptpython/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,46 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- 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
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup python 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup select 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name py-ptpython
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 3.0.23
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+supported_archs noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms {darwin any}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license BSD
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {@catap korins.ky:kirill} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Python REPL build on top of prompt_toolkit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description {*}${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://github.com/prompt-toolkit/ptpython
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 88d712e3864658351a0d89b559d8de6aa1681908 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 9fc9bec2cc51bc4000c1224d8c56241ce8a406b3d49ec8dc266f78cd3cd04ba4 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 68146
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 38 39 310 311
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.pep517 yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${name} ne ${subport}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:py${python.version}-appdirs \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-jedi \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-prompt_toolkit \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-pygments
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_run-append port:ptpython_select
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ select.group ${python.rootname}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ select.file ${filespath}/${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ notes "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+To make the Python ${python.branch} version of ptpython the one that is run when\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+you execute the commands without a version suffix, e.g. 'ptpython', run:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+port select --set ${select.group} [file tail ${select.file}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-ptpython/files/py310-ptpython b/python/py-ptpython/files/py310-ptpython
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..7617167b763
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-ptpython/files/py310-ptpython
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,4 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.10/bin/ptipython
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.10/bin/ptipython3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.10/bin/ptpython
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.10/bin/ptpython3
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-ptpython/files/py311-ptpython b/python/py-ptpython/files/py311-ptpython
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..3be3a18d7e1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-ptpython/files/py311-ptpython
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,4 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.11/bin/ptipython
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.11/bin/ptipython3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.11/bin/ptpython
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.11/bin/ptpython3
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-ptpython/files/py38-ptpython b/python/py-ptpython/files/py38-ptpython
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..02d0efbcd7d
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-ptpython/files/py38-ptpython
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,4 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.8/bin/ptipython
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.8/bin/ptipython3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.8/bin/ptpython
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.8/bin/ptpython3
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-ptpython/files/py39-ptpython b/python/py-ptpython/files/py39-ptpython
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..2af153cbf92
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-ptpython/files/py39-ptpython
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,4 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.9/bin/ptipython
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.9/bin/ptipython3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.9/bin/ptpython
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.9/bin/ptpython3
</span></pre><pre style='margin:0'>
</pre>