[Python-modules-commits] r11805 - in packages/gamera/trunk/debian (4 files)
jwilk at users.alioth.debian.org
jwilk at users.alioth.debian.org
Fri Feb 19 15:22:33 UTC 2010
Date: Friday, February 19, 2010 @ 15:22:31
Author: jwilk
Revision: 11805
* Run tests at build time.
+ Build-depend on python-codespeak-lib, python-imaging and
python-imaging-dbg.
Added:
packages/gamera/trunk/debian/run-tests.py
Modified:
packages/gamera/trunk/debian/changelog
packages/gamera/trunk/debian/control
packages/gamera/trunk/debian/rules
Modified: packages/gamera/trunk/debian/changelog
===================================================================
--- packages/gamera/trunk/debian/changelog 2010-02-18 23:29:32 UTC (rev 11804)
+++ packages/gamera/trunk/debian/changelog 2010-02-19 15:22:31 UTC (rev 11805)
@@ -5,8 +5,11 @@
gendoc-source-path.diff, callbackset-unpickle.diff: all applied
upstream.
+ Refresh use-system-modules.diff.
+ * Run tests at build time.
+ + Build-depend on python-codespeak-lib, python-imaging and
+ python-imaging-dbg.
- -- Jakub Wilk <jwilk at debian.org> Sat, 13 Feb 2010 18:20:27 +0100
+ -- Jakub Wilk <jwilk at debian.org> Fri, 19 Feb 2010 16:21:23 +0100
gamera (3.2.3-2) unstable; urgency=low
Modified: packages/gamera/trunk/debian/control
===================================================================
--- packages/gamera/trunk/debian/control 2010-02-18 23:29:32 UTC (rev 11804)
+++ packages/gamera/trunk/debian/control 2010-02-19 15:22:31 UTC (rev 11805)
@@ -7,6 +7,7 @@
Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/gamera/trunk/
Build-Depends: debhelper (>= 7.3.5~),
python-support (>= 0.90), python-all-dev, python-all-dbg,
+ python-codespeak-lib, python-imaging, python-imaging-dbg,
libtiff4-dev, libpng12-dev,
libvigraimpex-dev (>= 1.6.0-1~),
libga-dev
Modified: packages/gamera/trunk/debian/rules
===================================================================
--- packages/gamera/trunk/debian/rules 2010-02-18 23:29:32 UTC (rev 11804)
+++ packages/gamera/trunk/debian/rules 2010-02-19 15:22:31 UTC (rev 11805)
@@ -15,6 +15,13 @@
rm -Rf include/vigra/
rm -Rf src/ga/
dh build -s
+ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
+ set -x -e; \
+ for version in $(shell pyversions -rv); do \
+ PYTHONPATH=`ls -d $(CURDIR)/build/lib.*-$$version` python$$version debian/run-tests.py; \
+ PYTHONPATH=`ls -d $(CURDIR)/build/lib_d.*-$$version $(CURDIR)/build/lib.*-$$version-pydebug` python$$version-dbg debian/run-tests.py; \
+ done
+endif
touch $(@)
.PHONY: build-indep
Added: packages/gamera/trunk/debian/run-tests.py
===================================================================
--- packages/gamera/trunk/debian/run-tests.py (rev 0)
+++ packages/gamera/trunk/debian/run-tests.py 2010-02-19 15:22:31 UTC (rev 11805)
@@ -0,0 +1,7 @@
+import os
+import gamera.paths
+
+os.chdir(os.path.join(os.path.dirname(__file__), '..', 'tests'))
+gamera.paths.test = os.path.join('..', 'gamera', 'test')
+
+execfile('/usr/bin/py.test')
Property changes on: packages/gamera/trunk/debian/run-tests.py
___________________________________________________________________
Added: svn:mime-type
+ text/x-python
More information about the Python-modules-commits
mailing list