1
0

Accepting request 204619 from devel:languages:python

- Update to version 2.4:
  + No changelog

OBS-URL: https://build.opensuse.org/request/show/204619
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pexpect?expand=0&rev=14
This commit is contained in:
Tomáš Chvátal 2013-10-25 09:26:30 +00:00 committed by Git OBS Bridge
parent 8ca4a337e6
commit 75db2a234d
4 changed files with 31 additions and 40 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1cb6276ef9071c8f04277962daa59956bbc26d7a7df809afa988a4ab880760ff
size 105752

3
pexpect-2.4.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:43c788f59dcf4bed677fd0b16891787dbf747e210ffedb6e90156fbbbd4d3b7b
size 113251

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Oct 24 12:42:54 UTC 2013 - speilicke@suse.com
- Update to version 2.4:
+ No changelog
-------------------------------------------------------------------
Fri Sep 19 23:35:40 CEST 2008 - dmueller@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package python-pexpect (Version 2.3)
# spec file for package python-pexpect
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -15,60 +15,45 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: python-pexpect
BuildRequires: python-devel
Version: 2.4
Release: 0
Summary: Pure Python Expect-like module
License: MIT
Group: Development/Libraries/Python
AutoReqProv: on
Version: 2.3
Release: 23
Summary: Pure Python Expect-like module
Url: http://pexpect.sourceforge.net/
Source: pexpect-%{version}.tar.bz2
Patch: %{name}-%{version}.patch
Source: https://pypi.python.org/packages/source/p/pexpect/pexpect-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#BuildArchitectures: noarch
#ExclusiveArch: %ix86
%py_requires
%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()")}
%else
BuildArch: noarch
%endif
%description
Pexpect is a pure Python module for spawning child applications;
controlling them; and responding to expected patterns in their output.
Authors:
--------
Noah Spurrier
%prep
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%setup -n pexpect-%{version}
%patch -p1
%build
python ./setup.py build
python setup.py build
%install
#rm -rf $RPM_BUILD_ROOT
python ./setup.py install -O2 --prefix="/usr" --root=$RPM_BUILD_ROOT --record=%{name}.files
python setup.py install --prefix="/usr" --root=%{buildroot}
%clean
#rm -rf $RPM_BUILD_ROOT
%files -f %{name}.files
%files
%defattr(-,root,root,-)
%{_docdir}/python-pexpect
%{_docdir}/python-pexpect/examples
#%doc doc/
%doc doc examples
%{python_sitelib}/ANSI.py*
%{python_sitelib}/FSM.py*
%{python_sitelib}/fdpexpect.py*
%{python_sitelib}/pexpect-%{version}-py%{py_ver}.egg-info
%{python_sitelib}/pexpect.py*
%{python_sitelib}/pxssh.py*
%{python_sitelib}/screen.py*
%changelog
* Sat Sep 20 2008 dmueller@suse.de
- fix requires
* Fri Aug 01 2008 bwalle@suse.de
- update to 2.3 (no upstream changelog available)
* Thu Jan 25 2007 timlee@suse.de
- initial submission to autobuild, version 2.1