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

bernat at users.alioth.debian.org bernat at users.alioth.debian.org
Sun Aug 31 13:10:59 UTC 2008


    Date: Sunday, August 31, 2008 @ 13:10:58
  Author: bernat
Revision: 6415

New upstream release.
Run unittests

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

Modified: packages/cerealizer/trunk/debian/changelog
===================================================================
--- packages/cerealizer/trunk/debian/changelog	2008-08-31 13:00:03 UTC (rev 6414)
+++ packages/cerealizer/trunk/debian/changelog	2008-08-31 13:10:58 UTC (rev 6415)
@@ -1,9 +1,11 @@
-cerealizer (0.6-3) UNRELEASED; urgency=low
+cerealizer (0.7-1) UNRELEASED; urgency=low
 
   * Adopt package. Thanks to Marc for his work.
+  * New upstream release.
   * In debian/control:
       - switch to Standards-Version 3.8.0, no change required
       - add VCS fields
+  * Run unittests on build.
   * Remove debian/pycompat which is not needed anymore.
 
  -- Vincent Bernat <bernat at debian.org>  Sun, 31 Aug 2008 14:52:43 +0200

Modified: packages/cerealizer/trunk/debian/rules
===================================================================
--- packages/cerealizer/trunk/debian/rules	2008-08-31 13:00:03 UTC (rev 6414)
+++ packages/cerealizer/trunk/debian/rules	2008-08-31 13:10:58 UTC (rev 6415)
@@ -13,3 +13,10 @@
 binary-install/$(DEB_PYTHON_MODULE_PACKAGE)::
 	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/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 --
+endif




More information about the Python-modules-commits mailing list