[tryton-debian-vcs] tryton-modules-party-siret branch debian updated. debian/3.4.1-1-2-g8f19319
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Thu Apr 23 16:04:23 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-party-siret.git;a=commitdiff;h=debian/3.4.1-1-2-g8f19319
commit 8f19319303aa8dc84ef88f3a1b05f3dbb13221f3
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Thu Apr 23 17:00:00 2015 +0200
Merging upstream version 3.6.0.
diff --git a/CHANGELOG b/CHANGELOG
index ba243b9..bc8cb43 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,6 @@
-Version 3.4.1 - 2015-02-25
+Version 3.6.0 - 2015-04-20
* Bug fixes (see mercurial logs for details)
-
+* Add support for PyPy
Version 3.4.0 - 2014-10-20
* Bug fixes (see mercurial logs for details)
diff --git a/PKG-INFO b/PKG-INFO
index 2270c86..c554e60 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,12 +1,12 @@
Metadata-Version: 1.1
Name: trytond_party_siret
-Version: 3.4.1
+Version: 3.6.0
Summary: Tryton module to add SIRET/SIREN on parties
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.4/
+Download-URL: http://downloads.tryton.org/3.6/
Description: trytond_party_siret
===================
@@ -65,4 +65,6 @@ Classifier: Natural Language :: Slovenian
Classifier: Natural Language :: Spanish
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: Implementation :: CPython
+Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Office/Business
diff --git a/__init__.py b/__init__.py
index f375af1..7323358 100644
--- a/__init__.py
+++ b/__init__.py
@@ -1,5 +1,5 @@
-#This file is part of Tryton. The COPYRIGHT file at the top level of
-#this repository contains the full copyright notices and license terms.
+# 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 trytond.pool import Pool
from .party import *
diff --git a/address.py b/address.py
index 81a0245..0cea9b3 100644
--- a/address.py
+++ b/address.py
@@ -1,5 +1,5 @@
-#This file is part of Tryton. The COPYRIGHT file at the top level of
-#this repository contains the full copyright notices and license terms.
+# 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 trytond.model import fields
from trytond.pyson import Eval
from trytond.pool import PoolMeta
diff --git a/luhn.py b/luhn.py
index 47fa362..af17259 100644
--- a/luhn.py
+++ b/luhn.py
@@ -1,5 +1,5 @@
-#This file is part of Tryton. The COPYRIGHT file at the top level of
-#this repository contains the full copyright notices and license terms.
+# This file is part of Tryton. The COPYRIGHT file at the top level of
+# this repository contains the full copyright notices and license terms.
def validate(value):
diff --git a/party.py b/party.py
index 621377b..993f354 100644
--- a/party.py
+++ b/party.py
@@ -1,5 +1,5 @@
-#This file is part of Tryton. The COPYRIGHT file at the top level of
-#this repository contains the full copyright notices and license terms.
+# 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 trytond.model import fields
from trytond.pyson import Eval
from trytond.pool import PoolMeta
diff --git a/setup.py b/setup.py
index 221feb0..c16d39b 100644
--- a/setup.py
+++ b/setup.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-#This file is part of Tryton. The COPYRIGHT file at the top level of
-#this repository contains the full copyright notices and license terms.
+# 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 setuptools import setup
import re
@@ -86,6 +86,8 @@ setup(name=name,
'Natural Language :: Spanish',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
+ 'Programming Language :: Python :: Implementation :: CPython',
+ 'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Office/Business',
],
license='GPL-3',
diff --git a/tests/__init__.py b/tests/__init__.py
index 1faa664..ed1e93c 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -1,5 +1,5 @@
-#This file is part of Tryton. The COPYRIGHT file at the top level of
-#this repository contains the full copyright notices and license terms.
+# 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_party_siret import suite
diff --git a/tests/test_party_siret.py b/tests/test_party_siret.py
index 4ba8347..ffc55d4 100644
--- a/tests/test_party_siret.py
+++ b/tests/test_party_siret.py
@@ -1,47 +1,37 @@
-#This file is part of Tryton. The COPYRIGHT file at the top level of
-#this repository contains the full copyright notices and license terms.
+# This file is part of Tryton. The COPYRIGHT file at the top level of
+# this repository contains the full copyright notices and license terms.
import unittest
import trytond.tests.test_tryton
-from trytond.tests.test_tryton import test_view, test_depends
+from trytond.tests.test_tryton import ModuleTestCase
from trytond.modules.party_siret import luhn
-class PartySiretTestCase(unittest.TestCase):
+class PartySiretTestCase(ModuleTestCase):
'Test PartySiret module'
-
- def setUp(self):
- trytond.tests.test_tryton.install_module('party_siret')
-
- def test0005views(self):
- 'Test views'
- test_view('party_siret')
-
- def test0006depends(self):
- 'Test depends'
- test_depends()
+ module = 'party_siret'
def test0010luhn(self):
'Test luhn'
values = (
- (4111111111111111, True),
- ('4111111111111111', True),
- (4222222222222, True),
- (378734493671000, True),
- (5424000000000015, True),
- (5555555555554444, True),
- (1008, True),
- ('0000001008', True),
- ('000000001008', True),
- (4012888888881881, True),
- (1234567890123456789012345678909, True),
- (4111111111211111, False),
- (42222222222224, False),
- (100, False),
- ('100', False),
- ('0000100', False),
- ('abc', False),
- (None, False),
- (object(), False),
+ (4111111111111111, True),
+ ('4111111111111111', True),
+ (4222222222222, True),
+ (378734493671000, True),
+ (5424000000000015, True),
+ (5555555555554444, True),
+ (1008, True),
+ ('0000001008', True),
+ ('000000001008', True),
+ (4012888888881881, True),
+ (1234567890123456789012345678909, True),
+ (4111111111211111, False),
+ (42222222222224, False),
+ (100, False),
+ ('100', False),
+ ('0000100', False),
+ ('abc', False),
+ (None, False),
+ (object(), False),
)
for value, test in values:
self.assert_(luhn.validate(value) == test)
diff --git a/tryton.cfg b/tryton.cfg
index bf3b435..84bee0f 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=3.4.1
+version=3.6.0
depends:
ir
party
diff --git a/trytond_party_siret.egg-info/PKG-INFO b/trytond_party_siret.egg-info/PKG-INFO
index f54b121..851579d 100644
--- a/trytond_party_siret.egg-info/PKG-INFO
+++ b/trytond_party_siret.egg-info/PKG-INFO
@@ -1,12 +1,12 @@
Metadata-Version: 1.1
Name: trytond-party-siret
-Version: 3.4.1
+Version: 3.6.0
Summary: Tryton module to add SIRET/SIREN on parties
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.4/
+Download-URL: http://downloads.tryton.org/3.6/
Description: trytond_party_siret
===================
@@ -65,4 +65,6 @@ Classifier: Natural Language :: Slovenian
Classifier: Natural Language :: Spanish
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: Implementation :: CPython
+Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Office/Business
diff --git a/trytond_party_siret.egg-info/requires.txt b/trytond_party_siret.egg-info/requires.txt
index f763c5a..22756d4 100644
--- a/trytond_party_siret.egg-info/requires.txt
+++ b/trytond_party_siret.egg-info/requires.txt
@@ -1,2 +1,2 @@
-trytond_party >= 3.4, < 3.5
-trytond >= 3.4, < 3.5
\ No newline at end of file
+trytond_party >= 3.6, < 3.7
+trytond >= 3.6, < 3.7
\ No newline at end of file
--
tryton-modules-party-siret
More information about the tryton-debian-vcs
mailing list