<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/99852af58db1339144cf8b464af1b6740c6f428a">https://github.com/macports/macports-ports/commit/99852af58db1339144cf8b464af1b6740c6f428a</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 99852af58db1339144cf8b464af1b6740c6f428a
</span>Author: Vadim-Valdis Yudaev <judaew@outlook.de>
AuthorDate: Tue Jun 15 15:09:38 2021 +0300
<span style='display:block; white-space:pre;color:#404040;'> py-tmuxp: Update to 1.8.1 and add docs
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Changes:
</span><span style='display:block; white-space:pre;color:#404040;'> * Update to 1.8.1
</span><span style='display:block; white-space:pre;color:#404040;'> * Add docs and man
</span><span style='display:block; white-space:pre;color:#404040;'> * Use GitHub fetch instead of PyPi
</span>---
python/py-tmuxp/Portfile | 47 ++++++++++++++++++++++++++++++++++++-----------
1 file changed, 36 insertions(+), 11 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-tmuxp/Portfile b/python/py-tmuxp/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c5f2dadc6d9..458f2d7af7f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-tmuxp/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-tmuxp/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,12 +1,14 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=Portfile:et:sw=4:ts=4:sts=4
PortSystem 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup github 1.0
</span> PortGroup python 1.0
PortGroup select 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup tmux-python tmuxp 1.8.1 v
</span> name py-tmuxp
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.7.2
</span> revision 0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> categories-append devel
license MIT
platforms darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,22 +20,29 @@ maintainers {@egorenar posteo.net:egorenar-dev} \
</span> description tmux session manager.
long_description ${description}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage https://github.com/tmux-python/tmuxp/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites pypi:t/${python.rootname}/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname ${python.rootname}-${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions 27 36 37 38 39
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 36 37 38 39
</span>
if {${name} ne ${subport}} {
depends_build-append port:py${python.version}-setuptools
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # dependencies for build ../docs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append port:poetry \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-alagitpull \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-docutils \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-recommonmark \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-sphinx \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-sphinx-issues
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_lib-append port:py${python.version}-click \
port:py${python.version}-colorama \
port:py${python.version}-kaptan \
port:py${python.version}-libtmux
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_run port:tmuxp_select
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- checksums rmd160 6835ae507e62a909481b024aa7846922f30c64f7 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 14296b62db260420d4600dcd805408ea908b3a78d4ea0a6a403d092fdbf6d075 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 91621
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_run-append port:tmuxp_select
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 ff86238a15fc78f0199131ecb52b18931a13306e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 a42e4c33933440d43d62d3f5f282c5e9e051875ce9541d11c65bb94c2dcd2fa9 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 1019926
</span>
select.group tmuxp
select.file ${worksrcpath}/py${python.version}-tmuxp
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -48,6 +57,24 @@ if {${name} ne ${subport}} {
</span> ${worksrcpath}/${subport}
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-build {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath}/docs "make PYTHONPATH=${worksrcpath}/build/lib SPHINXBUILD=${prefix}/bin/sphinx-build-${python.branch} text man"
</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;background:#e0ffe0;'>+ post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set doc_build_dir ${worksrcpath}/docs/_build
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 644 {*}[glob ${doc_build_dir}/text/*.txt] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 644 ${doc_build_dir}/man/tmuxp.1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/share/man/man1/tmuxp-${python.branch}.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${destroot}${prefix}/share/examples/${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 644 {*}[glob ${worksrcpath}/examples/*] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/share/examples/${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> notes "
To make the Python ${python.branch} version of tmuxp the one that is run when\
you execute the commands without a version suffix, e.g. 'tmuxp', run:
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -56,6 +83,4 @@ port select --set ${select.group} [file tail ${select.file}]
</span> "
livecheck.type none
<span style='display:block; white-space:pre;background:#ffe0e0;'>-} else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.type pypi
</span> }
</pre><pre style='margin:0'>
</pre>