[Python-apps-commits] r8923 - in packages/didjvu/trunk/debian (changelog control rules)
danstender-guest at users.alioth.debian.org
danstender-guest at users.alioth.debian.org
Mon Jul 2 14:00:59 UTC 2012
Date: Monday, July 2, 2012 @ 14:00:56
Author: danstender-guest
Revision: 8923
added execution of tests, worked on dependencies
Modified:
packages/didjvu/trunk/debian/changelog
packages/didjvu/trunk/debian/control
packages/didjvu/trunk/debian/rules
Modified: packages/didjvu/trunk/debian/changelog
===================================================================
--- packages/didjvu/trunk/debian/changelog 2012-07-01 14:35:38 UTC (rev 8922)
+++ packages/didjvu/trunk/debian/changelog 2012-07-02 14:00:56 UTC (rev 8923)
@@ -1,7 +1,12 @@
didjvu (0.2.6-1) UNRELEASED; urgency=low
* New upstream release.
- * Added b-p for python-argparse (cf. #655598).
+ * deb/control:
+ + Added b-p for python-argparse (cf. #655598).
+ + Pushed Python dep down to 2.6 (cf. doc/dependencies.txt).
+ + Added pyexiv2 to Suggests.
+ * deb/rules:
+ + Added execution of tests.
-- Daniel Stender <daniel at danielstender.com> Wed, 20 Jun 2012 10:48:14 +0200
Modified: packages/didjvu/trunk/debian/control
===================================================================
--- packages/didjvu/trunk/debian/control 2012-07-01 14:35:38 UTC (rev 8922)
+++ packages/didjvu/trunk/debian/control 2012-07-02 14:00:56 UTC (rev 8923)
@@ -16,13 +16,13 @@
Depends:
djvulibre-bin (>= 3.5.21),
minidjvu (>= 0.8),
- python (>= 2.7),
+ python (>= 2.6),
python-argparse (>= 1.2.1-2~),
python-gamera (>= 3.2.3),
python-imaging,
${misc:Depends},
${python:Depends}
-Suggests: python-libxmp
+Suggests: python-libxmp | python-pyexiv2 (>= 0.3)
Description: DjVu encoder with foreground/background separation
The DjVu graphics format is very effective because it uses
multiple layers which are differently compressed. For the
Modified: packages/didjvu/trunk/debian/rules
===================================================================
--- packages/didjvu/trunk/debian/rules 2012-07-01 14:35:38 UTC (rev 8922)
+++ packages/didjvu/trunk/debian/rules 2012-07-02 14:00:56 UTC (rev 8923)
@@ -1,4 +1,6 @@
#!/usr/bin/make -f
+#export DH_VERBOSE=1
+
%:
dh $@ --with python2
@@ -7,3 +9,11 @@
override_dh_installchangelogs:
dh_installchangelogs doc/changelog
+override_dh_auto_test:
+ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
+ set -e -x; \
+ for python in $(shell pyversions -r); do \
+ grep --include='*.py' '>>>' -r . -l | xargs $$python /usr/bin/nosetests --with-doctest -v; \
+ done
+endif
+
More information about the Python-apps-commits
mailing list