From be064902f10e4767bc173a46cad008645901b45e Mon Sep 17 00:00:00 2001 From: leigh123linux Date: Tue, 14 Jan 2014 20:29:58 +0000 Subject: [PATCH] Package is retired --- .gitignore | 3 - dead.package | 1 + python-pexpect.spec | 267 -------------------------------------------- sources | 1 - 4 files changed, 1 insertion(+), 271 deletions(-) delete mode 100644 .gitignore create mode 100644 dead.package delete mode 100644 python-pexpect.spec delete mode 100644 sources diff --git a/.gitignore b/.gitignore deleted file mode 100644 index bc6307e..0000000 --- a/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -pexpect-2.3.tar.gz -/pexpect-u-2.5.1.tar.gz -/pexpect-3.0.tar.gz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..0f98991 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Package is retired diff --git a/python-pexpect.spec b/python-pexpect.spec deleted file mode 100644 index 3cc41c9..0000000 --- a/python-pexpect.spec +++ /dev/null @@ -1,267 +0,0 @@ -%if 0%{?fedora} > 15 -%global with_python3 1 -%else -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib())")} -%endif - -#global relcand rc3 - -Summary: Unicode-aware Pure Python Expect-like module -Name: python-pexpect -Version: 3.0 -Release: 1%{?dist} -License: MIT -Group: Development/Languages -URL: https://github.com/pexpect/pexpect -Source0: https://github.com/pexpect/pexpect/releases/download/%{version}%{?relcand}/pexpect-%{version}%{?relcand}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildArch: noarch -BuildRequires: python2-devel python-nose ed -%if 0%{?with_python3} -BuildRequires: python3-devel python3-nose -Provides: pexpect = %{version}-%{release} -Obsoletes: pexpect <= 2.3-20 -%endif # if with_python3 - -%description -Pexpect is a pure Python module for spawning child applications; controlling -them; and responding to expected patterns in their output. Pexpect works like -Don Libes' Expect. Pexpect allows your script to spawn a child application and -control it as if a human were typing commands. - -Pexpect can be used for automating interactive applications such as ssh, ftp, -passwd, telnet, etc. It can be used to automate setup scripts for duplicating -software package installations on different servers. And it can be used for -automated software testing. Pexpect is in the spirit of Don Libes' Expect, but -Pexpect is pure Python. Unlike other Expect-like modules for Python, Pexpect -does not require TCL or Expect nor does it require C extensions to be -compiled. It should work on any platform that supports the standard Python -pty module. - -%if 0%{?with_python3} -%package -n python3-pexpect -Summary: Unicode-aware Pure Python Expect-like module for Python 3 -Group: Development/Languages - -%description -n python3-pexpect -Pexpect is a pure Python module for spawning child applications; controlling -them; and responding to expected patterns in their output. Pexpect works like -Don Libes' Expect. Pexpect allows your script to spawn a child application and -control it as if a human were typing commands. This package contains the -python3 version of this module. - -Pexpect can be used for automating interactive applications such as ssh, ftp, -passwd, telnet, etc. It can be used to automate setup scripts for duplicating -software package installations on different servers. And it can be used for -automated software testing. Pexpect is in the spirit of Don Libes' Expect, but -Pexpect is pure Python. Unlike other Expect-like modules for Python, Pexpect -does not require TCL or Expect nor does it require C extensions to be -compiled. It should work on any platform that supports the standard Python -pty module. -%endif # with_python3 - -%prep -%setup -q -n pexpect-%{version}%{?relcand} - -#sed -i "s/0.1/10.0/g" tests/test_misc.py - -%if 0%{?with_python3} -rm -rf %{py3dir} -cp -a . %{py3dir} -find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|' -%endif # with_python3 - -%build -%{__python} setup.py build - -%if 0%{?with_python3} -pushd %{py3dir} -%{__python3} setup.py build -popd -%endif # with_python3 - -%check -. ./test.env -./tools/testall.py - -%if 0%{?with_python3} -pushd %{py3dir} - . ./test.env - %{_bindir}/python3 ./tools/testall.py -popd -%endif # with_python3 - -%install -rm -rf %{buildroot} - -%if 0%{?with_python3} -pushd %{py3dir} -%{__python3} setup.py install --skip-build \ - --root %{buildroot} --install-lib %{python3_sitelib} - -# Correct some permissions -find examples -type f -exec chmod a-x \{\} \; - -rm -rf %{buildroot}%{python3_sitelib}/pexpect/tests -popd -%endif # with_python3 - -%{__python} setup.py install --skip-build \ - --root %{buildroot} --install-lib %{python_sitelib} - -rm -rf ${buildroot}%{python_sitelib}/setuptools/tests - -# Correct some permissions -find examples -type f -exec chmod a-x \{\} \; - -%clean -rm -rf %{buildroot} - -%files -%defattr(-,root,root) -%doc doc examples LICENSE -%{python_sitelib}/*.py* -%{python_sitelib}/pexpect/ -%{python_sitelib}/pexpect-%{version}%{?relcand}-py?.?.egg-info -%exclude %{python_sitelib}/pexpect/tests/ - -%if 0%{?with_python3} -%files -n python3-pexpect -%doc doc examples LICENSE -%{python3_sitelib}/*.py -%{python3_sitelib}/__pycache__/* -%{python3_sitelib}/pexpect/ -%{python3_sitelib}/pexpect-%{version}%{?relcand}-py?.?.egg-info -%exclude %{python3_sitelib}/pexpect/tests/ -%endif # with_python3 - -%changelog -* Tue Nov 12 2013 Thomas Spura - 3.0-1 -- update to 3.0 - -* Wed Oct 30 2013 Thomas Spura - 3.0-0.1 -- new upstream is github/pexpect/pexpect -- update to rc3 -- build on noarch again -- consistently use %%{buildroot} everywhere -- be more explicit in %%files -- remove CFLAGS - -* Thu Sep 05 2013 Andrew McNabb - 2.5.1-11 -- Fix the name of the arm architecture in ExcludeArch - -* Thu Sep 05 2013 Andrew McNabb - 2.5.1-10 -- Remove noarch because of arm build problems (bug #999174) - -* Tue Aug 20 2013 Andrew McNabb - 2.5.1-9 -- Exclude the arm architecture (bug #999174) - -* Tue Aug 20 2013 Andrew McNabb - 2.5.1-8 -- Bump the obsoletes version - -* Sun Aug 04 2013 Fedora Release Engineering - 2.5.1-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Thu Feb 14 2013 Fedora Release Engineering - 2.5.1-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Tue Nov 20 2012 Andrew McNabb - 2.5.1-5 -- Exclude test scripts from the files list - -* Tue Nov 20 2012 Andrew McNabb - 2.5.1-4 -- Moved unit tests to a check section - -* Tue Nov 20 2012 Andrew McNabb - 2.5.1-3 -- Added unit tests and fixed metadata fields - -* Tue Nov 20 2012 Andrew McNabb - 2.5.1-2 -- Added versions to the obsoletes and provides fields - -* Tue Nov 20 2012 Andrew McNabb - 2.5.1-1 -- Updated to version 2.5.1 (pexpect-u fork) and added support for Python 3 - -* Wed Feb 09 2011 Fedora Release Engineering - 2.3-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Wed Jul 21 2010 David Malcolm - 2.3-5 -- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild - -* Sun Jul 26 2009 Fedora Release Engineering - 2.3-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Mon Feb 23 2009 Robert Scheck 2.3-3 -- Rebuild for gcc 4.4 and rpm 4.6 - -* Fri Dec 5 2008 Jeremy Katz - 2.3-2 -- Rebuild for python 2.6 - -* Tue Jan 08 2008 Robert Scheck 2.3-1 -- Upgrade to 2.3 -- Updated the source URL to match with the guidelines - -* Wed Aug 29 2007 Robert Scheck 2.1-5 -- Rebuilt (and some minor spec file tweaks) - -* Sat Dec 09 2006 Toshio Kuratomi - 2.1-4 -- Bump and rebuild because I forgot to cvs up before the last build. - -* Sat Dec 09 2006 Toshio Kuratomi - 2.1-3 -- Bump and rebuild for python 2.5 on devel. -- Add BR: python-devel as it provides a header necessary for python modules - on python 2.5. - -* Fri Sep 01 2006 Toshio Kuratomi - 2.1-2 -- Remove pyver define as it's not needed with the automatic python(abi). -- Stop ghosting .pyos. -- Let automatic python compilation take care of creating pyos. -- Rebuild for FC6. - -* Mon Jul 17 2006 Toshio Kuratomi - 2.1-1 -- Update to 2.1. - -* Thu Feb 16 2006 Toshio Kuratomi - 2.0-2 -- Bump and rebuild for FC5. -- Convert from python-abi to python(abi) requires. - -* Thu Nov 17 2005 Toshio Kuratomi - 2.0-1 -- Update to 2.0. - -* Sat Sep 3 2005 Toshio Kuratomi 0.99999b-2 -- Add LICENSE File. -- Make noarch. -- Remove executable permissions from the modules copied to examples. - -* Fri Sep 2 2005 Toshio Kuratomi 0.99999b -- Update to version 0.99999b. -- Add dist tag. - -* Thu Apr 7 2005 Michael Schwendt -- rebuilt - -* Thu Feb 03 2005 Toshio Kuratomi 0.999-2 -- Use python_sitelib macro to resolve build issues on x86_64. -- %%ghost *.pyo -- Install ANSI.py, screen.py, and FSM.py into the examples. These are intended - to suplement pexpect eventually but they are currently much less robust and - not installed to by default. But they are needed by some examples. -- Use __python macro in build/install for consistency. -- Add --skip-build to the invocation of setup.py in install. - -* Mon May 31 2004 Panu Matilainen 0.999-0.fdr.1 -- get rid of distrel munging, buildsys does that... -- update to 0.999 -- update doc and example tarballs -- fix build on python <> 2.2 -- use -O1 in install to generate .pyo files instead of manually creating the files -- require python-abi = pyver to get dependencies right - -* Sun Jul 27 2003 Panu Matilainen 0.98-0.fdr.3 -- own .pyo files too as suggested by Ville (#517) - -* Sat Jul 26 2003 Panu Matilainen 0.98-0.fdr.2 -- fixes by Ville (bug #517) applied - -* Sat Jul 26 2003 Panu Matilainen -- Initial Fedora packaging - diff --git a/sources b/sources deleted file mode 100644 index a45f815..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -6abaca6ee606945ce42baf042b00e87e pexpect-3.0.tar.gz