[tryton-debian-vcs] tryton-modules-carrier branch upstream updated. upstream/3.8.0-1-g6d04a22

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Thu Jun 2 16:10:33 UTC 2016


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

commit 6d04a226fe95cdbb6f9a847f034f046e5fd42e26
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Fri May 27 18:25:57 2016 +0200

    Adding upstream version 4.0.0.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>

diff --git a/CHANGELOG b/CHANGELOG
index b7a4eb9..54685e3 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,7 @@
+Version 4.0.0 - 2016-05-02
+* Bug fixes (see mercurial logs for details)
+* Add Python3 support
+
 Version 3.8.0 - 2015-11-02
 * Bug fixes (see mercurial logs for details)
 
diff --git a/COPYRIGHT b/COPYRIGHT
index 501e672..b8eb554 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,7 +1,7 @@
-Copyright (C) 2011-2015 Cédric Krier.
+Copyright (C) 2011-2016 Cédric Krier.
 Copyright (C) 2011-2013 Bertrand Chenal.
 Copyright (C) 2011-2015 Nicolas Évrard.
-Copyright (C) 2011-2015 B2CK SPRL.
+Copyright (C) 2011-2016 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 a1292b7..ed8650d 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,12 +1,12 @@
 Metadata-Version: 1.1
 Name: trytond_carrier
-Version: 3.8.0
+Version: 4.0.0
 Summary: Tryton module with carriers
 Home-page: http://www.tryton.org/
 Author: Tryton
 Author-email: issue_tracker at tryton.org
 License: GPL-3
-Download-URL: http://downloads.tryton.org/3.8/
+Download-URL: http://downloads.tryton.org/4.0/
 Description: trytond_carrier
         ===============
         
@@ -55,6 +55,7 @@ Classifier: Intended Audience :: Manufacturing
 Classifier: License :: OSI Approved :: GNU General Public License (GPL)
 Classifier: Natural Language :: Bulgarian
 Classifier: Natural Language :: Catalan
+Classifier: Natural Language :: Chinese (Simplified)
 Classifier: Natural Language :: Czech
 Classifier: Natural Language :: Dutch
 Classifier: Natural Language :: English
@@ -68,6 +69,9 @@ Classifier: Natural Language :: Slovenian
 Classifier: Natural Language :: Spanish
 Classifier: Operating System :: OS Independent
 Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: 3.3
+Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Topic :: Office/Business
diff --git a/locale/es_EC.po b/locale/es_EC.po
index 4656237..6b5a85d 100644
--- a/locale/es_EC.po
+++ b/locale/es_EC.po
@@ -4,11 +4,11 @@ msgstr "Content-Type: text/plain; charset=utf-8\n"
 
 msgctxt "field:carrier,carrier_cost_method:"
 msgid "Carrier Cost Method"
-msgstr "Método de costo de transporte"
+msgstr "Método de costo del transportista"
 
 msgctxt "field:carrier,carrier_product:"
 msgid "Carrier Product"
-msgstr "Producto que transporta"
+msgstr "Producto del transportista"
 
 msgctxt "field:carrier,create_date:"
 msgid "Create Date"
@@ -40,27 +40,27 @@ msgstr "Modificado por usuario"
 
 msgctxt "help:carrier,carrier_cost_method:"
 msgid "Method to compute carrier cost"
-msgstr "Método para calcular el costo del transporte"
+msgstr "Método para calcular el costo del transportista"
 
 msgctxt "model:carrier,name:"
 msgid "Carrier"
-msgstr "Transporte"
+msgstr "Transportista"
 
 msgctxt "model:ir.action,name:act_carrier_form"
 msgid "Carriers"
-msgstr "Transportes"
+msgstr "Transportistas"
 
 msgctxt "model:ir.ui.menu,name:menu_carrier"
 msgid "Carrier"
-msgstr "Transporte"
+msgstr "Transportista"
 
 msgctxt "model:ir.ui.menu,name:menu_carrier_form"
 msgid "Carriers"
-msgstr "Transportes"
+msgstr "Transportistas"
 
 msgctxt "model:res.group,name:group_carrier_admin"
 msgid "Carrier Administration"
-msgstr "Administración de Transporte"
+msgstr "Administración de Transportistas"
 
 msgctxt "selection:carrier,carrier_cost_method:"
 msgid "Product Price"
