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

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Wed Sep 16 14:00:03 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-3-g18ae100

commit 18ae1003bea3f71a8821a2b4e9424a197037216d
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 da8d74e4ad72d747026fc6b738e46a19c57d2fdb
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Wed Sep 16 13:06:38 2015 +0200

    Revert "Enabling tests on sqlite memory database."
    
    - This reverts commit ba97c898469f551a1bf898efde8163252bb9fc07.
    - 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 d9ff189..8f93451 100644
--- a/debian/control
+++ b/debian/control
@@ -7,14 +7,7 @@ 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 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-asset



More information about the tryton-debian-vcs mailing list