diff --git a/pexpect-3.3.tar.gz b/pexpect-3.3.tar.gz deleted file mode 100644 index 7fbacc0..0000000 --- a/pexpect-3.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dfea618d43e83cfff21504f18f98019ba520f330e4142e5185ef7c73527de5ba -size 132330 diff --git a/pexpect-4.2.1.tar.gz b/pexpect-4.2.1.tar.gz new file mode 100644 index 0000000..ce67473 --- /dev/null +++ b/pexpect-4.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3d132465a75b57aa818341c6521392a06cc660feb3988d7f1074f39bd23c9a92 +size 143980 diff --git a/python-pexpect.changes b/python-pexpect.changes index 151d954..158a4d8 100644 --- a/python-pexpect.changes +++ b/python-pexpect.changes @@ -1,3 +1,51 @@ +------------------------------------------------------------------- +Thu Sep 15 22:52:06 UTC 2016 - toddrme2178@gmail.com + +- update to version 4.2.1: + * Fix to allow running ``env`` in replwrap-ed bash. + * Raise more informative exception from pxssh if it fails to connect. + * Change ``passmass`` example to not log passwords entered. +- update to version 4.2.0: + * Change: When an "env" parameter is specified to the + :class:`~.spawn` or :class:`~.run` family of calls containing a + value for "PATH", its value is used to discover the target + executable from a relative path, rather than the current process's + environment "PATH". This mirrors the behavior of + :func:`subprocess.Popen` in the standard library (:ghissue:`348`). + * Regression: Re-introduce capability for :meth:`read_nonblocking` + in class :class:`fdspawn` as previously supported in version 3.3 + (:ghissue:`359`). +- update to version 4.1.0: + * No upstream changelog +- update to version 4.0.1: + * Integration with :mod:`asyncio`: passing "async=True" to :meth:`~.spawn.expect`, + :meth:`~.spawn.expect_exact` or :meth:`~.spawn.expect_list` will make them return a + coroutine. You can get the result using "yield from", or wrap it in an + :class:`asyncio.Task`. This allows the event loop to do other things while + waiting for output that matches a pattern. + * Experimental support for Windows (with some caveats)—see :ref:`windows`. + * Enhancement: allow method as callbacks of argument "events" for + :func:`pexpect.run` (:ghissue:`176`). + * It is now possible to call :meth:`~.spawn.wait` multiple times, or after a process + is already determined to be terminated without raising an exception + (:ghpull:`211`). + * New :class:`pexpect.spawn` keyword argument, "dimensions=(rows, columns)" + allows setting terminal screen dimensions before launching a program + (:ghissue:`122`). + * Fix regression that prevented executable, but unreadable files from + being found when not specified by absolute path -- such as + /usr/bin/sudo (:ghissue:`104`). + * Fixed regression when executing pexpect with some prior releases of + the multiprocessing module where stdin has been closed (:ghissue:`86`). + * Deprecated "pexpect.screen" and "pexpect.ANSI". Please use other packages + such as `pyte `__ to emulate a terminal. + * Removed the independent top-level modules ("pxssh fdpexpect FSM screen ANSI") + which were installed alongside Pexpect. These were moved into the Pexpect + package in 3.0, but the old names were left as aliases. + * Child processes created by Pexpect no longer ignore SIGHUP by default: the + "ignore_sighup" parameter of :class:`pexpect.spawn` defaults to False. To + get the old behaviour, pass "ignore_sighup=True". + ------------------------------------------------------------------- Mon Apr 27 14:24:59 UTC 2015 - tbechtold@suse.com diff --git a/python-pexpect.spec b/python-pexpect.spec index fcdc799..779d7dc 100644 --- a/python-pexpect.spec +++ b/python-pexpect.spec @@ -1,7 +1,7 @@ # # spec file for package python-pexpect # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,14 +17,18 @@ Name: python-pexpect -BuildRequires: python-devel -Version: 3.3 +Version: 4.2.1 Release: 0 Summary: Pure Python Expect-like module License: ISC Group: Development/Libraries/Python -Url: http://pexpect.sourceforge.net/ -Source: https://pypi.python.org/packages/source/p/pexpect/pexpect-%{version}.tar.gz +Url: http://pexpect.readthedocs.org/en/latest/ +Source: https://files.pythonhosted.org/packages/source/p/pexpect/pexpect-%{version}.tar.gz +BuildRequires: python-devel +BuildRequires: man +BuildRequires: python-ptyprocess +BuildRequires: python-pytest +Requires: python-ptyprocess BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} @@ -45,15 +49,14 @@ python setup.py build %install python setup.py install --prefix="/usr" --root=%{buildroot} +%check +export LANG=en_US.UTF-8 +py.test + %files %defattr(-,root,root,-) -%doc doc examples -%{python_sitelib}/ANSI.py* +%doc doc examples LICENSE %{python_sitelib}/pexpect/ -%{python_sitelib}/FSM.py* -%{python_sitelib}/fdpexpect.py* -%{python_sitelib}/pexpect-%{version}-py%{py_ver}.egg-info -%{python_sitelib}/pxssh.py* -%{python_sitelib}/screen.py* +%{python_sitelib}/pexpect-%{version}-py*.egg-info %changelog