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

eriol-guest at users.alioth.debian.org eriol-guest at users.alioth.debian.org
Wed Sep 14 15:05:42 UTC 2011


    Date: Wednesday, September 14, 2011 @ 15:05:41
  Author: eriol-guest
Revision: 18525

Enabled testing using python-nose

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

Modified: packages/sphinxcontrib-spelling/trunk/debian/changelog
===================================================================
--- packages/sphinxcontrib-spelling/trunk/debian/changelog	2011-09-14 14:55:54 UTC (rev 18524)
+++ packages/sphinxcontrib-spelling/trunk/debian/changelog	2011-09-14 15:05:41 UTC (rev 18525)
@@ -1,5 +1,5 @@
-sphinxcontrib-spelling (1.2-1) unstable; urgency=low
+sphinxcontrib-spelling (1.2-1) UNRELEASED; urgency=low
 
   * Initial release (Closes: #628649)
 
- -- Daniele Tricoli <eriol at mornie.org>  Tue, 31 May 2011 16:06:37 +0200
+ -- Daniele Tricoli <eriol at mornie.org>  Wed, 14 Sep 2011 17:04:25 +0200

Modified: packages/sphinxcontrib-spelling/trunk/debian/control
===================================================================
--- packages/sphinxcontrib-spelling/trunk/debian/control	2011-09-14 14:55:54 UTC (rev 18524)
+++ packages/sphinxcontrib-spelling/trunk/debian/control	2011-09-14 15:05:41 UTC (rev 18525)
@@ -4,8 +4,10 @@
 Section: python
 Priority: optional
 Build-Depends: debhelper (>= 7.0.50~),
+               myspell-en-us,
                python-all (>= 2.6.6-3),
                python-enchant,
+               python-nose,
                python-setuptools (>= 0.6b3),
                python-sphinx,
                python-support

Modified: packages/sphinxcontrib-spelling/trunk/debian/rules
===================================================================
--- packages/sphinxcontrib-spelling/trunk/debian/rules	2011-09-14 14:55:54 UTC (rev 18524)
+++ packages/sphinxcontrib-spelling/trunk/debian/rules	2011-09-14 15:05:41 UTC (rev 18525)
@@ -2,3 +2,11 @@
 
 %:
 	dh $@
+
+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