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

mpitt at users.alioth.debian.org mpitt at users.alioth.debian.org
Wed Mar 20 13:15:41 UTC 2013


    Date: Wednesday, March 20, 2013 @ 13:15:40
  Author: mpitt
Revision: 23734

debian/rules: Fix clean rule to not call python 2.

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

Modified: packages/python-dbusmock/trunk/debian/changelog
===================================================================
--- packages/python-dbusmock/trunk/debian/changelog	2013-03-20 13:01:01 UTC (rev 23733)
+++ packages/python-dbusmock/trunk/debian/changelog	2013-03-20 13:15:40 UTC (rev 23734)
@@ -1,6 +1,7 @@
 python-dbusmock (0.6-1) UNRELEASED; urgency=low
 
   * New upstream release.
+  * debian/rules: Fix clean rule to not call python 2.
 
  -- Martin Pitt <mpitt at debian.org>  Wed, 20 Mar 2013 13:59:47 +0100
 

Modified: packages/python-dbusmock/trunk/debian/rules
===================================================================
--- packages/python-dbusmock/trunk/debian/rules	2013-03-20 13:01:01 UTC (rev 23733)
+++ packages/python-dbusmock/trunk/debian/rules	2013-03-20 13:15:40 UTC (rev 23734)
@@ -5,7 +5,9 @@
 
 # needs manual commands for Python 3, see Debian #597105
 override_dh_auto_clean:
-	dh_auto_clean
+	set -ex; for python in $(shell py3versions -r); do \
+	    $$python setup.py clean || true; \
+	done
 	rm -rf build
 
 override_dh_auto_build:




More information about the Python-modules-commits mailing list