Accepting request 428046 from home:TheBlackCat:branches:devel:languages:python
update to version 4.2.1 OBS-URL: https://build.opensuse.org/request/show/428046 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pexpect?expand=0&rev=21
This commit is contained in:
parent
bfbe801b86
commit
3b0cff319c
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:dfea618d43e83cfff21504f18f98019ba520f330e4142e5185ef7c73527de5ba
|
|
||||||
size 132330
|
|
3
pexpect-4.2.1.tar.gz
Normal file
3
pexpect-4.2.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:3d132465a75b57aa818341c6521392a06cc660feb3988d7f1074f39bd23c9a92
|
||||||
|
size 143980
|
@ -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 <https://pypi.python.org/pypi/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
|
Mon Apr 27 14:24:59 UTC 2015 - tbechtold@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pexpect
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,14 +17,18 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: python-pexpect
|
Name: python-pexpect
|
||||||
BuildRequires: python-devel
|
Version: 4.2.1
|
||||||
Version: 3.3
|
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Pure Python Expect-like module
|
Summary: Pure Python Expect-like module
|
||||||
License: ISC
|
License: ISC
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Url: http://pexpect.sourceforge.net/
|
Url: http://pexpect.readthedocs.org/en/latest/
|
||||||
Source: https://pypi.python.org/packages/source/p/pexpect/pexpect-%{version}.tar.gz
|
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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
%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()")}
|
%{!?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
|
%install
|
||||||
python setup.py install --prefix="/usr" --root=%{buildroot}
|
python setup.py install --prefix="/usr" --root=%{buildroot}
|
||||||
|
|
||||||
|
%check
|
||||||
|
export LANG=en_US.UTF-8
|
||||||
|
py.test
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc doc examples
|
%doc doc examples LICENSE
|
||||||
%{python_sitelib}/ANSI.py*
|
|
||||||
%{python_sitelib}/pexpect/
|
%{python_sitelib}/pexpect/
|
||||||
%{python_sitelib}/FSM.py*
|
%{python_sitelib}/pexpect-%{version}-py*.egg-info
|
||||||
%{python_sitelib}/fdpexpect.py*
|
|
||||||
%{python_sitelib}/pexpect-%{version}-py%{py_ver}.egg-info
|
|
||||||
%{python_sitelib}/pxssh.py*
|
|
||||||
%{python_sitelib}/screen.py*
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user