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

bernat at users.alioth.debian.org bernat at users.alioth.debian.org
Mon Mar 2 19:06:40 UTC 2009


    Date: Monday, March 2, 2009 @ 19:06:39
  Author: bernat
Revision: 7789

Another try to run unittests correctly

Modified:
  packages/pycha/trunk/debian/rules

Modified: packages/pycha/trunk/debian/rules
===================================================================
--- packages/pycha/trunk/debian/rules	2009-03-02 18:56:38 UTC (rev 7788)
+++ packages/pycha/trunk/debian/rules	2009-03-02 19:06:39 UTC (rev 7789)
@@ -15,8 +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
+	PYTHONPATH='debian/python-pycha/usr/lib/$(shell pyversions -d)/site-packages' \
+		$(shell pyversions -d) tests/runner.py
 endif
 
 clean::




More information about the Python-modules-commits mailing list