@@ -68,8 +68,8 @@ msgstr "Precio del producto"
 
 msgctxt "view:carrier:"
 msgid "Carrier"
-msgstr "Transporte"
+msgstr "Transportista"
 
 msgctxt "view:carrier:"
 msgid "Carriers"
-msgstr "Transportes"
+msgstr "Transportistas"
diff --git a/locale/es_MX.po b/locale/es_MX.po
index 419565d..63c7238 100644
--- a/locale/es_MX.po
+++ b/locale/es_MX.po
@@ -66,10 +66,12 @@ msgctxt "selection:carrier,carrier_cost_method:"
 msgid "Product Price"
 msgstr "Precio del producto"
 
+#, fuzzy
 msgctxt "view:carrier:"
 msgid "Carrier"
-msgstr ""
+msgstr "Transporte"
 
+#, fuzzy
 msgctxt "view:carrier:"
 msgid "Carriers"
-msgstr ""
+msgstr "Transportes"
diff --git a/locale/es_MX.po b/locale/lo_LA.po
similarity index 72%
copy from locale/es_MX.po
copy to locale/lo_LA.po
index 419565d..b6b741e 100644
--- a/locale/es_MX.po
+++ b/locale/lo_LA.po
@@ -4,67 +4,67 @@ msgstr "Content-Type: text/plain; charset=utf-8\n"
 
 msgctxt "field:carrier,carrier_cost_method:"
 msgid "Carrier Cost Method"
-msgstr "Método costo del transporte"
+msgstr ""
 
 msgctxt "field:carrier,carrier_product:"
 msgid "Carrier Product"
-msgstr "Producto del transporte"
+msgstr ""
 
 msgctxt "field:carrier,create_date:"
 msgid "Create Date"
-msgstr "Fecha creación"
+msgstr ""
 
 msgctxt "field:carrier,create_uid:"
 msgid "Create User"
-msgstr "Usuario creación"
+msgstr ""
 
 msgctxt "field:carrier,id:"
 msgid "ID"
-msgstr "ID"
+msgstr ""
 
 msgctxt "field:carrier,party:"
 msgid "Party"
-msgstr "Entidad"
+msgstr ""
 
 msgctxt "field:carrier,rec_name:"
 msgid "Name"
-msgstr "Nombre"
+msgstr ""
 
 msgctxt "field:carrier,write_date:"
 msgid "Write Date"
-msgstr "Fecha modificación"
+msgstr ""
 
 msgctxt "field:carrier,write_uid:"
 msgid "Write User"
-msgstr "Usuario modificación"
+msgstr ""
 
 msgctxt "help:carrier,carrier_cost_method:"
 msgid "Method to compute carrier cost"
-msgstr "Método para calcular el costo del transporte."
+msgstr ""
 
 msgctxt "model:carrier,name:"
 msgid "Carrier"
-msgstr "Transporte"
+msgstr ""
 
 msgctxt "model:ir.action,name:act_carrier_form"
 msgid "Carriers"
-msgstr "Transportes"
+msgstr ""
 
 msgctxt "model:ir.ui.menu,name:menu_carrier"
 msgid "Carrier"
-msgstr "Transporte"
+msgstr ""
 
 msgctxt "model:ir.ui.menu,name:menu_carrier_form"
 msgid "Carriers"
-msgstr "Transportes"
+msgstr ""
 
 msgctxt "model:res.group,name:group_carrier_admin"
 msgid "Carrier Administration"
-msgstr "Administración de transportes"
+msgstr ""
 
 msgctxt "selection:carrier,carrier_cost_method:"
 msgid "Product Price"
-msgstr "Precio del producto"
+msgstr ""
 
 msgctxt "view:carrier:"
 msgid "Carrier"
diff --git a/locale/pt_BR.po b/locale/pt_BR.po
index 5802271..36e4fdd 100644
--- a/locale/pt_BR.po
+++ b/locale/pt_BR.po
@@ -68,8 +68,8 @@ msgstr "Preço do produto"
 
 msgctxt "view:carrier:"
 msgid "Carrier"
-msgstr ""
+msgstr "Transportadora"
 
 msgctxt "view:carrier:"
 msgid "Carriers"
