[Python-modules-commits] r29145 - in packages/sphinxcontrib-spelling/trunk/debian (2 files)

eriol-guest at users.alioth.debian.org eriol-guest at users.alioth.debian.org
Thu May 29 00:44:21 UTC 2014


    Date: Thursday, May 29, 2014 @ 00:44:20
  Author: eriol-guest
Revision: 29145

Switched to PYBUILD_TEST_NOSE=1 for tests

Modified:
  packages/sphinxcontrib-spelling/trunk/debian/changelog
  packages/sphinxcontrib-spelling/trunk/debian/rules

Modified: packages/sphinxcontrib-spelling/trunk/debian/changelog
===================================================================
--- packages/sphinxcontrib-spelling/trunk/debian/changelog	2014-05-28 20:07:10 UTC (rev 29144)
+++ packages/sphinxcontrib-spelling/trunk/debian/changelog	2014-05-29 00:44:20 UTC (rev 29145)
@@ -20,12 +20,13 @@
   * debian/rules
     - Built documentation using sphinx-build inside override_dh_auto_build
     - Cleaned build documentation inside override_dh_auto_clean
+    - Switched to PYBUILD_TEST_NOSE=1 for tests
   * debian/tests/unittests
     - Updated tests path due to upstream change
   * debian/watch
     - Switched download URL to HTTPS
 
- -- Daniele Tricoli <eriol at mornie.org>  Wed, 28 May 2014 06:30:10 +0200
+ -- Daniele Tricoli <eriol at mornie.org>  Thu, 29 May 2014 02:41:04 +0200
 
 sphinxcontrib-spelling (1.4-1) unstable; urgency=low
 

Modified: packages/sphinxcontrib-spelling/trunk/debian/rules
===================================================================
--- packages/sphinxcontrib-spelling/trunk/debian/rules	2014-05-28 20:07:10 UTC (rev 29144)
+++ packages/sphinxcontrib-spelling/trunk/debian/rules	2014-05-29 00:44:20 UTC (rev 29145)
@@ -2,6 +2,7 @@
 
 export PYTHONWARNINGS=d
 export PYBUILD_NAME=sphinxcontrib.spelling
+export PYBUILD_TEST_NOSE=1
 
 %:
 	dh $@ --with python2,sphinxdoc --buildsystem=pybuild
@@ -13,11 +14,3 @@
 override_dh_auto_build:
 	dh_auto_build
 	PYTHONPATH=. sphinx-build -N -bhtml docs/source docs/_build/html
-
-override_dh_auto_test:
-ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
-	set -e; \
-	for python in $(shell pyversions -r); do \
-		$$python /usr/bin/nosetests; \
-	done
-endif




More information about the Python-modules-commits mailing list