summaryrefslogtreecommitdiff
path: root/debian
AgeCommit message (Collapse)Author
2021-05-11[FIX] packaging: add num2words debian dependsChristophe Monniez
The num2words Debian package exists in Debian Buster [0] and Ubuntu Focal [1]. [0]: https://packages.debian.org/buster/python3-num2words [1]: https://packages.ubuntu.com/focal/python3-num2words closes odoo/odoo#70637 Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2021-03-05[FIX] packaging: add python3-renderpm in debian packageChristophe Monniez
In Debian and Ubuntu distros, the python reportlab package provides multiple binary packages among which python3-reportlab [0] [1] and python3-renderpm [2] [3]. The latter is only recommended, but is mandatory for odoo because it's needed for rendering barcode with the `asString` method. [0] https://packages.debian.org/buster/python3-reportlab [1] https://packages.ubuntu.com/focal/python3-reportlab [2] https://packages.debian.org/buster/python3-renderpm [3] https://packages.ubuntu.com/focal/python3-renderpm closes odoo/odoo#67410 X-original-commit: 73e9926435f0b3c6eb4fe06457231aa60c8bb557 Signed-off-by: Xavier Dollé (xdo) <xdo@odoo.com> Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2021-02-26[FIX] packaging: fix typo in control fileChristophe Monniez
During the resolution of conflicts in odoo/odoo#66784, a typo was introduced in debian/control file. closes odoo/odoo#66902 Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2021-02-25[FIX] packaging: add zeep and ofxparse in deb and rpm packagingChristophe Monniez
Zeep replaced suds but Debian and Rpm packaging were not updated. Ofxparse is required but did not appear in Debian nor Rpm packaging. closes odoo/odoo#66784 X-original-commit: 39738f2b3c310bef25d483ced9bcf29f9894abbd Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2021-01-29[FIX] packaging: update rpm packaging for fedora 32Christophe Monniez
As Fedora 32 was the current release when Odoo 14.0 was released, this should be the supported version. Also, a few old libs were still in mentioned in the packaging files. They flew under the radar because they never broke the packaging. This is not the case anymore, those libs disappeared from the Fedora repos. It seems that pyparsing is not used anymore since 5a1c06a19 and thus can be safely removed from `requirements.txt` too. pychart is not used anymore since 3425752ea. While at it, remove mix of tabs and spaces in package.dffedora, also add missing packages to avoid installation at test time. Now that I started down the slippery slope, also removed some `-dev` packages in package.dfsrc as wheel's are available. Finally, the rpm install script now detects the python ABI version in order to avoid update this file at each ABI change in Fedora. Fixes #63719 closes odoo/odoo#65224 Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2020-12-18[FIX] packaging: sync debian packaging with salsa repoSébastien Delafond
closes odoo/odoo#63579 Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2020-10-21[IMP] packaging, l10n_dz, l10n_ro, survey: integrate Debian fixChristophe Monniez
With this commit, the executions bits are fixed on some xml, csv and ttf files. The fix was initialy made at the Debian packaging level. As xlwt is now in Debian buster, the overide is removed. The linked fonts in Debian package are now removed in one line to simplify the code. closes odoo/odoo#60114 Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2020-10-14[FIX] packaging: update debian file for 14.0.0 releaseSébastien Delafond
2020-07-10[IMP] base, tests: use freezegun lib to mock dates and datetimesqdp-odoo
closes odoo/odoo#54227 Related: odoo/enterprise#11742 Signed-off-by: Olivier Dony (odo) <odo@openerp.com>
2020-04-01[REM] *: remove various unused import shimsAdrian Torres
Before this commit, a lot of leftover import shims existed in the codebase for py2-py3 compatibility, these are no longer needed since Odoo 13.0+ doesn't support Python 2 anymore and is (finally) in EOL. With this commit, these shims are dropped, making the code cleaner, easier to read and with one less dependency. Queue -> queue -> py2-py3 compatibility xmlrpclib -> xmlrpc.client -> py2-py3 compatibility ConfigParser -> configparser -> py2-py3 compatibility itertools.izip_longest -> itertools.zip_longest -> py2-py3 compatibility urllib -> urllib.request -> py2-py3 compatibility __builtins__ -> builtins -> py2-py3 compatibility _winreg -> winreg -> py2-py3 compatibility mock -> unittest.mock -> merged into CPython The debian/fedora packages and requirements.txt have been updated accordingly closes odoo/odoo#44601 Related: odoo/enterprise#8141 Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
2020-02-05[IMP] base_vat: replace vatnumver by stdnum library.Hardik Prajapati
Python module vatnumber doesn't seem maintained anymore. Therefore, we should: - call directly stdnum (which is maintained and mostly used everywhere in vatnumber) Also improve stdnum import, vat fix method and vat expected formats task-1915371 closes odoo/odoo#36978 Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
2020-01-22[FIX] auth_ldap: replace the deprecated library by one up to dateMartin Trigaux
At 795c7b0a9415d04 the external dependencies was changed from trying to import 'ldap' to checking than 'pyldap' package was installed. The problem is that pyldap is a unmaintained library that should no longer be used, as explained on the package page: https://pypi.org/project/pyldap/ "The pyldap fork was merged back into python-ldap, and released as python-ldap 3.0.0." Having pyldap version >= 3.0 installs python-ldap automatically and will not cause any issue. The Debian control file package name is adapted to use the latest. The "ldap" externalm dependency defined in __manifest__.py will cause pkg_resources.get_distribution() to fail in both case ("python-lap" or "pyldap"), but the "import" fallback will succeed. For that reason, the log warning is turned into a log info. closes odoo/odoo#43769 Note: This library should be replaced by the pure python "ldap3" library. X-original-commit: 1afd0ccf20881ba97e3c07dffb33e9a3a0b2cda4 Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2019-10-14[FIX] packaging: include python3-xlrd in debian packageChristophe Monniez
As the python3-xlrd package is available in Debian stretch and Ubuntu bionic, there is no reason to not include it in Odoo debian package. However, it cannot be used in Odoo 11.0 package as it does not exists in Ubuntu Xenial. ubuntu package: https://packages.ubuntu.com/bionic/python3-xlrd debian package: https://packages.debian.org/stretch/python3-xlrd closes odoo/docker#276 closes odoo/odoo#38746 X-original-commit: acf413df14f3206b9c852db98247631f297b7c9c Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2019-09-10[REM] web_diagram: remove unused moduleXavier-Do
closes odoo/odoo#36638 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2019-06-05[IMP] tools: remove custom pofile readerMartin Trigaux
Use polib library that handles this correctly The complexity of the parser is moved to the library
2018-11-19[FIX] packaging: add qrcode package to docker fileChristophe Monniez
After the Odoo package is built, the package.py script uses a Docker image to test the package. After that python3-qrcode was added as a dependency for the package in 2ff49c5f , it revealed some issues. A missing cli parameter and a forgotten '&&' in the Dockerfile prevented the installation of the depending packages. Also, the script shebang was wrong by launching python2. Finally, the fact that python3-xlwt is missing in Debian stretch was highlighted. With this commit, the python3-xlwt is explicitly removed from the dependencies and the documentation is updated accordingly. closes odoo/odoo#28807
2018-11-13[FIX] packaging: make Debian package depends on qrcode and vobjectChristophe Monniez
As stated in issue #27752, some Debian packages are only recommended. As a consequence, these packages are not installed on the Official Docker image. In that case, if the user wants to install an Odoo module that needs one of these package, the Docker container has to be modified. python3-qrcode and python3-vobject are now part of the latest Debian stable (stretch) and the latest Ubuntu LTS (Bionic Beaver). Also, they are pure python, and very small. Thus, the Debian package can depends on them. co-author: @sbidoul Fixes #27752 Closes #28588 Closes #28371 Closes #28372
2018-10-09[REM] packaging: drop PyYAML dependencyAdrian Torres
Commit cf853a785ba4b533ddb2e8a717c9ffa6429e7b81 removed all yml tests and the yml import engine from Odoo forever, however PyYAML remains a dependency even though it's not used anymore. This commit removes any reference to this lib that could be found. closes odoo/odoo#27563
2018-07-27[REF] web, *: update bootstrap-datetimepicker to tempusdominusqsm-odoo
* website_form, debian Our old library for datetimepicker for bootstrap 3 is deprecated and an updated version is developed by the same team under the new name "tempusdominus", for bootstrap 4. The lib is imported by taking the *unminified build* JS and the *src* scss. Odoo is also bundling the lib better by putting the scss file in both backend and frontend assets instead of only in common (so that the scss is compiled differently for the frontend and the backend). Note: the lib also needed to be patched inline to solve a bug at one line.
2018-07-18[FIX] packaging: make debian package depends on python3-chardetChristophe Monniez
Since b60de0db41bbe4af3c2f6e2369eda5d483702d76 Odoo requires chardet to be installed. With this commit, the Debian package will depends on python3-chardet.
2018-06-28[MERGE] forward port branch saas-11.3 up to 3cdcbce93cbChristophe Simonis
2018-06-21[MERGE] forward port branch 11.0 up to c5ed3729709Christophe Simonis
2018-06-21[MERGE] forward port branch saas-15 up to 152d42041e7Christophe Simonis
2018-06-20[MERGE] forward port branch 9.0 up to 9cb37398f2cChristophe Simonis
2018-06-15[FIX] packaging: stop removing Odoo lib dirChristophe Monniez
When removing Odoo Debian package, the directory /var/lib/odoo is also removed. This directory could contain important data like filestore or custom modules. With this commit, this directory is preserved on removal and deleted when the purge command is issued with a Debian package manager. Fixes #22138
2018-04-24[FIX] packaging: remove libsass dependency in debian packageChristophe Monniez
A dependency to libsass was added in debian package and in the docker file. The Odoo nightly builds of the deb package was failing because this lib is named libsass0 in Debian. Finally, this dependency is not required because python3-libsass already depends on libsass0.
2018-04-18[REF] setup: review dependenciesqsm-odoo
Include libsass instead of node-less Thank you to @d-fence for testing this.
2018-01-16[REF] website_links: remove ZeroClipboard libAkash Bhavsar
... and use Clipboard instead, which is already in web (put in the assets_common). Task #33274
2017-10-12[IMP] packaging: remove some packages dependenciesChristophe Monniez
On Ubuntu Xenian, the Odoo package was difficult to install because three Debian packages were required but could not be found in Ubuntu repositories. As those packages are not really crucial, they are now only suggegsted by the Debian package which is therefore installable on Ubuntu Xenial. One can manually install them as explained in the documentation. Closes #20000
2017-10-12[REM] remove any openid referenceChristophe Monniez
Purpose: openid is not used anymore in Odoo, therefore it can be safely removed.
2017-10-09[REF] core: Remove psycogreen dependencyChristophe Monniez
Purpose: The psycogreen module is unmaintained. Last source update was in 2015 and last pypi package was in 2012. Odoo only use a small part of the psycogreen module that could be written directly in the odoo code. This commit reproduce the small function from psycogreen used in ODoo and remove all depencies from it. Also the copyright and license are honored and the documentation is updated accordingly. pypi pckage: https://pypi.python.org/pypi/psycogreen bitbucket repos: https://bitbucket.org/dvarrazzo/psycogreen/
2017-10-03[IMP] debian,rpm: improve kill in service unit (thanks sbidoul)Christophe Monniez
2017-10-03[IMP] debian: build package for python 3.5Christophe Monniez
* Add a minimum systemd service file
2017-10-03[FIX] debian/copyright: Added most of the js/cssChristophe Monniez
Debian copyright file was only mentioning odoo files. Now all js and css files with specific copyright / licenses are added.
2017-05-26[FIX] packaging: update dependency for pyPdf2Olivier Dony
Complements 021de21e8cdcf35276c945d8070d04435fa1a19c and #16918
2016-10-27[MERGE] forward port branch saas-12 up to 6f8e40cChristophe Simonis
2016-10-27[MERGE] forward port branch 9.0 up to 25616b9Christophe Simonis
2016-10-27[MERGE] forward port branch saas-6 up to 3c3ce75Christophe Simonis
2016-10-27[MERGE] forward port branch 8.0 up to 5ee4344Christophe Simonis
2016-10-24[REF] packaging: debian: depend on python-babelSimon Lejeune
Before this patch, the debian package depends on `python-pybabel`. According to the documentation, this is a dummy package for transition from `python-pybabel` to `python-babel`[1]. This dummy package has thus been removed in debian stretch in favor of `python-babel`, and the odoo package is thus not installable in debian stretch. To fix this, we depend directly on `python-babel`, which is available in all debian releases[2]. Closes #13905 [1] https://packages.debian.org/jessie/python-pybabel [2] https://packages.debian.org/jessie/python-babel
2016-09-30[REF] packaging: renamed configuration filesSimon Lejeune
no fallbacks were implemented to `openerp-server.conf`.
2016-09-30[REF] cli: renamed openerp-server to odoo-binSimon Lejeune
The use of an entry point was considered in order to provide an `odoo` command in the path for the packages users, but the generated entry point will first check that all the things in install_requires were provided in a not bright way: it'll check that it matches a distribution name. This does not work because python-chart does not have the distrubtion name "pychart" which is provided by the python-pychart package in debian jessie. Same for suds-jurko which is provided by python-suds in debian stretch but does not have the distribution name "suds". Also, adapted the packages tests to these cli changes.
2016-09-30[REF] packaging: debian: remove unneeded recommanded dependenciesSimon Lejeune
They were there since long time but to allow some obscure test to run. As they don't bring anything let's just drop them.
2016-09-30[REF] packaging: openerp has been renamed odooSimon Lejeune
Fix the various place when the rename of the git root directory broke the packaging script. Also, we can now name the library "odoo".
2016-09-01[MERGE] forward port branch 8.0 up to 7b93e1dChristophe Simonis
2016-08-26[FIX] packaging: Backport of efe37469 to 8.0Simon Lejeune
[FIX] packaging: debian: update-python-module is no more The command is not installed by default. It was available in the python-support library which we didn't depend on and now this library is no more in debian jessie/ubuntu xenial. Backported for #13302
2016-06-14[MERGE] forward port of branch 9.0 up to bfbe2d6Christophe Simonis
# Conflicts: # addons/marketing/i18n/es_PE.po # addons/marketing/i18n/hu.po
2016-06-10[FIX] packaging: debian: update-python-module is no moreSimon Lejeune
The command is not installed by default. It was available in the python-support library which we didn't depend on and now this library is no more in debian jessie/ubuntu xenial. fixes #11785
2016-06-10[REF] ir_qweb: less webasset: compress output instead of minifying itSimon Lejeune
* Remove dependency on less-plugin-clean-css which distribution packages are broken on debian stretch and derivated. * Updated documentation. * Lessc provides a `--compress` argument that could solve this issue. According to the documentation at http://lesscss.org/usage/: "[...] Compress using less built-in compression. This does an okay job but does not utilise all the tricks of dedicated css compression[...]" However, using this argument works on lessc 2.5.3 but not on 1.4.2 (`--compress` arg is present but seems to be break some rules i haven't been able to put my finger on). * Finally, use the minification of the StylesheetAsset that takes care of removing the spaces, the comments and the sourcemap with regexes. fixes issue #9113
2015-12-01[FIX] packaging: debian: missing comma in control fileSimon Lejeune
introduced by rev c1ff5d894c46d15c5ec69217a9af890e335735d4