From 6ba25ee11b85416fefa342eed071155aa8a3cb1b Mon Sep 17 00:00:00 2001 From: Jose Alonso Cardenas Marquez Date: Tue, 26 Mar 2024 00:16:42 -0500 Subject: [PATCH] finance/odoo: Update to 17.0.20240325 --- finance/odoo/Makefile | 18 +- finance/odoo/distinfo | 6 +- finance/odoo/files/pkg-message.in | 4 +- finance/odoo/pkg-plist | 8162 +++++++++++++++++++++-------- 4 files changed, 5980 insertions(+), 2210 deletions(-) diff --git a/finance/odoo/Makefile b/finance/odoo/Makefile index 61f041aa3cc8..dc47d57ae5ce 100644 --- a/finance/odoo/Makefile +++ b/finance/odoo/Makefile @@ -1,6 +1,5 @@ PORTNAME= odoo -PORTVERSION= 16.0.20240222 -PORTREVISION= 1 +PORTVERSION= 17.0.20240325 CATEGORIES= finance www PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,7 +10,7 @@ WWW= https://www.odoo.com LICENSE= LGPL3 USE_GITHUB= yes -GH_TAGNAME= ecb1f0268adde613bbcb0aa122c0c53847a600a9 +GH_TAGNAME= c18b9f44be3d666ca1e082807a2fdfc7ef2049d2 LIB_DEPENDS= libxml2.so:textproc/libxml2 \ libxslt.so:textproc/libxslt \ @@ -57,6 +56,7 @@ RUN_DEPENDS= wkhtmltopdf>0:converters/wkhtmltopdf \ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests-file>0:www/py-requests-file@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}werkzeug2>0:www/py-werkzeug2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}secure-cookie>0:www/py-secure-cookie@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}XlsxWriter>=0:textproc/py-xlsxwriter@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xlrd>=1.2.0:textproc/py-xlrd@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xlwt>=1.3.0:textproc/py-xlwt@${PY_FLAVOR} \ @@ -65,9 +65,13 @@ RUN_DEPENDS= wkhtmltopdf>0:converters/wkhtmltopdf \ ${PYTHON_PKGNAMEPREFIX}idna>0:dns/py-idna@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}stdnum>0:devel/py-stdnum@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rjsmin>0:archivers/py-rjsmin@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography-legacy>0:security/py-cryptography-legacy@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}cryptography-legacy>0:security/py-cryptography-legacy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}freezegun>0:devel/py-freezegun@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}GeoIP2>0:net/py-GeoIP2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}openssl>0:security/py-openssl@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}urllib3>0:net/py-urllib3@${PY_FLAVOR} -USES= cpe ldap python pgsql shebangfix +USES= cpe ldap python:3.10 pgsql shebangfix USE_PYTHON= distutils SHEBANG_LANG= python @@ -84,15 +88,13 @@ GROUPS= ${USERS} USE_RC_SUBR= ${PORTNAME} SUB_FILES= pkg-message -CONFLICTS= odoo14 odoo15 +CONFLICTS= odoo14 odoo15 odoo16 ETCDIR= ${PREFIX}/etc/odoo post-patch: @${REINPLACE_CMD} -i "" -e 's|(index !== |(index == |g' \ - ${WRKSRC}/odoo/addons/web/static/src/legacy/js/libs/content-disposition.js \ ${WRKSRC}/odoo/addons/web/static/src/core/network/download.js - @${RM} ${WRKSRC}/odoo/release.py.orig post-extract: @cd ${WRKSRC}/addons/ && ${MV} * ${WRKSRC}/odoo/addons/ diff --git a/finance/odoo/distinfo b/finance/odoo/distinfo index fada4fa153e2..a85908dd7986 100644 --- a/finance/odoo/distinfo +++ b/finance/odoo/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1708628850 -SHA256 (odoo-odoo-16.0.20240222-ecb1f0268adde613bbcb0aa122c0c53847a600a9_GH0.tar.gz) = 271ec3129c8e280acf2619d995cccbdb9ece023f1ec341b9289aa943e4e64ab0 -SIZE (odoo-odoo-16.0.20240222-ecb1f0268adde613bbcb0aa122c0c53847a600a9_GH0.tar.gz) = 158008620 +TIMESTAMP = 1711398516 +SHA256 (odoo-odoo-17.0.20240325-c18b9f44be3d666ca1e082807a2fdfc7ef2049d2_GH0.tar.gz) = 2ce2b6d0efc4caca1538537d9da262c56384fe88260fc750168c878a236c5e4e +SIZE (odoo-odoo-17.0.20240325-c18b9f44be3d666ca1e082807a2fdfc7ef2049d2_GH0.tar.gz) = 168250327 diff --git a/finance/odoo/files/pkg-message.in b/finance/odoo/files/pkg-message.in index 9cd9875f0281..d7ab2fe3d4dc 100644 --- a/finance/odoo/files/pkg-message.in +++ b/finance/odoo/files/pkg-message.in @@ -1,7 +1,7 @@ [ { type: install message: <