--- pexpect-2.3.orig/debian/changelog +++ pexpect-2.3/debian/changelog @@ -0,0 +1,113 @@ +pexpect (2.3-1ubuntu2) precise; urgency=low + + * Rebuild to drop python2.6 dependencies. + + -- Matthias Klose Sat, 31 Dec 2011 02:06:40 +0000 + +pexpect (2.3-1ubuntu1) oneiric; urgency=low + + * Convert to dh_python2 (Debian #616935, LP: #788514). + + -- Colin Watson Mon, 27 Jun 2011 09:49:13 +0100 + +pexpect (2.3-1build1) lucid; urgency=low + + * Rebuild dropping the extension for python2.5. + + -- Matthias Klose Mon, 01 Feb 2010 22:05:55 +0000 + +pexpect (2.3-1) unstable; urgency=low + + * New upstream release. + * Fix lintian warnings: + - Move debhelper to Build-Depends from Build-Depends-Indep. + - Remove DH_COMPAT in debian/rules. + - Added debian/pycompat. + - Added #! line for examples/ssh_session.py. + * Updated standards version. + + -- Ganesan Rajagopal Sun, 27 Jul 2008 18:21:35 +0530 + +pexpect (2.1-1.1) unstable; urgency=low + + * NMU. Rebuild to move files to /usr/share/pyshared. Closes: #490482. + + -- Matthias Klose Fri, 18 Jul 2008 15:51:04 +0000 + +pexpect (2.1-1) unstable; urgency=low + + * New upstream version. + * Included pxssh.py and fdpxpect.py (Closes: #356128). + * Included docs and examples (Closes: #230850). + * Updated for new python policy using python-central (Closes: #373476). + * Added watch file. + + -- Ganesan Rajagopal Tue, 20 Jun 2006 09:54:09 +0530 + +pexpect (2.0-2) unstable; urgency=low + + * Included pexpect package into Python Modules repository. + * Add python-modules-team@lists.alioth.debian.org to Uploaders. + * Remove python2.2-pexpect package. + + -- Ganesan Rajagopal Sat, 15 Apr 2006 20:41:47 +0530 + +pexpect (2.0-1) unstable; urgency=low + + * New upstream release. + * Fixed *.docs to take README instead of README.txt. + * Updated standards version. + + -- Ganesan Rajagopal Wed, 28 Dec 2005 13:32:00 +0530 + +pexpect (0.999-5) unstable; urgency=low + + * Aargh. Install python2.4 binaries in the right place. + * Added python2.4 to Build-depends. + + -- Ganesan Rajagopal Sat, 19 Feb 2005 08:17:09 +0530 + +pexpect (0.999-4) unstable; urgency=low + + * Really build pexpect for python 2.4. + + -- Ganesan Rajagopal Sat, 09 Jan 2005 22:15:36 +0530 + +pexpect (0.999-3) unstable; urgency=low + + * Build python 2.4 package. + * python-pexpect now depends on ${python:Depends}. + + -- Ganesan Rajagopal Sat, 09 Jan 2005 22:10:36 +0530 + +pexpect (0.999-2) unstable; urgency=low + + * Build-depend on python (Closes: #258299). + + -- Ganesan Rajagopal Wed, 09 Jul 2004 09:45:36 +0530 + +pexpect (0.999-1) unstable; urgency=low + + * New upstream release (Closes: #257736). + + -- Ganesan Rajagopal Wed, 07 Jul 2004 11:48:36 +0530 + +pexpect (0.99-1) unstable; urgency=low + + * New upstream release + + -- Ganesan Rajagopal Tue, 14 Oct 2003 17:36:36 +0530 + +pexpect (0.98-2) unstable; urgency=low + + * Don't ship python bytecode files (closes: #207313). + + -- Ganesan Rajagopal Mon, 8 Sep 2003 12:57:01 +0530 + +pexpect (0.98-1) unstable; urgency=low + + * Initial packaging (Closes: #156784). + + -- Ganesan Rajagopal Wed, 13 Aug 2003 18:25:51 +0530 + + --- pexpect-2.3.orig/debian/rules +++ pexpect-2.3/debian/rules @@ -0,0 +1,60 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +PYVERS := $(shell pyversions -vr debian/control) +DEB_UPSTREAM_VERSION := $(shell dpkg-parsechangelog \ + | grep ^Version: | cut -d ' ' -f 2 | cut -d '-' -f 1) +PYMOD = pexpect +d = debian/python-pexpect + +build: $(PYVERS:%=build-python%) + touch $@ + +build-python%: + dh_testdir + python$* setup.py build + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp build-python* + rm -rf build dist + rm -f *.pyc + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + $(MAKE) -f debian/rules $(PYVERS:%=install-python%) + +install-python%: + python$* setup.py install --no-compile --root=$(d) --install-layout=deb + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir -i + dh_testroot -i + + dh_installdocs -i + dh_installexamples -i + dh_installchangelogs -i + dh_link -i + dh_python2 -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent files here. +binary-arch: build install + # nothing to do + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- pexpect-2.3.orig/debian/control +++ pexpect-2.3/debian/control @@ -0,0 +1,22 @@ +Source: pexpect +Section: python +Priority: optional +Build-Depends-Indep: python-all-dev (>= 2.6.6-3~) +Build-Depends: debhelper (>= 5.0.37.1) +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Ganesan Rajagopal +Uploaders: Debian Python Modules Team +Standards-Version: 3.8.0 + +Package: python-pexpect +Architecture: all +Depends: ${python:Depends} +Provides: ${python:Provides} +Conflicts: python2.3-pexpect, python2.4-pexpect +Replaces: python2.3-pexpect, python2.4-pexpect +Description: Python module for automating interactive applications + 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-2.3.orig/debian/copyright +++ pexpect-2.3/debian/copyright @@ -0,0 +1,62 @@ +This Debian package was created by Ganesan Rajagopal + +The upstream source was found on the following address: + + http://sourceforge.net/projects/pexpect + +Upstream author: + + Noah Spurrier + +Copyright: + +Pexpect is released under the Python Software Foundation License. + +PSF LICENSE AGREEMENT FOR PYTHON 2.3 +------------------------------------ + +1. This LICENSE AGREEMENT is between the Python Software Foundation +("PSF"), and the Individual or Organization ("Licensee") accessing and +otherwise using Python 2.3 software in source or binary form and its +associated documentation. + +2. Subject to the terms and conditions of this License Agreement, PSF +hereby grants Licensee a nonexclusive, royalty-free, world-wide +license to reproduce, analyze, test, perform and/or display publicly, +prepare derivative works, distribute, and otherwise use Python 2.3 +alone or in any derivative version, provided, however, that PSF's +License Agreement and PSF's notice of copyright, i.e., "Copyright (c) +2001, 2002 Python Software Foundation; All Rights Reserved" are +retained in Python 2.3 alone or in any derivative version prepared by +Licensee. + +3. In the event Licensee prepares a derivative work that is based on +or incorporates Python 2.3 or any part thereof, and wants to make +the derivative work available to others as provided herein, then +Licensee hereby agrees to include in any such work a brief summary of +the changes made to Python 2.3. + +4. PSF is making Python 2.3 available to Licensee on an "AS IS" +basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR +IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND +DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS +FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 2.3 WILL NOT +INFRINGE ANY THIRD PARTY RIGHTS. + +5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON +2.3 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS +A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 2.3, +OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + +6. This License Agreement will automatically terminate upon a material +breach of its terms and conditions. + +7. Nothing in this License Agreement shall be deemed to create any +relationship of agency, partnership, or joint venture between PSF and +Licensee. This License Agreement does not grant permission to use PSF +trademarks or trade name in a trademark sense to endorse or promote +products or services of Licensee, or any third party. + +8. By copying, installing or otherwise using Python 2.3, Licensee +agrees to be bound by the terms and conditions of this License +Agreement. --- pexpect-2.3.orig/debian/python-pexpect.examples +++ pexpect-2.3/debian/python-pexpect.examples @@ -0,0 +1 @@ +examples/* --- pexpect-2.3.orig/debian/pycompat +++ pexpect-2.3/debian/pycompat @@ -0,0 +1 @@ +2 --- pexpect-2.3.orig/debian/watch +++ pexpect-2.3/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://qa.debian.org/watch/sf.php/pexpect pexpect-(.*)\.tar\.gz --- pexpect-2.3.orig/debian/compat +++ pexpect-2.3/debian/compat @@ -0,0 +1,2 @@ +4 + --- pexpect-2.3.orig/debian/python-pexpect.docs +++ pexpect-2.3/debian/python-pexpect.docs @@ -0,0 +1,4 @@ +README +doc + + --- pexpect-2.3.orig/examples/ssh_session.py +++ pexpect-2.3/examples/ssh_session.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python # # Eric S. Raymond #