[Python-modules-commits] r7788 - in packages/pycha/trunk/debian (rules)

bernat at users.alioth.debian.org bernat at users.alioth.debian.org
Mon Mar 2 18:56:39 UTC 2009


    Date: Monday, March 2, 2009 @ 18:56:38
  Author: bernat
Revision: 7788

Don't need to clean since now, since cleaning is now done after testing

Modified:
  packages/pycha/trunk/debian/rules

Modified: packages/pycha/trunk/debian/rules
===================================================================
--- packages/pycha/trunk/debian/rules	2009-03-02 18:42:21 UTC (rev 7787)
+++ packages/pycha/trunk/debian/rules	2009-03-02 18:56:38 UTC (rev 7788)
@@ -15,14 +15,8 @@
 # Launch unittests
 ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
 common-install-indep::
-
 	PYTHONPATH='debian/$(cdbs_curpkg)/$(cdbs_python_support_path)/' \
 		python tests/runner.py
-
-	# Importing the modules generates .pyc files, and dh_python (which
-	# normally cleans them) has already been run. Remove them manually.
-	find 'debian/$(cdbs_curpkg)' -name '*.py[co]' -print0 \
-	| xargs -0 rm -f --
 endif
 
 clean::




More information about the Python-modules-commits mailing list