[Python-modules-commits] r7684 - in packages/cerealizer/trunk/debian (changelog rules)

bernat at users.alioth.debian.org bernat at users.alioth.debian.org
Sat Feb 21 13:35:58 UTC 2009


    Date: Saturday, February 21, 2009 @ 13:35:57
  Author: bernat
Revision: 7684

Invoke unit tests in a way that works with newer
python-support. Closes: #516139.

Modified:
  packages/cerealizer/trunk/debian/changelog
  packages/cerealizer/trunk/debian/rules

Modified: packages/cerealizer/trunk/debian/changelog
===================================================================
--- packages/cerealizer/trunk/debian/changelog	2009-02-21 12:02:08 UTC (rev 7683)
+++ packages/cerealizer/trunk/debian/changelog	2009-02-21 13:35:57 UTC (rev 7684)
@@ -1,3 +1,10 @@
+cerealizer (0.7-3) UNRELEASED; urgency=low
+
+  * Invoke unit tests in a way that works with newer
+    python-support. Closes: #516139.
+
+ -- Vincent Bernat <bernat at debian.org>  Sat, 21 Feb 2009 14:32:52 +0100
+
 cerealizer (0.7-2) unstable; urgency=low
 
   [ Vincent Bernat ]

Modified: packages/cerealizer/trunk/debian/rules
===================================================================
--- packages/cerealizer/trunk/debian/rules	2009-02-21 12:02:08 UTC (rev 7683)
+++ packages/cerealizer/trunk/debian/rules	2009-02-21 13:35:57 UTC (rev 7684)
@@ -15,8 +15,6 @@
 
 ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
 binary-post-install/python-cerealizer:: binary-post-install/%:
-	PYTHONPATH='debian/$(cdbs_curpkg)/usr/share/python-support/python-cerealizer' \
-		python test/regtest.py
-	find 'debian/$(cdbs_curpkg)/usr/share/python-support/python-cerealizer' \
-		-regex '.*/.*\.py[co]' -print0 | xargs -0 rm -f --
+	PYTHONPATH='debian/$(cdbs_curpkg)/usr/lib/$(pyversions -d)/site-packages' \
+                python test/regtest.py
 endif




More information about the Python-modules-commits mailing list