[tryton-debian-vcs] tryton-modules-account branch debian updated. debian/3.6.1-1-3-g0a1090e

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Wed Sep 16 13:59:59 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.git;a=commitdiff;h=debian/3.6.1-1-3-g0a1090e

commit 0a1090ea668fdd0778142461db29954a5679b8e7
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Wed Sep 16 14:53:28 2015 +0200

    Improving description why we can not run the module test suites.

diff --git a/debian/rules b/debian/rules
index 02a8f1e..1b084cd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,7 +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
+# Don't run tests for Tryton modules, they possibly depend on other modules
+# of the same version, that are not yet available at build time from the archive
+# in case of new releases.
+# For the complete test suites refer to http://tests.tryton.org/
 export PYBUILD_DISABLE_python2.7=test
 
 %:
commit 01b5cc4c05f1532463a2947c621510353282c2c1
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Wed Sep 16 13:02:05 2015 +0200

    Revert "Enabling tests on sqlite memory database."
    
    - This reverts commit b49f368a9d75d7ddcf4f5a121c4676759caef0c1.
    - Since Tryton module tests rely on other modules of the same
      version that possibly are not available at build time in main,
      we are not able to run the tests for new releases.

diff --git a/debian/control b/debian/control
index 7a340f0..23faba8 100644
--- a/debian/control
+++ b/debian/control
@@ -7,13 +7,6 @@ Build-Depends:
  debhelper (>= 9),
  dh-python,
  python (>= 2.6.6-3~),
- python-dateutil,
- python-sql,
- python-simpleeval,
- tryton-modules-company,
- tryton-modules-currency,
- tryton-modules-party,
- tryton-proteus,
  python-setuptools,
 Standards-Version: 3.9.6
 Homepage: http://www.tryton.org/
diff --git a/debian/rules b/debian/rules
index e634d79..02a8f1e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,10 +2,8 @@
 
 MAJOR := $(shell python setup.py --version | awk -F "." '{print $$1 "." $$2}')
 
-# 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:
+# Don't run tests for Tryton modules, they try to download dependencies from pypi
+export PYBUILD_DISABLE_python2.7=test
 
 %:
 	dh ${@} --with python2 --buildsystem=pybuild
-- 
tryton-modules-account



More information about the tryton-debian-vcs mailing list