pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/misc/py-libtmux



Module Name:    pkgsrc
Committed By:   kim
Date:           Thu Nov 26 22:44:02 UTC 2026

Modified Files:
        pkgsrc/misc/py-libtmux: Makefile PLIST distinfo

Log Message:
py-libtmux: Update to 0.68.0

User-visible changes since 0.61.0.  tmux 3.3a and Python 3.11 are now
the minimum.

0.68.0  A closed pane, window or session raises
        TmuxObjectDoesNotExist, also from Pane.capture_pane() and
        Pane.send_keys(), which used to return an empty result.
        Server.run_shell() raises VersionTooLow on tmux 3.3a and 3.4
        instead of returning [].  Session.new_window() with
        select_existing=True reuses a window by index or target on
        every tmux, and rejects kill_existing=True alongside it.
        expand_formats is the one parameter name for tmux's -F.
0.67.1  Fix: new_window(select_existing=True) finds a window by its
        literal name on every tmux.
0.67.0  A "#" in session names, window names, pane titles, start
        directories and buffer paths is kept as typed; wrap a value
        in the new libtmux.Format to have tmux expand it.
        new_session(kill_session=True) kills only the exactly named
        session; new exact= argument for session names.
0.66.0  Files created by save_buffer() are readable by their owner
        only.  send_keys(hex_keys=True) no longer adds Enter.  A
        socket path too long for tmux raises SocketPathTooLong.
0.65.0  tmux 3.3a is the minimum; 0.64.0 was the last release to
        support tmux 3.2a.  Publishes a capability matrix of the
        tmux features gated by release.
0.64.0  Fixes only: commands act on the object they were called on,
        values starting with "-" or ending in ";" reach tmux as
        data, a newline in a pane's path no longer breaks listings.
0.63.0  Python 3.11 is the minimum.  Pane.break_pane() returns the
        destination window when it moves a window's only pane;
        show_hook() reads the hooks added in tmux 3.8.
0.62.0  Pane.from_env() and siblings for code running inside tmux,
        Window.linked_sessions, and tmux-accurate resolution of
        windows linked into several sessions.  ObjectDoesNotExist
        and MultipleObjectsReturned now derive from
        LibTmuxException.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/misc/py-libtmux/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/misc/py-libtmux/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/misc/py-libtmux/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/misc/py-libtmux/Makefile
diff -u pkgsrc/misc/py-libtmux/Makefile:1.5 pkgsrc/misc/py-libtmux/Makefile:1.6
--- pkgsrc/misc/py-libtmux/Makefile:1.5 Tue Aug 18 14:42:19 2026
+++ pkgsrc/misc/py-libtmux/Makefile     Thu Nov 26 22:44:02 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2026/08/18 14:42:19 kim Exp $
+# $NetBSD: Makefile,v 1.6 2026/11/26 22:44:02 kim Exp $
 
-DISTNAME=      libtmux-0.61.0
+DISTNAME=      libtmux-0.68.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    misc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=l/libtmux/}
@@ -15,7 +15,35 @@ TEST_DEPENDS+=       ${PYPKGPREFIX}-test-mock>
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-rerunfailures>=0:../../devel/py-test-rerunfailures
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist>=0:../../devel/py-test-xdist
 
+# as of 0.68.0
+# 11 failed, 1376 passed, 62 skipped, 4 deselected, 22 rerun
+
 USE_LANGUAGES= # none
 
