./devel/py-dialog2, Python wrapper for the dialog utility

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.5.1, Package name: py27-dialog-3.5.1, Maintainer: pkgsrc-users

pythondialog is a Python wrapper for the dialog utility originally
written by Savio Lam, and later rewritten by Thomas E. Dickey. Its
purpose is to provide an easy to use, pythonic and comprehensive Python
interface to dialog. This allows one to make simple text-mode user
interfaces on Unix-like systems (including Linux).

This package is the Python 2 backport.


Required to run:
[misc/dialog] [devel/py-setuptools] [lang/python27]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: bd2006638c579e015ae5ff23ec44463691187ae3
RMD160: ad6858359b27a6b65a14a40416dd909377210a7c
Filesize: 1873.905 KB

Version history: (Expand)


CVS history: (Expand)


   2020-02-04 18:17:07 by Adam Ciarcinski | Files touched by this commit (6) | Package updated
Log message:
py-dialog{2}: updated to 3.5.1

Main changes in version 3.5.1

The main changes in version 3.5.1 are:

The default used when the PATH environment variable is unset is now \ 
"/bin:/usr/bin" instead of ":/bin:/usr/bin". This is \ 
relevant when the dialog argument of the Dialog constructor contains no slash \ 
(/), which is the case by default. The benefit of this change is that in such a \ 
situation (PATH unset and dialog argument containing no slash), the dialog-like \ 
program will not be searched in the current directory anymore (unless of course \ 
the current directory is /bin or /usr/bin). This is a much safer behavior; \ 
fortunately, the risky behavior only ever existed on bogus setups where the PATH \ 
environment variable is unset.

Note that in this respect, we have been following what the GNU C Library (glibc) \ 
does for its execvp() function—the corresponding change in glibc happened in \ 
version 2.24, released in 2016.

When a Dialog instance is created, it now immediately stores the result of \ 
calling os.path.realpath() on the specified executable (which is searched using \ 
the PATH if the dialog argument passed to the constructor contains no \ 
slash—cf. documentation of the Dialog constructor). This way, a \ 
pythondialog-based program can change its current directory after creating a \ 
Dialog instance without fearing that this might cause subsequent Dialog method \ 
calls to fail or to invoke an executable from a different directory \ 
(additionally, os.path.realpath() resolves symbolic links).

The Python 2 backport of pythondialog has been released for this version and \ 
should be on par with pythondialog 3.5.1 (this is why version 3.5.0 of the \ 
backport has been skipped). The packaging of the backport has been switched from \ 
distutils to setuptools too, just as was done in pythondialog 3.5.0 (see below). \ 
As a consequence, it is now available in wheel format. However, as said above, \ 
Python 2 is deprecated and the Python 2 backport of pythondialog is not \ 
supported anymore. Don't expect any further updates to it.

Main changes in version 3.5.0

The main change in version 3.5.0 is:

pythondialog's packaging has been switched from distutils to setuptools (this is \ 
the modern way, see the Python Packaging User Guide). Thanks to this change, \ 
pythondialog is now available in wheel format. The normal installation method \ 
using pip didn't change (see the INSTALL file for details).

The Python 2 backport of pythondialog has not been released for this version \ 
(version 3.5.1 will be the last one).
   2020-01-19 00:36:14 by Roland Illig | Files touched by this commit (3046)
Log message:
all: migrate several HOMEPAGEs to https

pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
   2019-11-03 11:18:30 by Roland Illig | Files touched by this commit (36)
Log message:
devel/py-*: align variable assignments

pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
   2019-09-02 15:20:22 by Adam Ciarcinski | Files touched by this commit (415)
Log message:
Changed PYTHON_VERSIONS_INCOMPATIBLE to PYTHON_VERSIONS_ACCEPTED; needed for \ 
future Python 3.8
   2019-04-26 15:14:25 by Maya Rashish | Files touched by this commit (473)
Log message:
Omit mentions of python 34 and 35, after those were removed.

- Includes some whitespace changes, to be handled in a separate commit.
   2018-07-03 07:03:44 by Adam Ciarcinski | Files touched by this commit (495)
Log message:
extend PYTHON_VERSIONS_ for Python 3.7
   2017-01-01 15:44:09 by Thomas Klausner | Files touched by this commit (577)
Log message:
Add python-3.6 to incompatible versions.
   2016-11-11 11:11:07 by Filip Hajny | Files touched by this commit (2) | Package updated
Log message:
Update devel/py-dialog2 to 3.4.0.

- The Python 2 backport has been updated to this version.
- Add method Dialog.editbox_str(). This is a convenience wrapper around
  Dialog.editbox() that automatically creates and deletes a temporary
  file containing the initial box contents, which is passed as a string
  (Dialog.editbox() needs it in a file).
- Add the week_start common option, mapped to dialog's --week-start
  option (it is useful with the calendar widget). The value may be an
  integer or a string (cf. dialog's manual page for more details).