[Python-modules-commits] r26668 - in packages/pexpect/trunk/debian (9 files)
noskcaj-guest at users.alioth.debian.org
noskcaj-guest at users.alioth.debian.org
Thu Dec 5 07:11:40 UTC 2013
Date: Thursday, December 5, 2013 @ 07:11:39
Author: noskcaj-guest
Revision: 26668
* New upstream release. Closes: #729518
* Add packaging for Python 3.
* Use pybuild for packaging.
Added:
packages/pexpect/trunk/debian/python-pexpect.install
packages/pexpect/trunk/debian/python3-pexpect.install
packages/pexpect/trunk/debian/run_tests.sh
Modified:
packages/pexpect/trunk/debian/changelog
packages/pexpect/trunk/debian/control
packages/pexpect/trunk/debian/patches/series
packages/pexpect/trunk/debian/python-pexpect.doc-base
packages/pexpect/trunk/debian/rules
packages/pexpect/trunk/debian/watch
Modified: packages/pexpect/trunk/debian/changelog
===================================================================
--- packages/pexpect/trunk/debian/changelog 2013-12-05 05:44:40 UTC (rev 26667)
+++ packages/pexpect/trunk/debian/changelog 2013-12-05 07:11:39 UTC (rev 26668)
@@ -1,8 +1,14 @@
-pexpect (2.4-2) UNRELEASED; urgency=low
+pexpect (3.0-1) UNRELEASED; urgency=low
+ [ Thomas Kluyver ]
+ * New upstream release. Closes: #729518
+ * Add packaging for Python 3.
+ * Use pybuild for packaging.
+
+ [ Jakub Wilk ]
* Use canonical URIs for Vcs-* fields.
- -- Jakub Wilk <jwilk at debian.org> Sun, 05 May 2013 16:01:30 +0200
+ -- Thomas Kluyver <takowl at gmail.com> Wed, 13 Nov 2013 09:40:11 -0800
pexpect (2.4-1) unstable; urgency=low
Modified: packages/pexpect/trunk/debian/control
===================================================================
--- packages/pexpect/trunk/debian/control 2013-12-05 05:44:40 UTC (rev 26667)
+++ packages/pexpect/trunk/debian/control 2013-12-05 07:11:39 UTC (rev 26668)
@@ -1,13 +1,15 @@
Source: pexpect
Section: python
Priority: optional
-Build-Depends: python-all (>= 2.6.6-3~), debhelper (>= 7.0.50~)
+Build-Depends: python-all (>= 2.6.6-3~), python3-all, python-sphinx, debhelper (>= 7.0.50~)
Maintainer: Ganesan Rajagopal <rganesan at debian.org>
Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Standards-Version: 3.9.3
-Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/pexpect/trunk/
-Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/pexpect/trunk/
+Standards-Version: 3.9.4
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/pexpect/trunk/
+Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pexpect/trunk/
Homepage: http://www.noah.org/wiki/Pexpect
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
Package: python-pexpect
Architecture: all
@@ -18,3 +20,13 @@
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.
+
+Package: python3-pexpect
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: Python 3 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.
Modified: packages/pexpect/trunk/debian/patches/series
===================================================================
--- packages/pexpect/trunk/debian/patches/series 2013-12-05 05:44:40 UTC (rev 26667)
+++ packages/pexpect/trunk/debian/patches/series 2013-12-05 07:11:39 UTC (rev 26668)
@@ -1,2 +0,0 @@
-10_add_interpreter_line.patch
-20_fix_chess_example.patch
Modified: packages/pexpect/trunk/debian/python-pexpect.doc-base
===================================================================
--- packages/pexpect/trunk/debian/python-pexpect.doc-base 2013-12-05 05:44:40 UTC (rev 26667)
+++ packages/pexpect/trunk/debian/python-pexpect.doc-base 2013-12-05 07:11:39 UTC (rev 26668)
@@ -8,5 +8,5 @@
Section: Programming/Python
Format: HTML
-Index: /usr/share/doc/python-pexpect/doc/index.html
-Files: /usr/share/doc/python-pexpect/doc/*.html
+Index: /usr/share/doc/python-pexpect/html/index.html
+Files: /usr/share/doc/python-pexpect/html/*
Added: packages/pexpect/trunk/debian/python-pexpect.install
===================================================================
--- packages/pexpect/trunk/debian/python-pexpect.install (rev 0)
+++ packages/pexpect/trunk/debian/python-pexpect.install 2013-12-05 07:11:39 UTC (rev 26668)
@@ -0,0 +1 @@
+usr/lib/python2*
Added: packages/pexpect/trunk/debian/python3-pexpect.install
===================================================================
--- packages/pexpect/trunk/debian/python3-pexpect.install (rev 0)
+++ packages/pexpect/trunk/debian/python3-pexpect.install 2013-12-05 07:11:39 UTC (rev 26668)
@@ -0,0 +1 @@
+usr/lib/python3*
Modified: packages/pexpect/trunk/debian/rules
===================================================================
--- packages/pexpect/trunk/debian/rules 2013-12-05 05:44:40 UTC (rev 26667)
+++ packages/pexpect/trunk/debian/rules 2013-12-05 07:11:39 UTC (rev 26668)
@@ -1,4 +1,24 @@
#!/usr/bin/make -f
+PYTHON2_VERSIONS=$(shell pyversions -vr)
+PYTHON3_VERSIONS=$(shell py3versions -vr)
+PYTHON_VERSIONS=${PYTHON2_VERSIONS} ${PYTHON3_VERSIONS}
%:
- dh $@ --with python2
+ dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
+
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -rf doc/_build
+ rm -rf .coverage
+ rm -rf tests/log
+
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+test-python%:
+ PYTHON=python$* sh debian/run_tests.sh
+
+override_dh_auto_test: $(foreach pyversion,${PYTHON_VERSIONS},$(pyversion:%=test-python%))
+endif
+
+override_dh_installdocs:
+ PYTHONPATH=`pwd` make -C doc html
+ dh_installdocs doc/_build/html
Added: packages/pexpect/trunk/debian/run_tests.sh
===================================================================
--- packages/pexpect/trunk/debian/run_tests.sh (rev 0)
+++ packages/pexpect/trunk/debian/run_tests.sh 2013-12-05 07:11:39 UTC (rev 26668)
@@ -0,0 +1,3 @@
+pwd
+. ./test.env
+$PYTHON tools/testall.py
Modified: packages/pexpect/trunk/debian/watch
===================================================================
--- packages/pexpect/trunk/debian/watch 2013-12-05 05:44:40 UTC (rev 26667)
+++ packages/pexpect/trunk/debian/watch 2013-12-05 07:11:39 UTC (rev 26668)
@@ -1,2 +1,2 @@
version=3
-http://qa.debian.org/watch/sf.php/pexpect pexpect-(.*)\.tar\.gz
+https://pypi.python.org/packages/source/p/pexpect/pexpect-(.*).tar.gz
More information about the Python-modules-commits
mailing list