-msgstr ""
+msgstr "Transportadoras"
diff --git a/locale/es_MX.po b/locale/zh_CN.po
similarity index 72%
copy from locale/es_MX.po
copy to locale/zh_CN.po
index 419565d..b6b741e 100644
--- a/locale/es_MX.po
+++ b/locale/zh_CN.po
@@ -4,67 +4,67 @@ msgstr "Content-Type: text/plain; charset=utf-8\n"
 
 msgctxt "field:carrier,carrier_cost_method:"
 msgid "Carrier Cost Method"
-msgstr "Método costo del transporte"
+msgstr ""
 
 msgctxt "field:carrier,carrier_product:"
 msgid "Carrier Product"
-msgstr "Producto del transporte"
+msgstr ""
 
 msgctxt "field:carrier,create_date:"
 msgid "Create Date"
-msgstr "Fecha creación"
+msgstr ""
 
 msgctxt "field:carrier,create_uid:"
 msgid "Create User"
-msgstr "Usuario creación"
+msgstr ""
 
 msgctxt "field:carrier,id:"
 msgid "ID"
-msgstr "ID"
+msgstr ""
 
 msgctxt "field:carrier,party:"
 msgid "Party"
-msgstr "Entidad"
+msgstr ""
 
 msgctxt "field:carrier,rec_name:"
 msgid "Name"
-msgstr "Nombre"
+msgstr ""
 
 msgctxt "field:carrier,write_date:"
 msgid "Write Date"
-msgstr "Fecha modificación"
+msgstr ""
 
 msgctxt "field:carrier,write_uid:"
 msgid "Write User"
-msgstr "Usuario modificación"
+msgstr ""
 
 msgctxt "help:carrier,carrier_cost_method:"
 msgid "Method to compute carrier cost"
-msgstr "Método para calcular el costo del transporte."
+msgstr ""
 
 msgctxt "model:carrier,name:"
 msgid "Carrier"
-msgstr "Transporte"
+msgstr ""
 
 msgctxt "model:ir.action,name:act_carrier_form"
 msgid "Carriers"
-msgstr "Transportes"
+msgstr ""
 
 msgctxt "model:ir.ui.menu,name:menu_carrier"
 msgid "Carrier"
-msgstr "Transporte"
+msgstr ""
 
 msgctxt "model:ir.ui.menu,name:menu_carrier_form"
 msgid "Carriers"
-msgstr "Transportes"
+msgstr ""
 
 msgctxt "model:res.group,name:group_carrier_admin"
 msgid "Carrier Administration"
-msgstr "Administración de transportes"
+msgstr ""
 
 msgctxt "selection:carrier,carrier_cost_method:"
 msgid "Product Price"
-msgstr "Precio del producto"
+msgstr ""
 
 msgctxt "view:carrier:"
 msgid "Carrier"
diff --git a/setup.py b/setup.py
index 4ddb470..3f673bf 100644
--- a/setup.py
+++ b/setup.py
@@ -5,11 +5,17 @@
 from setuptools import setup
 import re
 import os
-import ConfigParser
+import io
+try:
+    from configparser import ConfigParser
+except ImportError:
+    from ConfigParser import ConfigParser
 
 
 def read(fname):
-    return open(os.path.join(os.path.dirname(__file__), fname)).read()
+    return io.open(
+        os.path.join(os.path.dirname(__file__), fname),
+        'r', encoding='utf-8').read()
 
 
 def get_require_version(name):
@@ -21,7 +27,7 @@ def get_require_version(name):
         major_version, minor_version + 1)
     return require
 
-config = ConfigParser.ConfigParser()
+config = ConfigParser()
 config.readfp(open('tryton.cfg'))
 info = dict(config.items('tryton'))
 for key in ('depends', 'extras_depend', 'xml'):
@@ -43,7 +49,7 @@ if minor_version % 2:
 
 requires = []
 for dep in info.get('depends', []):
-    if not re.match(r'(ir|res|webdav)(\W|$)', dep):
+    if not re.match(r'(ir|res)(\W|$)', dep):
         requires.append(get_require_version('trytond_%s' % dep))
 requires.append(get_require_version('trytond'))
 
