From ffe0a3e16b227a208452628e86bf32890e6c4b7e Mon Sep 17 00:00:00 2001 From: Christophe Monniez Date: Fri, 5 Mar 2021 15:13:38 +0000 Subject: [PATCH] [FIX] packaging: add python3-renderpm in debian package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) Signed-off-by: Christophe Monniez (moc) --- debian/control | 1 + setup/package.dfdebian | 1 + 2 files changed, 2 insertions(+) diff --git a/debian/control b/debian/control index d92c6fe01b509..6072f0931f5c8 100644 --- a/debian/control +++ b/debian/control @@ -42,6 +42,7 @@ Depends: python3-pydot, python3-pypdf2, python3-qrcode, + python3-renderpm, python3-reportlab, python3-requests, python3-stdnum, diff --git a/setup/package.dfdebian b/setup/package.dfdebian index 312e98d0d0bf9..1587905461048 100644 --- a/setup/package.dfdebian +++ b/setup/package.dfdebian @@ -43,6 +43,7 @@ RUN apt-get update -qq && \ python3-pydot \ python3-pypdf2 \ python3-qrcode \ + python3-renderpm \ python3-reportlab \ python3-requests \ python3-serial \