From 75db2a234d8fc376a825ebaa328834c914df4e90a2a149ea65a4786d46d08916 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 25 Oct 2013 09:26:30 +0000 Subject: [PATCH] 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 --- pexpect-2.3.tar.bz2 | 3 --- pexpect-2.4.tar.gz | 3 +++ python-pexpect.changes | 6 +++++ python-pexpect.spec | 59 ++++++++++++++++-------------------------- 4 files changed, 31 insertions(+), 40 deletions(-) delete mode 100644 pexpect-2.3.tar.bz2 create mode 100644 pexpect-2.4.tar.gz diff --git a/pexpect-2.3.tar.bz2 b/pexpect-2.3.tar.bz2 deleted file mode 100644 index ef3e060..0000000 --- a/pexpect-2.3.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1cb6276ef9071c8f04277962daa59956bbc26d7a7df809afa988a4ab880760ff -size 105752 diff --git a/pexpect-2.4.tar.gz b/pexpect-2.4.tar.gz new file mode 100644 index 0000000..9442f8f --- /dev/null +++ b/pexpect-2.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:43c788f59dcf4bed677fd0b16891787dbf747e210ffedb6e90156fbbbd4d3b7b +size 113251 diff --git a/python-pexpect.changes b/python-pexpect.changes index c57280a..ae096c1 100644 --- a/python-pexpect.changes +++ b/python-pexpect.changes @@ -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 diff --git a/python-pexpect.spec b/python-pexpect.spec index 0807983..1c1d79a 100644 --- a/python-pexpect.spec +++ b/python-pexpect.spec @@ -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