[Python-apps-commits] r5349 - in packages/ocrodjvu/trunk/debian (changelog control rules)
jwilk at users.alioth.debian.org
jwilk at users.alioth.debian.org
Sat Jun 5 12:58:27 UTC 2010
Date: Saturday, June 5, 2010 @ 12:58:21
Author: jwilk
Revision: 5349
Run doctests at build time; build-depend on python-nose.
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-06-04 13:47:15 UTC (rev 5348)
+++ packages/ocrodjvu/trunk/debian/changelog 2010-06-05 12:58:21 UTC (rev 5349)
@@ -1,8 +1,9 @@
ocrodjvu (0.4.5-2) UNRELEASED; urgency=low
* Run doctests at build time.
+ + Build-depend on python-nose.
- -- Jakub Wilk <jwilk at debian.org> Tue, 25 May 2010 23:09:36 +0200
+ -- Jakub Wilk <jwilk at debian.org> Sat, 05 Jun 2010 14:57:26 +0200
ocrodjvu (0.4.5-1) unstable; urgency=low
Modified: packages/ocrodjvu/trunk/debian/control
===================================================================
--- packages/ocrodjvu/trunk/debian/control 2010-06-04 13:47:15 UTC (rev 5348)
+++ packages/ocrodjvu/trunk/debian/control 2010-06-05 12:58:21 UTC (rev 5349)
@@ -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-all, python-support (>= 0.90),
+Build-Depends: debhelper (>= 7.0.50~), python-all, python-support (>= 0.90), python-nose,
python-argparse, python-lxml, python-djvu, python-pyicu,
djvulibre-bin (>= 3.5.20-5~), libxml2-utils
XS-Python-Version: >= 2.5
Modified: packages/ocrodjvu/trunk/debian/rules
===================================================================
--- packages/ocrodjvu/trunk/debian/rules 2010-06-04 13:47:15 UTC (rev 5348)
+++ packages/ocrodjvu/trunk/debian/rules 2010-06-05 12:58:21 UTC (rev 5349)
@@ -20,9 +20,9 @@
.PHONY: override_dh_auto_test
override_dh_auto_test:
ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
- set -e; \
+ set -e -x; \
for python in $(shell pyversions -r); do \
- $$python -m doctest; \
+ $$python /usr/bin/nosetests --with-doctest --verbose; \
for app in hocr2djvused djvu2hocr; do \
$(MAKE) -C tests/$$app/ clean; \
$(MAKE) -C tests/$$app/ $$app="$$python ../../$$app"; \
More information about the Python-apps-commits
mailing list