[FIX] packaging: add missing dependencies

A dependency on python pyopenssl package was added in #61853 and flew
under the radar. As this package is pure python, it should not cause any
arm.

Also, it seems that the gsfonts package is needed on Debian to print
things like barcode badges. Previously, the gsfonts package was a
dependency of python3-renderm package which is itself a dependency of
odoo. The gsfonts dependency was removed in the python3-renderpm Bullseye package.

With this commit the gsfonts dependency is set on the odoo Debian
package directly.

X-original-commit: 248762c80fbf3396d44ea9b55153dcd1d36d3490
Part-of: odoo/odoo#78097
This commit is contained in:
Christophe Monniez
2021-10-08 22:11:47 +00:00
parent a6eb536430
commit f78b6d00af
5 changed files with 6 additions and 0 deletions
+2
View File
@@ -18,6 +18,7 @@ Depends:
fonts-inconsolata, fonts-inconsolata,
fonts-font-awesome, fonts-font-awesome,
fonts-roboto-unhinted, fonts-roboto-unhinted,
gsfonts,
libjs-underscore, libjs-underscore,
lsb-base, lsb-base,
postgresql-client, postgresql-client,
@@ -40,6 +41,7 @@ Depends:
python3-psutil, python3-psutil,
python3-psycopg2, python3-psycopg2,
python3-pydot, python3-pydot,
python3-openssl,
python3-pypdf2, python3-pypdf2,
python3-qrcode, python3-qrcode,
python3-renderpm, python3-renderpm,
+1
View File
@@ -31,6 +31,7 @@ requires =
python3-polib python3-polib
python3-pydot python3-pydot
python3-PyPDF2 python3-PyPDF2
python3-pyOpenSSL
python3-pyserial python3-pyserial
python3-dateutil python3-dateutil
python3-pytz python3-pytz
+1
View File
@@ -41,6 +41,7 @@ setup(
'psutil', # windows binary code.google.com/p/psutil/downloads/list 'psutil', # windows binary code.google.com/p/psutil/downloads/list
'psycopg2 >= 2.2', 'psycopg2 >= 2.2',
'pydot', 'pydot',
'pyopenssl',
'pypdf2', 'pypdf2',
'pyserial', 'pyserial',
'python-dateutil', 'python-dateutil',
+1
View File
@@ -40,6 +40,7 @@ RUN apt-get update -qq && \
python3-psutil \ python3-psutil \
python3-psycopg2 \ python3-psycopg2 \
python3-pydot \ python3-pydot \
python3-openssl \
python3-pypdf2 \ python3-pypdf2 \
python3-qrcode \ python3-qrcode \
python3-renderpm \ python3-renderpm \
+1
View File
@@ -37,6 +37,7 @@ RUN dnf update -d 0 -e 0 -y && \
python3-psycopg2 \ python3-psycopg2 \
python3-pydot \ python3-pydot \
python3-pyldap \ python3-pyldap \
python3-pyOpenSSL \
python3-pyserial \ python3-pyserial \
python3-pytz \ python3-pytz \
python3-pyusb \ python3-pyusb \