[tryton-debian-vcs] tryton-modules-production branch debian-wheezy-2.6 created. 184a5688a9d85843b4bdd80f1b8d3d1daf0d7294
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Wed Nov 27 17:05:49 UTC 2013
The following commit has been merged in the debian-wheezy-2.6 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-production.git;a=commitdiff;h=184a5688a9d85843b4bdd80f1b8d3d1daf0d7294
commit 184a5688a9d85843b4bdd80f1b8d3d1daf0d7294
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Sat May 4 12:07:18 2013 +0200
Releasing debian version 2.6.2-1.
diff --git a/debian/changelog b/debian/changelog
index 725f5a9..2b836d8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+tryton-modules-production (2.6.2-1) experimental; urgency=low
+
+ * Versioning watch file for Tryton branch 2.6.
+ * Improving update of major version in Depends.
+ * Merging upstream version 2.6.2.
+ * Updating copyright.
+
+ -- Mathias Behrle <mathiasb at m9s.biz> Sat, 04 May 2013 02:38:59 +0200
+
tryton-modules-production (2.6.1-1) experimental; urgency=low
* Initial packaging.
commit d61f6a64fdeac584fb0baa66763242e8d7c91a56
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Sat May 4 02:14:01 2013 +0200
Updating copyright.
diff --git a/debian/copyright b/debian/copyright
index 900682e..629bf50 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,8 +1,8 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Files: *
-Copyright: 2012 Cédric Krier
- 2012 B2CK SPRL
+Copyright: 2012-2013 Cédric Krier
+ 2012-2013 B2CK SPRL
License: GPL-3+
Files: debian/*
commit 75c4c59ee95528c4a6c6d0c459a3c0642e620d54
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Sat May 4 02:12:29 2013 +0200
Merging upstream version 2.6.2.
diff --git a/CHANGELOG b/CHANGELOG
index ea0e50a..8053a79 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 2.6.2 - 2013-05-02
+* Bug fixes (see mercurial logs for details)
+
Version 2.6.1 - 2012-12-23
* Bug fixes (see mercurial logs for details)
diff --git a/COPYRIGHT b/COPYRIGHT
index 747ae18..7668cfa 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,5 +1,5 @@
-Copyright (C) 2012 Cédric Krier.
-Copyright (C) 2012 B2CK SPRL.
+Copyright (C) 2012-2013 Cédric Krier.
+Copyright (C) 2012-2013 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 53ed5d9..c1dd90d 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_production
-Version: 2.6.1
+Version: 2.6.2
Summary: Tryton module for production
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/product.py b/product.py
index f9e524d..fcd6ce8 100644
--- a/product.py
+++ b/product.py
@@ -42,6 +42,14 @@ class Product:
return False
return True
+ @classmethod
+ def copy(cls, products, default=None):
+ if default is None:
+ default = {}
+ default = default.copy()
+ default.setdefault('boms', None)
+ return super(Product, cls).copy(products, default=default)
+
class ProductBom(ModelSQL, ModelView):
'Product - BOM'
diff --git a/tryton.cfg b/tryton.cfg
index 4711628..33377f2 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=2.6.1
+version=2.6.2
depends:
company
ir
diff --git a/trytond_production.egg-info/PKG-INFO b/trytond_production.egg-info/PKG-INFO
index 53e32e5..0764e7b 100644
--- a/trytond_production.egg-info/PKG-INFO
+++ b/trytond_production.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond-production
-Version: 2.6.1
+Version: 2.6.2
Summary: Tryton module for production
Home-page: http://www.tryton.org/
Author: Tryton
commit e508518a3881af4e8405cd16ba6dda3937dd788d
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Sat Apr 27 14:54:48 2013 +0200
Improving update of major version in Depends.
Pulling the major version for Depends directly from the package version.
Thanks to Ilya Melnikov for pushing the idea.
diff --git a/debian/control b/debian/control
index 7743157..00f7989 100644
--- a/debian/control
+++ b/debian/control
@@ -13,9 +13,10 @@ X-Python-Version: >= 2.6
Package: tryton-modules-production
Architecture: all
Depends:
- ${misc:Depends}, ${python:Depends}, tryton-server (>= 2.6),
- tryton-modules-company (>= 2.6), tryton-modules-product (>= 2.6),
- tryton-modules-stock (>= 2.6), python-pkg-resources
+ ${misc:Depends}, ${python:Depends}, tryton-server (>= ${version:major}),
+ tryton-modules-company (>= ${version:major}),
+ tryton-modules-product (>= ${version:major}),
+ tryton-modules-stock (>= ${version:major}), python-pkg-resources
Description: Tryton Application Platform (Production Module)
Tryton is a high-level general purpose application platform written in Python
and using PostgreSQL as database engine. It is the core base of a complete
diff --git a/debian/rules b/debian/rules
index 1ae0776..0f63ab4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,7 @@
#!/usr/bin/make -f
+MAJOR := $(shell python setup.py --version | awk -F "." '{print $$1 "." $$2}')
+
%:
dh ${@} --with python2
@@ -8,5 +10,8 @@ override_dh_auto_clean:
rm -rf *.egg-info
+override_dh_gencontrol:
+ dh_gencontrol -- -Vversion:major="$(MAJOR)"
+
override_dh_builddeb:
dh_builddeb -- -Zxz -z9
commit fff67296452cb42d45f91aacadaac0edf663a7f9
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Wed Apr 24 00:59:46 2013 +0200
Versioning watch file for Tryton branch 2.6.
diff --git a/debian/watch b/debian/watch
index 279a050..0daf9a8 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
version=3
-http://downloads.tryton.org/current/ .*trytond_production-(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz))
+http://downloads.tryton.org/2.6/ .*trytond_production-(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz))
--
tryton-modules-production
More information about the tryton-debian-vcs
mailing list