This commit is contained in:
commit
7481b31f23
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
64
python-pexpect-2.1.patch
Normal file
64
python-pexpect-2.1.patch
Normal file
@ -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 = [
|
3
python-pexpect-2.1.tar.gz
Normal file
3
python-pexpect-2.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:54e04daa22310776b702ccd938f4679082edc54fe7ac9ac25a00ac01e7a042a7
|
||||||
|
size 116516
|
5
python-pexpect.changes
Normal file
5
python-pexpect.changes
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 24 23:44:33 CET 2007 - timlee@suse.de
|
||||||
|
|
||||||
|
- initial submission to autobuild, version 2.1
|
||||||
|
|
62
python-pexpect.spec
Normal file
62
python-pexpect.spec
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user