[Python-modules-commits] r19986 - in packages/nose/trunk/debian (10 files)

cjsmo-guest at users.alioth.debian.org cjsmo-guest at users.alioth.debian.org
Tue Jan 10 18:59:26 UTC 2012


    Date: Tuesday, January 10, 2012 @ 18:59:25
  Author: cjsmo-guest
Revision: 19986

create a doc package

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

Modified: packages/nose/trunk/debian/changelog
===================================================================
--- packages/nose/trunk/debian/changelog	2012-01-10 18:46:36 UTC (rev 19985)
+++ packages/nose/trunk/debian/changelog	2012-01-10 18:59:25 UTC (rev 19986)
@@ -15,8 +15,9 @@
     - increased python version to python-all (>= 2.6.6-3~)
     - B-D on python3-all
     - B-D on python3-setuptools
+    - B-D on libjs-jquery
+    - B-D on libjs-underscore.
     - B-D on python-coverage for unittests.
-    - use dh_sphinxdoc
     - remove B-D on cdbs and python-support
     - added python3-nose binary stanza
     - depend on python3-pkg-resources for py3 package.
@@ -25,7 +26,8 @@
     - add myself to uploaders
   * debian/rules
     - updated to use dh_python2 Closes: #631406
-    - use dh_sphinxdoc, remove embeded *.js libs.  Closes: #636079
+    - removed embeded jquery.js, underscore.js and linked to system libs.
+      Closes: #636079
 
  -- Charlie Smotherman <cjsmo at cableone.net>  Mon, 26 Dec 2011 19:38:12 -0500
 

Modified: packages/nose/trunk/debian/control
===================================================================
--- packages/nose/trunk/debian/control	2012-01-10 18:46:36 UTC (rev 19985)
+++ packages/nose/trunk/debian/control	2012-01-10 18:59:25 UTC (rev 19986)
@@ -19,11 +19,22 @@
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/nose/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/nose/trunk/
 
+Package: python-nose-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, ${sphinxdoc:Depends}
+Description: documentation for discovery and running for Python's unittest
+ nose provides an alternate test discovery and running process for
+ unittest, one that is intended to mimic the behavior of py.test as
+ much as is reasonably possible without resorting to too much magic
+ .
+ This package provides the documentation for nose.
+
 Package: python-nose
 Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}, ${sphinxdoc:Depends},
- python-pkg-resources
-Description: test discovery and running for Python's unittest
+Depends: ${python:Depends}, ${misc:Depends}, python-pkg-resources
+Suggests: python-nose-doc
+Description: test discovery and running of Python's unittest
  nose provides an alternate test discovery and running process for
  unittest, one that is intended to mimic the behavior of py.test as
  much as is reasonably possible without resorting to too much magic
@@ -31,6 +42,7 @@
 Package: python3-nose
 Architecture: all
 Depends: ${python3:Depends}, ${misc:Depends}, python3-pkg-resources
+Suggests: python-nose-doc
 Description: test discovery and running for Python3 unittest
  nose provides an alternate test discovery and running process for Python3
  unittest, one that is intended to mimic the behavior of py.test as

