[Python-modules-commits] r16425 - in packages/mahotas/trunk/debian (rules)

luispedro-guest at users.alioth.debian.org luispedro-guest at users.alioth.debian.org
Thu Apr 7 00:44:14 UTC 2011


    Date: Thursday, April 7, 2011 @ 00:44:12
  Author: luispedro-guest
Revision: 16425

ENH Use unit tests. Other minor improvements.

Modified:
  packages/mahotas/trunk/debian/rules

Modified: packages/mahotas/trunk/debian/rules
===================================================================
--- packages/mahotas/trunk/debian/rules	2011-04-07 00:42:39 UTC (rev 16424)
+++ packages/mahotas/trunk/debian/rules	2011-04-07 00:44:12 UTC (rev 16425)
@@ -3,6 +3,21 @@
 %:
 	dh $@ --with python2
 
-clean:
+override_dh_clean:
+	dh_clean
 	rm -rf *.egg-info/
+	rm -rf build
 
+override_dh_strip:
+	dh_strip --dbg-package=python-mahotas-dbg
+
+override_dh_auto_test:
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+	set -e; \
+	for python in $(shell pyversions -r); do \
+		$$python setup.py test; \
+	done
+endif
+
+
+




More information about the Python-modules-commits mailing list