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

bernat at users.alioth.debian.org bernat at users.alioth.debian.org
Mon Mar 2 19:08:37 UTC 2009


    Date: Monday, March 2, 2009 @ 19:08:37
  Author: bernat
Revision: 7790

Move unittest to common-install-indep to not rely on python-support
internal values

Modified:
  packages/cerealizer/trunk/debian/rules

Modified: packages/cerealizer/trunk/debian/rules
===================================================================
--- packages/cerealizer/trunk/debian/rules	2009-03-02 19:06:39 UTC (rev 7789)
+++ packages/cerealizer/trunk/debian/rules	2009-03-02 19:08:37 UTC (rev 7790)
@@ -14,7 +14,7 @@
 	find debian/$(cdbs_curpkg)/usr/share/ -type f -exec chmod -R a-x {} \;
 
 ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
-binary-post-install/python-cerealizer:: binary-post-install/%:
-	PYTHONPATH='debian/$(cdbs_curpkg)/usr/lib/$(pyversions -d)/site-packages' \
-                python test/regtest.py
+common-install-indep::
+	PYTHONPATH='debian/python-cerealizer/usr/lib/$(shell pyversions -d)/site-packages' \
+		$(shell pyversions -d) test/regtest.py
 endif




More information about the Python-modules-commits mailing list