pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-dialog



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Sep 15 08:19:47 UTC 2021

Modified Files:
        pkgsrc/devel/py-dialog: Makefile distinfo

Log Message:
py-dialog: updated to 3.5.2

Release 3.5.2

Update ChangeLog.init (improve some log messages)

demo: add example of an msgbox with timeout

* examples/demo.py: add method MyApp.timeout_demo(), which shows how to
detect a timeout when an msgbox has been presented to the user.

Fix related to the 'timeout' option (--timeout for dialog)

* dialog.py (Dialog._perform): ignore the dialog output when a timeout
occurred, which we know thanks to the exit code. Without this change,
output parsing or checking (e.g., in Dialog._widget_with_no_output())
would be broken by the '\ntimeout\n' string printed by dialog in such
cases (seen with msgbox, at least).

It might be that parsing is still disturbed for some widgets when a
timeout occurs, if they never produce an empty output in a no-timeout
situation: this remains to be checked. Also, it appears that the
--timeout option doesn't work with all widgets in the dialog
backend (tested with dialog 1.3-20201126: 'msgbox', 'checklist' and
'menu' support --timeout; 'inputbox' and 'mixedform' don't; other
widgets untested with this option).

Show use of d.add_persistent_args(["--no-nl-expand"]) in examples

* Using this option is quite relevant when using pythondialog. Thanks to
ChristianTacke for the report. Closes:
<https://github.com/frougon/pythondialog/issues/8>.

Improve support for the --timeout dialog option

* Set DIALOG_TIMEOUT in the environment when invoking dialog; this
allows us to distinguish between DIALOG_TIMEOUT and DIALOG_ESC. Add
the corresponding TIMEOUT attribute to the Dialog class.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/py-dialog/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-dialog/distinfo

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

Modified files:

Index: pkgsrc/devel/py-dialog/Makefile
diff -u pkgsrc/devel/py-dialog/Makefile:1.7 pkgsrc/devel/py-dialog/Makefile:1.8
--- pkgsrc/devel/py-dialog/Makefile:1.7 Fri Mar 20 11:57:30 2020
+++ pkgsrc/devel/py-dialog/Makefile     Wed Sep 15 08:19:46 2021
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2020/03/20 11:57:30 nia Exp $
+# $NetBSD: Makefile,v 1.8 2021/09/15 08:19:46 adam Exp $
 
-DISTNAME=      pythondialog-3.5.1
+DISTNAME=      pythondialog-3.5.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/^python//}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pythondialog/}

Index: pkgsrc/devel/py-dialog/distinfo
diff -u pkgsrc/devel/py-dialog/distinfo:1.5 pkgsrc/devel/py-dialog/distinfo:1.6
--- pkgsrc/devel/py-dialog/distinfo:1.5 Tue Feb  4 17:17:06 2020
+++ pkgsrc/devel/py-dialog/distinfo     Wed Sep 15 08:19:46 2021
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2020/02/04 17:17:06 adam Exp $
+$NetBSD: distinfo,v 1.6 2021/09/15 08:19:46 adam Exp $
 
-SHA1 (pythondialog-3.5.1.tar.gz) = f7ade8eeb56931037182fdbe6f63e58262cd327c
-RMD160 (pythondialog-3.5.1.tar.gz) = c4c98fcfe636c67007416f2cb7f81a4e5ba9b9a6
-SHA512 (pythondialog-3.5.1.tar.gz) = 20171e6af9aa397365b1666601a7b0bd630f9ac70ad785f330db06cff4d99abff949caddbf377dccf874aa8150fe9508e9aa149b98d7727d8d15ca1a81b96445
-Size (pythondialog-3.5.1.tar.gz) = 1485873 bytes
+SHA1 (pythondialog-3.5.2.tar.gz) = 25d6dc406057e1df3a00ad15f0dd75c8bcae45ba
+RMD160 (pythondialog-3.5.2.tar.gz) = 055d749cc3ffb72c228076a9df64515d2c03d946
+SHA512 (pythondialog-3.5.2.tar.gz) = 6ca7d9dfa87492d59bbf321b1f3dc0146084e42a8efc79377b16c2b80eb5485b23ae4a2b35d7401c9915883d2ad3e34e80e0e6ad8b44f04a1bdad0d4eabb95fd
+Size (pythondialog-3.5.2.tar.gz) = 1510472 bytes



Home | Main Index | Thread Index | Old Index