[Python-modules-commits] r22596 - in packages/python-psutil/trunk/debian (changelog rules)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Tue Aug 28 18:35:12 UTC 2012


    Date: Tuesday, August 28, 2012 @ 18:35:10
  Author: morph
Revision: 22596

* debian/rules
  - refactor build and test targets

Modified:
  packages/python-psutil/trunk/debian/changelog
  packages/python-psutil/trunk/debian/rules

Modified: packages/python-psutil/trunk/debian/changelog
===================================================================
--- packages/python-psutil/trunk/debian/changelog	2012-08-28 16:19:13 UTC (rev 22595)
+++ packages/python-psutil/trunk/debian/changelog	2012-08-28 18:35:10 UTC (rev 22596)
@@ -1,3 +1,10 @@
+python-psutil (0.6.1-2) UNRELEASED; urgency=low
+
+  * debian/rules
+    - refactor build and test targets
+
+ -- Sandro Tosi <morph at debian.org>  Tue, 28 Aug 2012 20:34:54 +0200
+
 python-psutil (0.6.1-1) experimental; urgency=low
 
   * New upstream release

Modified: packages/python-psutil/trunk/debian/rules
===================================================================
--- packages/python-psutil/trunk/debian/rules	2012-08-28 16:19:13 UTC (rev 22595)
+++ packages/python-psutil/trunk/debian/rules	2012-08-28 18:35:10 UTC (rev 22596)
@@ -9,9 +9,8 @@
 %:
 	dh $@
 
-build:
-	dh build
-
+override_dh_auto_test:
+ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
 	# run tests
 	-for test in test_memory_leaks.py test_psutil.py ;\
 	do \
@@ -21,6 +20,7 @@
 	        PYTHONPATH=$$LIB $$python test/$$test ; \
 	    done \
 	done
+endif
 
 override_dh_installchangelogs:
 	dh_installchangelogs HISTORY




More information about the Python-modules-commits mailing list