[tryton-debian-vcs] tryton-modules-account-asset branch debian updated. debian/3.6.1-1-1-gba97c89

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Wed Aug 26 23:23:27 UTC 2015


The following commit has been merged in the debian branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-account-asset.git;a=commitdiff;h=debian/3.6.1-1-1-gba97c89

commit ba97c898469f551a1bf898efde8163252bb9fc07
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Thu Aug 27 01:21:28 2015 +0200

    Enabling tests on sqlite memory database.

diff --git a/debian/control b/debian/control
index 8f93451..d9ff189 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,14 @@ Build-Depends:
  debhelper (>= 9),
  dh-python,
  python (>= 2.6.6-3~),
+ python-cached-property,
+ python-dateutil,
  python-setuptools,
+ tryton-modules-account,
+ tryton-modules-account-invoice,
+ tryton-modules-account-product,
+ tryton-modules-product,
+ tryton-proteus,
 Standards-Version: 3.9.6
 Homepage: http://www.tryton.org/
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=tryton/tryton-modules-account-asset.git
diff --git a/debian/rules b/debian/rules
index 02a8f1e..e634d79 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,8 +2,10 @@
 
 MAJOR := $(shell python setup.py --version | awk -F "." '{print $$1 "." $$2}')
 
-# Don't run tests for Tryton modules, they try to download dependencies from pypi
-export PYBUILD_DISABLE_python2.7=test
+# 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:
 
 %:
 	dh ${@} --with python2 --buildsystem=pybuild
-- 
tryton-modules-account-asset



More information about the tryton-debian-vcs mailing list