@@ -76,6 +82,7 @@ setup(name=name,
         'License :: OSI Approved :: GNU General Public License (GPL)',
         'Natural Language :: Bulgarian',
         'Natural Language :: Catalan',
+        'Natural Language :: Chinese (Simplified)',
         'Natural Language :: Czech',
         'Natural Language :: Dutch',
         'Natural Language :: English',
@@ -89,6 +96,9 @@ setup(name=name,
         'Natural Language :: Spanish',
         'Operating System :: OS Independent',
         'Programming Language :: Python :: 2.7',
+        'Programming Language :: Python :: 3.3',
+        'Programming Language :: Python :: 3.4',
+        'Programming Language :: Python :: 3.5',
         'Programming Language :: Python :: Implementation :: CPython',
         'Programming Language :: Python :: Implementation :: PyPy',
         'Topic :: Office/Business',
@@ -102,4 +112,5 @@ setup(name=name,
     """,
     test_suite='tests',
     test_loader='trytond.test_loader:Loader',
+    use_2to3=True,
     )
diff --git a/tests/__init__.py b/tests/__init__.py
index 9ac1de0..28f8675 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -1,6 +1,9 @@
 # This file is part of Tryton.  The COPYRIGHT file at the top level of
 # this repository contains the full copyright notices and license terms.
 
-from .test_carrier import suite
+try:
+    from trytond.modules.carrier.tests.test_carrier import suite
+except ImportError:
+    from .test_carrier import suite
 
 __all__ = ['suite']
diff --git a/tryton.cfg b/tryton.cfg
index 46fd90d..2e566fe 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=3.8.0
+version=4.0.0
 depends:
     ir
     party
diff --git a/trytond_carrier.egg-info/PKG-INFO b/trytond_carrier.egg-info/PKG-INFO
index 66a1aa6..3bb2887 100644
--- a/trytond_carrier.egg-info/PKG-INFO
+++ b/trytond_carrier.egg-info/PKG-INFO
@@ -1,12 +1,12 @@
 Metadata-Version: 1.1
 Name: trytond-carrier
-Version: 3.8.0
+Version: 4.0.0
 Summary: Tryton module with carriers
 Home-page: http://www.tryton.org/
 Author: Tryton
 Author-email: issue_tracker at tryton.org
 License: GPL-3
-Download-URL: http://downloads.tryton.org/3.8/
+Download-URL: http://downloads.tryton.org/4.0/
 Description: trytond_carrier
         ===============
         
@@ -55,6 +55,7 @@ Classifier: Intended Audience :: Manufacturing
 Classifier: License :: OSI Approved :: GNU General Public License (GPL)
 Classifier: Natural Language :: Bulgarian
 Classifier: Natural Language :: Catalan
+Classifier: Natural Language :: Chinese (Simplified)
 Classifier: Natural Language :: Czech
 Classifier: Natural Language :: Dutch
 Classifier: Natural Language :: English
@@ -68,6 +69,9 @@ Classifier: Natural Language :: Slovenian
 Classifier: Natural Language :: Spanish
 Classifier: Operating System :: OS Independent
 Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: 3.3
+Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Topic :: Office/Business
diff --git a/trytond_carrier.egg-info/SOURCES.txt b/trytond_carrier.egg-info/SOURCES.txt
index 43d7100..dc78760 100644
--- a/trytond_carrier.egg-info/SOURCES.txt
+++ b/trytond_carrier.egg-info/SOURCES.txt
@@ -47,11 +47,13 @@ locale/fr_FR.po
 locale/hu_HU.po
 locale/it_IT.po
 locale/ja_JP.po
+locale/lo_LA.po
 locale/lt_LT.po
 locale/nl_NL.po
 locale/pt_BR.po
 locale/ru_RU.po
 locale/sl_SI.po
+locale/zh_CN.po
 trytond_carrier.egg-info/PKG-INFO
 trytond_carrier.egg-info/SOURCES.txt
 trytond_carrier.egg-info/dependency_links.txt
diff --git a/trytond_carrier.egg-info/requires.txt b/trytond_carrier.egg-info/requires.txt
index fbd6c2c..e04ee8e 100644
--- a/trytond_carrier.egg-info/requires.txt
+++ b/trytond_carrier.egg-info/requires.txt
@@ -1,3 +1,3 @@
-trytond_party >= 3.8, < 3.9
-trytond_product >= 3.8, < 3.9
-trytond >= 3.8, < 3.9
\ No newline at end of file
+trytond_party >= 4.0, < 4.1
+trytond_product >= 4.0, < 4.1
+trytond >= 4.0, < 4.1
\ No newline at end of file
-- 
tryton-modules-carrier



More information about the tryton-debian-vcs mailing list