Added: packages/nose/trunk/debian/python-nose-doc.doc-base
===================================================================
--- packages/nose/trunk/debian/python-nose-doc.doc-base	                        (rev 0)
+++ packages/nose/trunk/debian/python-nose-doc.doc-base	2012-01-10 18:59:25 UTC (rev 19986)
@@ -0,0 +1,13 @@
+Document: nose
+Title: Unit Testing Extensions for Python
+Author: Phil Thompson
+Abstract: Unit Testing Extensions for Python
+ This is the documentation for nose, an extension of the
+ Python unittest framework that supports simple test
+ collection, a simplified API for writing tests 
+ and many useful plugins.
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-nose-doc/html/index.html
+Files: /usr/share/doc/python-nose-doc/html/*.html

Added: packages/nose/trunk/debian/python-nose-doc.docs
===================================================================
--- packages/nose/trunk/debian/python-nose-doc.docs	                        (rev 0)
+++ packages/nose/trunk/debian/python-nose-doc.docs	2012-01-10 18:59:25 UTC (rev 19986)
@@ -0,0 +1,2 @@
+README.txt
+build/sphinx/html/

Added: packages/nose/trunk/debian/python-nose-doc.examples
===================================================================
--- packages/nose/trunk/debian/python-nose-doc.examples	                        (rev 0)
+++ packages/nose/trunk/debian/python-nose-doc.examples	2012-01-10 18:59:25 UTC (rev 19986)
@@ -0,0 +1 @@
+examples/*

Deleted: packages/nose/trunk/debian/python-nose.doc-base
===================================================================
--- packages/nose/trunk/debian/python-nose.doc-base	2012-01-10 18:46:36 UTC (rev 19985)
+++ packages/nose/trunk/debian/python-nose.doc-base	2012-01-10 18:59:25 UTC (rev 19986)
@@ -1,13 +0,0 @@
-Document: nose
-Title: Unit Testing Extensions for Python
-Author: Phil Thompson
-Abstract: Unit Testing Extensions for Python
- This is the documentation for nose, an extension of the
- Python unittest framework that supports simple test
- collection, a simplified API for writing tests 
- and many useful plugins.
-Section: Programming/Python
-
-Format: HTML
-Index: /usr/share/doc/python-nose/html/index.html
-Files: /usr/share/doc/python-nose/html/*.html

Deleted: packages/nose/trunk/debian/python-nose.docs
===================================================================
--- packages/nose/trunk/debian/python-nose.docs	2012-01-10 18:46:36 UTC (rev 19985)
+++ packages/nose/trunk/debian/python-nose.docs	2012-01-10 18:59:25 UTC (rev 19986)
@@ -1,2 +0,0 @@
-README.txt
-build/sphinx/html/

Deleted: packages/nose/trunk/debian/python-nose.examples
===================================================================
--- packages/nose/trunk/debian/python-nose.examples	2012-01-10 18:46:36 UTC (rev 19985)
+++ packages/nose/trunk/debian/python-nose.examples	2012-01-10 18:59:25 UTC (rev 19986)
@@ -1 +0,0 @@
-examples/*

Deleted: packages/nose/trunk/debian/python3-nose.examples
===================================================================
--- packages/nose/trunk/debian/python3-nose.examples	2012-01-10 18:46:36 UTC (rev 19985)
+++ packages/nose/trunk/debian/python3-nose.examples	2012-01-10 18:59:25 UTC (rev 19986)
@@ -1 +0,0 @@
-examples/*

Modified: packages/nose/trunk/debian/rules
===================================================================
--- packages/nose/trunk/debian/rules	2012-01-10 18:46:36 UTC (rev 19985)
+++ packages/nose/trunk/debian/rules	2012-01-10 18:59:25 UTC (rev 19986)
@@ -19,11 +19,11 @@
 		$$py setup.py build_sphinx; \
 	done
 
-#override_dh_auto_test:
-	#set -e; \
-	#for py in $(PYVERS); do \
-		#$$py setup.py nosetests -v; \
-	#done
+override_dh_auto_test:
+	set -e; \
+	for py in $(PYVERS); do \
+		$$py setup.py nosetests; \
+	done
 
 override_dh_auto_clean:
 	rm -rf build
@@ -46,10 +46,6 @@
 	rm $(DESTDIR2)/usr/bin/nosetests-*
 	rm $(DESTDIR3)/usr/bin/nosetests-*
 
-override_dh_install:
-	dh_install -Xunderscore.js -Xsearchtools.js -Xsidebar.js -Xjquery.js \
-	-Xdoctools.js
-
 override_dh_installman:
 	cp nosetests.1 nosetests_py2.1
 	dh_installman -p python-nose nosetests_py2.1




More information about the Python-modules-commits mailing list