[Python-modules-commits] r25908 - in packages/python-gear/trunk/debian (control rules)

hashar-guest at users.alioth.debian.org hashar-guest at users.alioth.debian.org
Fri Sep 20 11:33:00 UTC 2013


    Date: Friday, September 20, 2013 @ 11:32:59
  Author: hashar-guest
Revision: 25908

python-gear: deps to let us run tests

* removes the sphinx doctest since there are none
* update the test command, matching the one from upstream
* adds in a bunch of build dependency to let us run tests if needed

Modified:
  packages/python-gear/trunk/debian/control
  packages/python-gear/trunk/debian/rules

Modified: packages/python-gear/trunk/debian/control
===================================================================
--- packages/python-gear/trunk/debian/control	2013-09-19 16:29:38 UTC (rev 25907)
+++ packages/python-gear/trunk/debian/control	2013-09-20 11:32:59 UTC (rev 25908)
@@ -11,20 +11,23 @@
 Build-Depends: debhelper (>= 8),
                openstack-pkg-tools,
                python-all (>= 2.6.6-3),
+               python-daemon,
+               python-extras,
+               python-fixtures (>=0.3.12),
                python-setuptools (>= 0.6b3),
-               python-pbr
+               python-sphinx (>=1.1.2),
+               python-subunit,
+               python-pbr,
+               python-testrepository (>=0.0.13),
+               python-testresources,
+               python-testscenarios,
+               python-testtools (>=0.9.27),
+               python-tox
 #Build-Depends-Indep:
-# From test-requirements.txt we have:
+# From test-requirements.txt we are missing:
 #coverage>=3.6
 #discover
-#fixtures>=0.3.12
 #hacking>=0.5.3,<0.6
-#python-subunit
-#sphinx>=1.1.2
-#testrepository>=0.0.13
-#testresources
-#testscenarios
-#testtools>=0.9.27
 Standards-Version: 3.9.3
 Homepage: https://pypi.python.org/pypi/gear
 #Vcs-Git: https://review.openstack.org/p/openstack-infra/gear.git

Modified: packages/python-gear/trunk/debian/rules
===================================================================
--- packages/python-gear/trunk/debian/rules	2013-09-19 16:29:38 UTC (rev 25907)
+++ packages/python-gear/trunk/debian/rules	2013-09-20 11:32:59 UTC (rev 25908)
@@ -17,10 +17,8 @@
 
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-	set -ex; for python in $(shell pyversions -s); do \
-		$$python -m doctest tests.rst; \
-	done
-	nosetests --verbose
+	# Command comes from upstream tox.ini
+	python setup.py testr --slowest
 endif
 
 .PHONY: get-orig-source override_dh_auto_test




More information about the Python-modules-commits mailing list