[Python-apps-commits] r4886 - in packages/ocrodjvu/trunk/debian (changelog control rules)

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Wed Mar 3 13:17:17 UTC 2010


    Date: Wednesday, March 3, 2010 @ 13:16:58
  Author: jwilk
Revision: 4886

* Respect the ?\226?\128?\152nocheck?\226?\128?\153 build option.
* Run tests with all supported Python versions:
  + Build-depend on python-all.

Modified:
  packages/ocrodjvu/trunk/debian/changelog
  packages/ocrodjvu/trunk/debian/control
  packages/ocrodjvu/trunk/debian/rules

Modified: packages/ocrodjvu/trunk/debian/changelog
===================================================================
--- packages/ocrodjvu/trunk/debian/changelog	2010-03-03 10:25:23 UTC (rev 4885)
+++ packages/ocrodjvu/trunk/debian/changelog	2010-03-03 13:16:58 UTC (rev 4886)
@@ -3,8 +3,11 @@
   * Let dh_installdocs install the upstream changelog.
   * Bump standards version to 3.8.4 (no changes needed).
   * Update my e-mail address.
+  * Respect the ‘nocheck’ build option.
+  * Run tests with all supported Python versions:
+    + Build-depend on python-all.
 
- -- Jakub Wilk <jwilk at debian.org>  Sun, 31 Jan 2010 00:41:58 +0100
+ -- Jakub Wilk <jwilk at debian.org>  Wed, 03 Mar 2010 14:04:44 +0100
 
 ocrodjvu (0.4.1-1) unstable; urgency=low
 

Modified: packages/ocrodjvu/trunk/debian/control
===================================================================
--- packages/ocrodjvu/trunk/debian/control	2010-03-03 10:25:23 UTC (rev 4885)
+++ packages/ocrodjvu/trunk/debian/control	2010-03-03 13:16:58 UTC (rev 4886)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Jakub Wilk <jwilk at debian.org>
 Uploaders: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 7.0.50~), python-support (>= 0.90),
+Build-Depends: debhelper (>= 7.0.50~), python-all, python-support (>= 0.90),
  python-argparse, python-lxml, python-djvu, python-pyicu
 XS-Python-Version: >= 2.5
 Standards-Version: 3.8.4

Modified: packages/ocrodjvu/trunk/debian/rules
===================================================================
--- packages/ocrodjvu/trunk/debian/rules	2010-03-03 10:25:23 UTC (rev 4885)
+++ packages/ocrodjvu/trunk/debian/rules	2010-03-03 13:16:58 UTC (rev 4886)
@@ -19,7 +19,13 @@
 
 .PHONY: override_dh_auto_test
 override_dh_auto_test:
-	$(MAKE) -C tests/
+ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
+	set -e; \
+	for python in $(shell pyversions -r); do \
+		$(MAKE) -C tests/ clean; \
+		$(MAKE) -C tests/ hocr2djvused="$$python ../hocr2djvused"; \
+	done
+endif
 
 .PHONY: binary
 binary:




More information about the Python-apps-commits mailing list