[Python-apps-commits] r7393 - in packages/ocrodjvu/trunk/debian (changelog control rules)
danstender-guest at users.alioth.debian.org
danstender-guest at users.alioth.debian.org
Tue Aug 2 19:12:35 UTC 2011
Date: Tuesday, August 2, 2011 @ 19:12:35
Author: danstender-guest
Revision: 7393
deb/rules: fixed handling of private modules, added build-time creation of the standard locale, added removal of egg-info; deb/control: changed builddep locales-all to locales
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 2011-08-02 18:10:36 UTC (rev 7392)
+++ packages/ocrodjvu/trunk/debian/changelog 2011-08-02 19:12:35 UTC (rev 7393)
@@ -9,9 +9,9 @@
+ Changed maintainer.
+ Bumped Standards-Version to 3.9.2 (no changes needed).
+ Wrapped-and-sorted.
- + Added build-deps on python-imaging and locales-all.
+ + Added build-deps on python-imaging and locales.
+ Changed Vcs-Browser URL.
- + removed build-dep on python-support (changed to build with
+ + Removed build-dep on python-support (changed to build with
dh_python2.
* Changes of debian/copyright
+ Extended copyrights to 2011.
@@ -20,11 +20,12 @@
+ Changed maintainer.
+ Added myself as copyright holder of debian/*.
* Changes of debian/rules
- + changed to build with dh_python2.
+ + Changed to build with dh_python2.
+ Remove of subdirectory loop for nosetests.
+ Remove option --with-doctests for nosetests.
+ + Added creation of standard locale during build-time.
- -- Daniel Stender <daniel at danielstender.com> Sun, 24 Jul 2011 18:19:55 +0200
+ -- Daniel Stender <daniel at danielstender.com> Tue, 02 Aug 2011 21:08:55 +0200
ocrodjvu (0.6.1-1) experimental; urgency=low
Modified: packages/ocrodjvu/trunk/debian/control
===================================================================
--- packages/ocrodjvu/trunk/debian/control 2011-08-02 18:10:36 UTC (rev 7392)
+++ packages/ocrodjvu/trunk/debian/control 2011-08-02 19:12:35 UTC (rev 7393)
@@ -8,7 +8,7 @@
debhelper (>= 7.0.50~),
djvulibre-bin,
libxml2-utils,
- locales-all,
+ locales,
python-all,
python-argparse,
python-djvu,
Modified: packages/ocrodjvu/trunk/debian/rules
===================================================================
--- packages/ocrodjvu/trunk/debian/rules 2011-08-02 18:10:36 UTC (rev 7392)
+++ packages/ocrodjvu/trunk/debian/rules 2011-08-02 19:12:35 UTC (rev 7393)
@@ -2,8 +2,17 @@
%:
dh $@ --with python2
+override_dh_auto_install:
+ dh_auto_install -- --install-lib /usr/share/ocrodjvu/lib
+ rm -rf debian/ocrodjvu/usr/share/ocrodjvu/lib/ocrodjvu
+ find debian/ocrodjvu/ -name "*egg-info" -delete
+
override_dh_auto_test:
ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
+ mkdir -p debian/tmp/locale/
+ localedef -f UTF-8 -i en_US ./debian/tmp/locale/en_US.UTF-8/
+ export LOCPATH=$(CURDIR)/debian/tmp/locale/ && \
+ cd tests && \
set -e -x; \
for python in $(shell pyversions -r); do \
$$python /usr/bin/nosetests --all-modules --verbose; \
More information about the Python-apps-commits
mailing list