[tryton-debian-vcs] tryton-server branch dto-wheezy created. debian/4.0.2-1-1-g6b3c25a
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Tue Jul 12 13:01:33 UTC 2016
The following commit has been merged in the dto-wheezy branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-server.git;a=commitdiff;h=debian/4.0.2-1-1-g6b3c25a
commit 6b3c25a3c1f692a546d4fc7b05ffb657167f33bd
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Tue Jul 12 14:35:26 2016 +0200
Disabling the tests when building for wheezy, distutils errors out when called by pbuild.
diff --git a/debian/rules b/debian/rules
index aab7f26..1551cda 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,10 +1,11 @@
#!/usr/bin/make -f
export PYBUILD_DESTDIR_python2=debian/tryton-server
-# Run tests on sqlite memory database
-# For the complete test suites refer to http://tests.tryton.org/
-export TRYTOND_DATABASE_URI=sqlite://
-export DB_NAME=:memory:
+
+# Disable the tests for wheezy backports, pybuild on wheezy errors out running distutils
+# AttributeError: 'module' object has no attribute 'tests'
+# E: pybuild pybuild:256: test: plugin distutils failed with: exit code=1: python2.7 setup.py test
+export PYBUILD_DISABLE=test
%:
dh $@ --with python2,sphinxdoc,systemd --buildsystem=pybuild
--
tryton-server
More information about the tryton-debian-vcs
mailing list