15
0

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:
Todd R
2016-09-16 04:50:25 +00:00
committed by Git OBS Bridge
parent bfbe801b86
commit 3b0cff319c
4 changed files with 66 additions and 15 deletions

View File

@@ -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