+# Test the sources, not an installed copy that pytest would import first.
+TEST_ENV+=     PYTHONPATH=${WRKSRC}/src
+
+# Upstream's addopts and testpaths need gp-libs (doctests with its own
+# option flags, README.md) and the docs tests need gp_sphinx and
+# sphinx_ux_badges.  None are packaged, so run the unit tests only.
+TEST_ADDOPTS=  --tb=short --no-header --reruns=2
+TEST_ADDOPTS+= --ignore=tests/test_docs_capabilities.py
+# These hang in tmux load-buffer and source-file on NetBSD.
+TEST_ADDOPTS+= --deselect=tests/test_formats.py::test_buffer_paths
+TEST_ADDOPTS+= --deselect=tests/test_server.py::test_buffer_save_load
+# --deselect matches by prefix, so this also drops test_source_file_quiet.
+TEST_ADDOPTS+= --deselect=tests/test_server.py::test_source_file
+TEST_PATHS=    tests
+
+# libtmux separates tmux format fields with a non-ASCII character, which
+# tmux replaces with "_" unless the locale is UTF-8.  The locale has to
+# come after TEST_ENV, which ends with LANG=C and LC_ALL=C from MAKE_ENV.
+# LANG is needed too: the tests' clear_env fixture removes LC_ALL.
+do-test:
+       ${RUN} cd ${WRKSRC} && \
+       ${SETENV} ${TEST_ENV} LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 \
+               pytest-${PYVERSSUFFIX} -o addopts=${TEST_ADDOPTS:Q} \
+               ${TEST_PATHS}
+
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/misc/py-libtmux/PLIST
diff -u pkgsrc/misc/py-libtmux/PLIST:1.2 pkgsrc/misc/py-libtmux/PLIST:1.3
--- pkgsrc/misc/py-libtmux/PLIST:1.2    Wed Jun 24 17:53:57 2026
+++ pkgsrc/misc/py-libtmux/PLIST        Thu Nov 26 22:44:02 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2026/06/24 17:53:57 gdt Exp $
+@comment $NetBSD: PLIST,v 1.3 2026/11/26 22:44:02 kim Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -25,12 +25,21 @@ ${PYSITELIB}/libtmux/_internal/control_m
 ${PYSITELIB}/libtmux/_internal/dataclasses.py
 ${PYSITELIB}/libtmux/_internal/dataclasses.pyc
 ${PYSITELIB}/libtmux/_internal/dataclasses.pyo
+${PYSITELIB}/libtmux/_internal/env.py
+${PYSITELIB}/libtmux/_internal/env.pyc
+${PYSITELIB}/libtmux/_internal/env.pyo
 ${PYSITELIB}/libtmux/_internal/query_list.py
 ${PYSITELIB}/libtmux/_internal/query_list.pyc
 ${PYSITELIB}/libtmux/_internal/query_list.pyo
 ${PYSITELIB}/libtmux/_internal/sparse_array.py
 ${PYSITELIB}/libtmux/_internal/sparse_array.pyc
 ${PYSITELIB}/libtmux/_internal/sparse_array.pyo
+${PYSITELIB}/libtmux/_internal/support/__init__.py
+${PYSITELIB}/libtmux/_internal/support/__init__.pyc
+${PYSITELIB}/libtmux/_internal/support/__init__.pyo
+${PYSITELIB}/libtmux/_internal/support/capabilities.py
+${PYSITELIB}/libtmux/_internal/support/capabilities.pyc
+${PYSITELIB}/libtmux/_internal/support/capabilities.pyo
 ${PYSITELIB}/libtmux/_internal/types.py
 ${PYSITELIB}/libtmux/_internal/types.pyc
 ${PYSITELIB}/libtmux/_internal/types.pyo

Index: pkgsrc/misc/py-libtmux/distinfo
diff -u pkgsrc/misc/py-libtmux/distinfo:1.4 pkgsrc/misc/py-libtmux/distinfo:1.5
--- pkgsrc/misc/py-libtmux/distinfo:1.4 Tue Aug 18 14:42:19 2026
+++ pkgsrc/misc/py-libtmux/distinfo     Thu Nov 26 22:44:02 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2026/08/18 14:42:19 kim Exp $
+$NetBSD: distinfo,v 1.5 2026/11/26 22:44:02 kim Exp $
 
-BLAKE2s (libtmux-0.61.0.tar.gz) = f5b701867df5569e9ae6e781214c5f85aeb5e59801c34954a390f559a913f3c9
-SHA512 (libtmux-0.61.0.tar.gz) = b395ec50520d0d98aacead74f23310495688ce257bba3bbc32271595f9ab80061802bee882e50838d4361b5d691cb3d4a642dbde134245eea952f79afb64f1c1
-Size (libtmux-0.61.0.tar.gz) = 546122 bytes
+BLAKE2s (libtmux-0.68.0.tar.gz) = b6c59ef88b92de7bebaa8b773e11a719ba0def02045914d76180f7df2cbff727
+SHA512 (libtmux-0.68.0.tar.gz) = 5321106536d3f89e76765ea9bf2d4efc378470fa0569813a5dc1e4742de6e5d7810ab8e5861e01a2e9279920879db05a23e34461bc1a0537f8084b5c5b9b62fb
+Size (libtmux-0.68.0.tar.gz) = 717849 bytes



Home | Main Index | Thread Index | Old Index