Skip to content

Commit

Permalink
finance/odoo: Update to 17.0.20240325
Browse files Browse the repository at this point in the history
  • Loading branch information
alonsobsd committed Mar 26, 2024
1 parent 3e7bab2 commit 6ba25ee
Show file tree
Hide file tree
Showing 4 changed files with 5,980 additions and 2,210 deletions.
18 changes: 10 additions & 8 deletions 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}

Expand All @@ -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 \
Expand Down Expand Up @@ -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} \
Expand All @@ -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
Expand All @@ -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/
Expand Down
6 changes: 3 additions & 3 deletions 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
4 changes: 2 additions & 2 deletions finance/odoo/files/pkg-message.in
@@ -1,7 +1,7 @@
[
{ type: install
message: <<EOM
Odoo 16 ERP was installed
Odoo 17 ERP was installed

1) The configuration file can be located at:

Expand Down Expand Up @@ -37,7 +37,7 @@ Odoo 16 ERP was installed
7) If you want securizing Odoo access from web browser (https), you can use a
web server like proxy. Look at following documentation:

https://www.odoo.com/documentation/16.0/administration/install/deploy.html#https
https://www.odoo.com/documentation/17.0/administration/on_premise/deploy.html

EOM
}
Expand Down

0 comments on commit 6ba25ee

Please sign in to comment.