Merge lp:~gs.clearcorp/oerptools/2.0_oerptools into lp:oerptools

Proposed by Glen Sojo
Status: Merged
Merged at revision: 431
Proposed branch: lp:~gs.clearcorp/oerptools/2.0_oerptools
Merge into: lp:oerptools
Diff against target: 48 lines (+8/-1)
1 file modified
oerptools/oerp/server.py (+8/-1)
To merge this branch: bzr merge lp:~gs.clearcorp/oerptools/2.0_oerptools
Reviewer Review Type Date Requested Status
ClearCorp drivers Pending
Review via email: mp+225841@code.launchpad.net

Description of the change

[ADD] - Added support for Ubuntu 12.04+ Postgresql 9.3 and installation of poppler-utils package.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'oerptools/oerp/server.py'
--- oerptools/oerp/server.py 2014-04-16 18:34:24 +0000
+++ oerptools/oerp/server.py 2014-07-07 14:37:48 +0000
@@ -39,8 +39,11 @@
39 self._postgresql_init_suffix = '-8.4'39 self._postgresql_init_suffix = '-8.4'
40 if self._os_info['version'][1] < '11.10':40 if self._os_info['version'][1] < '11.10':
41 self._postgresql_version = '8.4'41 self._postgresql_version = '8.4'
42 else:42 if self._os_info['version'][1] < '14.04':
43 self._postgresql_version = '9.1'43 self._postgresql_version = '9.1'
44 else:
45 self._postgresql_version = '9.3'
46 # TODO check versions for Linux Mint and Arch Linux
44 elif self._os_info['os'] == 'Linux' and self._os_info['version'][0] == 'LinuxMint':47 elif self._os_info['os'] == 'Linux' and self._os_info['version'][0] == 'LinuxMint':
45 self._postgresql_version = '9.1'48 self._postgresql_version = '9.1'
46 elif self._os_info['os'] == 'Linux' and self._os_info['version'][0] == 'arch':49 elif self._os_info['os'] == 'Linux' and self._os_info['version'][0] == 'arch':
@@ -169,6 +172,7 @@
169 'python-zsi': 'python-zsi',172 'python-zsi': 'python-zsi',
170 'tinymce': 'tinymce',173 'tinymce': 'tinymce',
171 'wget': 'wget',174 'wget': 'wget',
175 'poppler-utils': 'poppler-utils'
172 },176 },
173177
174 'arch': {178 'arch': {
@@ -207,6 +211,7 @@
207 'python-yaml': 'python2-yaml',211 'python-yaml': 'python2-yaml',
208 'tinymce': None,212 'tinymce': None,
209 'wget': 'wget',213 'wget': 'wget',
214 'poppler-utils': 'poppler-utils' # Needs review on arch
210 },215 },
211 'aur': {216 'aur': {
212 'python-mock': 'python2-mock',217 'python-mock': 'python2-mock',
@@ -276,6 +281,7 @@
276 'python-simplejson',281 'python-simplejson',
277 'python-pyparsing',282 'python-pyparsing',
278 # Recommended283 # Recommended
284 'poppler-utils',
279 ]285 ]
280286
281 # Packages for 7.0287 # Packages for 7.0
@@ -316,6 +322,7 @@
316 'ghostscript',322 'ghostscript',
317 'python-imaging',323 'python-imaging',
318 'python-matplotlib',324 'python-matplotlib',
325 'poppler-utils',
319 ]326 ]
320327
321 # Test distro and call appropriate function328 # Test distro and call appropriate function

Subscribers

People subscribed via source and target branches