commit 7481b31f2390595802b861a9e13aaaa652cbc6379af1999a86bab0347b8dd91a Author: OBS User unknown Date: Wed Mar 14 11:37:19 2007 +0000 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pexpect?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-pexpect-2.1.patch b/python-pexpect-2.1.patch new file mode 100644 index 0000000..940dfc7 --- /dev/null +++ b/python-pexpect-2.1.patch @@ -0,0 +1,64 @@ +diff -uNr MANIFEST.in MANIFEST.in +--- MANIFEST.in 1969-12-31 19:00:00.000000000 -0500 ++++ MANIFEST.in 2007-01-17 17:17:01.000000000 -0500 +@@ -0,0 +1,15 @@ ++include ANSI.py ++include fdpexpect.py ++include FSM.py ++include INSTALL ++include LICENSE ++include Makefile ++include MANIFEST.in ++include pexpect.py ++include pxssh.py ++include PKG-INFO ++include README ++include screen.py ++include setup.py ++recursive-include doc * ++recursive-include examples * +diff -uNr setup.py setup.py +--- setup.py 2006-05-31 23:16:08.000000000 -0400 ++++ setup.py 2007-02-21 14:08:34.000000000 -0500 +@@ -3,7 +3,27 @@ + $Date: 2006-05-30 18:00:23 -0700 (Tue, 30 May 2006) $ + ''' + from distutils.core import setup +-setup (name='pexpect', ++from distutils.command.bdist_rpm import bdist_rpm ++ ++NAME = "python-pexpect" ++ ++def getdoc(): ++ import os ++ result = ['INSTALL','LICENSE','README','PKG-INFO'] ++ list = os.listdir(os.path.join(os.curdir, 'doc')) ++ for file in list: ++ result.append(os.path.join('doc', file)) ++ return result ++ ++def getexamples(): ++ import os ++ result = [] ++ list = os.listdir(os.path.join(os.curdir, 'examples')) ++ for file in list: ++ result.append(os.path.join('examples', file)) ++ return result ++ ++setup (name=NAME, + version='2.1', + py_modules=['pexpect', 'pxssh', 'fdpexpect'], + description='Pexpect is a pure Python Expect. It allows easy control of other applications.', +@@ -12,6 +32,12 @@ + url='http://pexpect.sourceforge.net/', + license='MIT license', + platforms='UNIX', ++ data_files = [("share/doc/packages/"+NAME, getdoc()), ++ ("share/doc/packages/"+NAME+"/examples",getexamples())], ++ cmdclass = { ++ 'bdist_rpm': bdist_rpm ++ } ++ + ) + + # classifiers = [ diff --git a/python-pexpect-2.1.tar.gz b/python-pexpect-2.1.tar.gz new file mode 100644 index 0000000..4ad2bcd --- /dev/null +++ b/python-pexpect-2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:54e04daa22310776b702ccd938f4679082edc54fe7ac9ac25a00ac01e7a042a7 +size 116516 diff --git a/python-pexpect.changes b/python-pexpect.changes new file mode 100644 index 0000000..7fd255d --- /dev/null +++ b/python-pexpect.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Wed Jan 24 23:44:33 CET 2007 - timlee@suse.de + +- initial submission to autobuild, version 2.1 + diff --git a/python-pexpect.spec b/python-pexpect.spec new file mode 100644 index 0000000..e70a95b --- /dev/null +++ b/python-pexpect.spec @@ -0,0 +1,62 @@ +# +# spec file for package python-pexpect (Version 2.1) +# +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + +Name: python-pexpect +BuildRequires: python-devel +License: X11/MIT +Group: Development/Libraries/Python +Autoreqprov: on +Version: 2.1 +Release: 1 +Summary: Pure Python Expect-like module. +URL: http://pexpect.sourceforge.net/ +Source: %{name}-%{version}.tar.gz +Patch: %{name}-%{version}.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-build +#BuildArchitectures: noarch +#ExclusiveArch: %ix86 +Requires: python + +%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 +%patch + +%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 + +%clean +#rm -rf $RPM_BUILD_ROOT + +%files -f %{name}.files +%defattr(-,root,root,-) +%{_docdir}/python-pexpect +%{_docdir}/python-pexpect/examples +#%doc doc/ + +%changelog +* Wed Jan 24 2007 - timlee@suse.de +- initial submission to autobuild, version 2.1 diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4