[tryton-debian-vcs] tryton-modules-purchase-request branch debian-stretch-4.0 updated. debian/4.0.2-1-6-gd2c8962

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Sun Nov 12 16:34:12 UTC 2017


The following commit has been merged in the debian-stretch-4.0 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-purchase-request.git;a=commitdiff;h=debian/4.0.2-1-6-gd2c8962

commit d2c8962a69040823afa25a11c51c64f12ee6c786
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sat Nov 11 14:31:02 2017 +0100

    Releasing debian version 4.0.3-1.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>

diff --git a/debian/changelog b/debian/changelog
index 7f1d114..e487a17 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+tryton-modules-purchase-request (4.0.3-1) unstable; urgency=medium
+
+  * Updating to Standards-Version: 3.9.8, no changes needed.
+  * Setting the branch in the watch file to the fixed version 4.0.
+  * Add the actual upstream maintainer key to signing-key.asc.
+  * Merging upstream version 4.0.3.
+  * Updating copyright file.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Sat, 11 Nov 2017 14:31:02 +0100
+
 tryton-modules-purchase-request (4.0.2-1) unstable; urgency=medium
 
   * Merging upstream version 4.0.2.
commit 35a1eedcad2daea8bcdacf637680e9a2c3d13fe6
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sat Nov 11 14:31:01 2017 +0100

    Updating copyright file.

diff --git a/debian/copyright b/debian/copyright
index 85a14e3..c57ff37 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,11 +1,11 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 
 Files: *
-Copyright: 2016 Nicolas Évrard
+Copyright: 2016-2017 Nicolas Évrard
            2013-2015 NaN-tic
-           2008-2016 Cédric Krier
+           2008-2017 Cédric Krier
            2008-2013 Bertrand Chenal
-           2008-2016 B2CK SPRL
+           2008-2017 B2CK SPRL
 License: GPL-3+
 
 Files: debian/*
commit 6231d721b4046c803b22ca7621ce09e95678cde9
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sat Nov 11 14:31:01 2017 +0100

    Merging upstream version 4.0.3.

diff --git a/.drone.yml b/.drone.yml
new file mode 100644
index 0000000..c4fd423
--- /dev/null
+++ b/.drone.yml
@@ -0,0 +1,9 @@
+image: python:all
+env:
+  - POSTGRESQL_URI=postgresql://postgres@127.0.0.1:5432/
+  - MYSQL_URI=mysql://root@127.0.0.1:3306/
+script:
+  - pip install tox
+  - tox -e "{py27,py33,py34,py35}-{sqlite,postgresql}" --skip-missing-interpreters
+services:
+  - postgres
diff --git a/CHANGELOG b/CHANGELOG
index 3ea6f3a..2cf14a5 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.0.3 - 2017-11-07
+* Bug fixes (see mercurial logs for details)
+
 Version 4.0.2 - 2016-08-02
 * Bug fixes (see mercurial logs for details)
 
diff --git a/COPYRIGHT b/COPYRIGHT
index 029f63b..4891bb6 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,8 +1,8 @@
-Copyright (C) 2016 Nicolas Évrard.
+Copyright (C) 2016-2017 Nicolas Évrard.
 Copyright (C) 2013-2015 NaN-tic.
-Copyright (C) 2008-2016 Cédric Krier.
+Copyright (C) 2008-2017 Cédric Krier.
 Copyright (C) 2008-2013 Bertrand Chenal.
-Copyright (C) 2008-2016 B2CK SPRL.
+Copyright (C) 2008-2017 B2CK SPRL.
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
diff --git a/PKG-INFO b/PKG-INFO
index 9ab2eae..3445582 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_purchase_request
-Version: 4.0.2
+Version: 4.0.3
 Summary: Tryton module for purchase requests
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/purchase_request.py b/purchase_request.py
index f07cc25..1851ee6 100644
--- a/purchase_request.py
+++ b/purchase_request.py
@@ -145,7 +145,7 @@ class PurchaseRequest(ModelSQL, ModelView):
 
     @classmethod
     def search_purchase(cls, name, clause):
-        return [('purchase_line.purchase',) + tuple(clause[1:])]
+        return [('purchase_line.' + clause[0],) + tuple(clause[1:])]
 
     @property
     def currency(self):
diff --git a/setup.cfg b/setup.cfg
index 861a9f5..8bfd5a1 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,5 +1,4 @@
 [egg_info]
 tag_build = 
 tag_date = 0
-tag_svn_revision = 0
 
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..3dda9ab
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,17 @@
+[tox]
+envlist = {py27,py33,py34,py35}-{sqlite,postgresql,mysql},pypy-{sqlite,postgresql}
+
+[testenv]
+commands = {envpython} setup.py test
+deps =
+    {py27,py33,py34,py35}-postgresql: psycopg2 >= 2.5
+    pypy-postgresql: psycopg2cffi >= 2.5
+    mysql: MySQL-python
+setenv =
+    sqlite: TRYTOND_DATABASE_URI={env:SQLITE_URI:sqlite://}
+    postgresql: TRYTOND_DATABASE_URI={env:POSTGRESQL_URI:postgresql://}
+    mysql: TRYTOND_DATABASE_URI={env:MYSQL_URI:mysql://}
+    sqlite: DB_NAME={env:SQLITE_NAME::memory:}
+    postgresql: DB_NAME={env:POSTGRESQL_NAME:test}
+    mysql: DB_NAME={env:MYSQL_NAME:test}
+install_command = pip install --pre --find-links https://trydevpi.tryton.org/ {opts} {packages}
diff --git a/tryton.cfg b/tryton.cfg
index 3a56111..6a28db8 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=4.0.2
+version=4.0.3
 depends:
     ir
     purchase
diff --git a/trytond_purchase_request.egg-info/PKG-INFO b/trytond_purchase_request.egg-info/PKG-INFO
index 3629821..2d18a13 100644
--- a/trytond_purchase_request.egg-info/PKG-INFO
+++ b/trytond_purchase_request.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-purchase-request
-Version: 4.0.2
+Version: 4.0.3
 Summary: Tryton module for purchase requests
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/trytond_purchase_request.egg-info/SOURCES.txt b/trytond_purchase_request.egg-info/SOURCES.txt
index ded31c0..1f45b7e 100644
--- a/trytond_purchase_request.egg-info/SOURCES.txt
+++ b/trytond_purchase_request.egg-info/SOURCES.txt
@@ -1,11 +1,17 @@
+.drone.yml
+.hgtags
 CHANGELOG
 COPYRIGHT
 INSTALL
 LICENSE
 MANIFEST.in
 README
+__init__.py
+purchase.py
+purchase_request.py
 purchase_request.xml
 setup.py
+tox.ini
 tryton.cfg
 ./__init__.py
 ./purchase.py
@@ -60,7 +66,9 @@ locale/pt_BR.po
 locale/ru_RU.po
 locale/sl_SI.po
 locale/zh_CN.po
+tests/__init__.py
 tests/scenario_purchase_request.rst
+tests/test_purchase_request.py
 trytond_purchase_request.egg-info/PKG-INFO
 trytond_purchase_request.egg-info/SOURCES.txt
 trytond_purchase_request.egg-info/dependency_links.txt
-- 
tryton-modules-purchase-request



More information about the tryton-debian-vcs mailing list