[Python-modules-commits] r19940 - in packages/nose/trunk/debian (3 files)

cjsmo-guest at users.alioth.debian.org cjsmo-guest at users.alioth.debian.org
Mon Jan 9 04:46:29 UTC 2012


    Date: Monday, January 9, 2012 @ 04:46:27
  Author: cjsmo-guest
Revision: 19940

use dh_sphinxdoc

Modified:
  packages/nose/trunk/debian/control
  packages/nose/trunk/debian/rules
Deleted:
  packages/nose/trunk/debian/python-nose.links

Modified: packages/nose/trunk/debian/control
===================================================================
--- packages/nose/trunk/debian/control	2012-01-08 19:16:38 UTC (rev 19939)
+++ packages/nose/trunk/debian/control	2012-01-09 04:46:27 UTC (rev 19940)
@@ -9,11 +9,9 @@
  python3-all,
  python-setuptools (>= 0.6a9),
  python3-setuptools,
- python-sphinx (>= 0.6.1),
+ python-sphinx (>= 1.0.7+dfsg),
  python-nose,
- python-coverage,
- libjs-jquery,
- libjs-underscore
+ python-coverage
 X-Python-Version: >= 2.5
 X-Python3-Version: >= 3.2
 Standards-Version: 3.9.2
@@ -23,7 +21,8 @@
 
 Package: python-nose
 Architecture: all
-Depends: ${python:Depends}, python-pkg-resources, ${misc:Depends}
+Depends: ${python:Depends}, ${misc:Depends}, ${sphinxdoc:Depends},
+ python-pkg-resources
 Description: test 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
@@ -31,7 +30,7 @@
 
 Package: python3-nose
 Architecture: all
-Depends: ${python3:Depends}, python3-pkg-resources, ${misc:Depends}
+Depends: ${python3:Depends}, ${misc:Depends}, python3-pkg-resources
 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

Deleted: packages/nose/trunk/debian/python-nose.links
===================================================================
--- packages/nose/trunk/debian/python-nose.links	2012-01-08 19:16:38 UTC (rev 19939)
+++ packages/nose/trunk/debian/python-nose.links	2012-01-09 04:46:27 UTC (rev 19940)
@@ -1,2 +0,0 @@
-usr/share/javascript/jquery/jquery.js usr/share/doc/python-nose/html/_static/jquery.js
-usr/share/javascript/underscore/underscore.js usr/share/doc/python-nose/html/_static/underscore.js

Modified: packages/nose/trunk/debian/rules
===================================================================
--- packages/nose/trunk/debian/rules	2012-01-08 19:16:38 UTC (rev 19939)
+++ packages/nose/trunk/debian/rules	2012-01-09 04:46:27 UTC (rev 19940)
@@ -7,7 +7,7 @@
 DESTDIR3 := $(CURDIR)/debian/python3-nose
 
 %:
-	dh $@ --with python2,python3
+	dh $@ --with sphinxdoc,python2,python3
 
 override_dh_auto_build:
 	set -e; \
@@ -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 -v; \
+	#done
 
 override_dh_auto_clean:
 	rm -rf build
@@ -47,12 +47,13 @@
 	rm $(DESTDIR3)/usr/bin/nosetests-*
 
 override_dh_install:
-	dh_install -Xjquery.js -Xunderscore.js
+	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
-		cp nosetests.1 nosetests_py3.1
-		dh_installman -p python3-nose nosetests_py3.1
+	cp nosetests.1 nosetests_py2.1
+	dh_installman -p python-nose nosetests_py2.1
+	cp nosetests.1 nosetests_py3.1
+	dh_installman -p python3-nose nosetests_py3.1
 
 




More information about the Python-modules-commits mailing list