[Python-modules-commits] r26691 - in packages/pexpect/trunk/debian (10 files)

asb at users.alioth.debian.org asb at users.alioth.debian.org
Sat Dec 7 01:19:45 UTC 2013


    Date: Saturday, December 7, 2013 @ 01:19:44
  Author: asb
Revision: 26691

Move documentation and examples into a new python-pexpect-doc
package. They are shared between the Python 2 and Python 3 packages,
so there is no need to install them with both.

Added:
  packages/pexpect/trunk/debian/python-pexpect-doc.doc-base
  packages/pexpect/trunk/debian/python-pexpect-doc.examples
  packages/pexpect/trunk/debian/python-pexpect-doc.intall
Modified:
  packages/pexpect/trunk/debian/changelog
  packages/pexpect/trunk/debian/control
  packages/pexpect/trunk/debian/rules
Deleted:
  packages/pexpect/trunk/debian/python-pexpect.doc-base
  packages/pexpect/trunk/debian/python-pexpect.docs
  packages/pexpect/trunk/debian/python-pexpect.examples
  packages/pexpect/trunk/debian/python3-pexpect.docs

Modified: packages/pexpect/trunk/debian/changelog
===================================================================
--- packages/pexpect/trunk/debian/changelog	2013-12-07 00:57:45 UTC (rev 26690)
+++ packages/pexpect/trunk/debian/changelog	2013-12-07 01:19:44 UTC (rev 26691)
@@ -13,6 +13,9 @@
 
   [ Andrew Starr-Bochicchio ]
   * Remove empty debian/patches dir.
+  * Move documentation and examples into a new python-pexpect-doc
+    package. They are shared between the Python 2 and Python 3 packages,
+    so there is no need to install them with both.
 
  -- Jackson Doak <noskcaj at ubuntu.com>  Thu, 05 Dec 2013 18:26:43 +1100
 

Modified: packages/pexpect/trunk/debian/control
===================================================================
--- packages/pexpect/trunk/debian/control	2013-12-07 00:57:45 UTC (rev 26690)
+++ packages/pexpect/trunk/debian/control	2013-12-07 01:19:44 UTC (rev 26691)
@@ -14,6 +14,7 @@
 Package: python-pexpect
 Architecture: all
 Depends: ${misc:Depends}, ${python:Depends}
+Recommends: python-pexpect-doc
 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
@@ -24,9 +25,23 @@
 Package: python3-pexpect
 Architecture: all
 Depends: ${misc:Depends}, ${python3:Depends}
+Recommends: python-pexpect-doc
 Description: Python 3 module for automating interactive applications
  Pexpect is a pure Python 3 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.
+
+Package: python-pexpect-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, ${sphinxdoc:Depends}
+Description: Python module for automating interactive applications (documentation)
+ 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 is the common documentation package.

Added: packages/pexpect/trunk/debian/python-pexpect-doc.doc-base
===================================================================
--- packages/pexpect/trunk/debian/python-pexpect-doc.doc-base	                        (rev 0)
+++ packages/pexpect/trunk/debian/python-pexpect-doc.doc-base	2013-12-07 01:19:44 UTC (rev 26691)
@@ -0,0 +1,12 @@
+Document: pexpect
+Title: A Pure Python Expect-like module.
+Author: Noah Spurrier
+Abstract: 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.
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-pexpect-doc/html/index.html
+Files: /usr/share/doc/python-pexpect-doc/html/*

Added: packages/pexpect/trunk/debian/python-pexpect-doc.examples
===================================================================
--- packages/pexpect/trunk/debian/python-pexpect-doc.examples	                        (rev 0)
+++ packages/pexpect/trunk/debian/python-pexpect-doc.examples	2013-12-07 01:19:44 UTC (rev 26691)
@@ -0,0 +1 @@
+examples/*

Added: packages/pexpect/trunk/debian/python-pexpect-doc.intall
===================================================================
--- packages/pexpect/trunk/debian/python-pexpect-doc.intall	                        (rev 0)
+++ packages/pexpect/trunk/debian/python-pexpect-doc.intall	2013-12-07 01:19:44 UTC (rev 26691)
@@ -0,0 +1 @@
+usr/share/doc

Deleted: packages/pexpect/trunk/debian/python-pexpect.doc-base
===================================================================
--- packages/pexpect/trunk/debian/python-pexpect.doc-base	2013-12-07 00:57:45 UTC (rev 26690)
+++ packages/pexpect/trunk/debian/python-pexpect.doc-base	2013-12-07 01:19:44 UTC (rev 26691)
@@ -1,12 +0,0 @@
-Document: pexpect
-Title: A Pure Python Expect-like module.
-Author: Noah Spurrier
-Abstract: 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.
-Section: Programming/Python
-
-Format: HTML
-Index: /usr/share/doc/python-pexpect/html/index.html
-Files: /usr/share/doc/python-pexpect/html/*

Deleted: packages/pexpect/trunk/debian/python-pexpect.docs
===================================================================
--- packages/pexpect/trunk/debian/python-pexpect.docs	2013-12-07 00:57:45 UTC (rev 26690)
+++ packages/pexpect/trunk/debian/python-pexpect.docs	2013-12-07 01:19:44 UTC (rev 26691)
@@ -1 +0,0 @@
-doc/*

Deleted: packages/pexpect/trunk/debian/python-pexpect.examples
===================================================================
--- packages/pexpect/trunk/debian/python-pexpect.examples	2013-12-07 00:57:45 UTC (rev 26690)
+++ packages/pexpect/trunk/debian/python-pexpect.examples	2013-12-07 01:19:44 UTC (rev 26691)
@@ -1 +0,0 @@
-examples/*

Deleted: packages/pexpect/trunk/debian/python3-pexpect.docs
===================================================================
--- packages/pexpect/trunk/debian/python3-pexpect.docs	2013-12-07 00:57:45 UTC (rev 26690)
+++ packages/pexpect/trunk/debian/python3-pexpect.docs	2013-12-07 01:19:44 UTC (rev 26691)
@@ -1 +0,0 @@
-docs/*
\ No newline at end of file

Modified: packages/pexpect/trunk/debian/rules
===================================================================
--- packages/pexpect/trunk/debian/rules	2013-12-07 00:57:45 UTC (rev 26690)
+++ packages/pexpect/trunk/debian/rules	2013-12-07 01:19:44 UTC (rev 26691)
@@ -21,4 +21,5 @@
 
 override_dh_installdocs:
 	PYTHONPATH=`pwd` make -C doc html
-	dh_installdocs doc/_build/html
+	dh_installdocs -ppython-pexpect-doc doc/_build/html
+	dh_installdocs -A




More information about the Python-modules-commits mailing list