finance/odoo: Update to 17.0.20240325
This commit is contained in:
parent
3e7bab233d
commit
6ba25ee11b
4 changed files with 5980 additions and 2210 deletions
|
@ -1,6 +1,5 @@
|
||||||
PORTNAME= odoo
|
PORTNAME= odoo
|
||||||
PORTVERSION= 16.0.20240222
|
PORTVERSION= 17.0.20240325
|
||||||
PORTREVISION= 1
|
|
||||||
CATEGORIES= finance www
|
CATEGORIES= finance www
|
||||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||||
|
|
||||||
|
@ -11,7 +10,7 @@ WWW= https://www.odoo.com
|
||||||
LICENSE= LGPL3
|
LICENSE= LGPL3
|
||||||
|
|
||||||
USE_GITHUB= yes
|
USE_GITHUB= yes
|
||||||
GH_TAGNAME= ecb1f0268adde613bbcb0aa122c0c53847a600a9
|
GH_TAGNAME= c18b9f44be3d666ca1e082807a2fdfc7ef2049d2
|
||||||
|
|
||||||
LIB_DEPENDS= libxml2.so:textproc/libxml2 \
|
LIB_DEPENDS= libxml2.so:textproc/libxml2 \
|
||||||
libxslt.so:textproc/libxslt \
|
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>0:www/py-requests@${PY_FLAVOR} \
|
||||||
${PYTHON_PKGNAMEPREFIX}requests-file>0:www/py-requests-file@${PY_FLAVOR} \
|
${PYTHON_PKGNAMEPREFIX}requests-file>0:www/py-requests-file@${PY_FLAVOR} \
|
||||||
${PYTHON_PKGNAMEPREFIX}werkzeug2>0:www/py-werkzeug2@${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}XlsxWriter>=0:textproc/py-xlsxwriter@${PY_FLAVOR} \
|
||||||
${PYTHON_PKGNAMEPREFIX}xlrd>=1.2.0:textproc/py-xlrd@${PY_FLAVOR} \
|
${PYTHON_PKGNAMEPREFIX}xlrd>=1.2.0:textproc/py-xlrd@${PY_FLAVOR} \
|
||||||
${PYTHON_PKGNAMEPREFIX}xlwt>=1.3.0:textproc/py-xlwt@${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}idna>0:dns/py-idna@${PY_FLAVOR} \
|
||||||
${PYTHON_PKGNAMEPREFIX}stdnum>0:devel/py-stdnum@${PY_FLAVOR} \
|
${PYTHON_PKGNAMEPREFIX}stdnum>0:devel/py-stdnum@${PY_FLAVOR} \
|
||||||
${PYTHON_PKGNAMEPREFIX}rjsmin>0:archivers/py-rjsmin@${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
|
USE_PYTHON= distutils
|
||||||
|
|
||||||
SHEBANG_LANG= python
|
SHEBANG_LANG= python
|
||||||
|
@ -84,15 +88,13 @@ GROUPS= ${USERS}
|
||||||
USE_RC_SUBR= ${PORTNAME}
|
USE_RC_SUBR= ${PORTNAME}
|
||||||
SUB_FILES= pkg-message
|
SUB_FILES= pkg-message
|
||||||
|
|
||||||
CONFLICTS= odoo14 odoo15
|
CONFLICTS= odoo14 odoo15 odoo16
|
||||||
|
|
||||||
ETCDIR= ${PREFIX}/etc/odoo
|
ETCDIR= ${PREFIX}/etc/odoo
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -i "" -e 's|(index !== |(index == |g' \
|
@${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
|
${WRKSRC}/odoo/addons/web/static/src/core/network/download.js
|
||||||
@${RM} ${WRKSRC}/odoo/release.py.orig
|
|
||||||
|
|
||||||
post-extract:
|
post-extract:
|
||||||
@cd ${WRKSRC}/addons/ && ${MV} * ${WRKSRC}/odoo/addons/
|
@cd ${WRKSRC}/addons/ && ${MV} * ${WRKSRC}/odoo/addons/
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
TIMESTAMP = 1708628850
|
TIMESTAMP = 1711398516
|
||||||
SHA256 (odoo-odoo-16.0.20240222-ecb1f0268adde613bbcb0aa122c0c53847a600a9_GH0.tar.gz) = 271ec3129c8e280acf2619d995cccbdb9ece023f1ec341b9289aa943e4e64ab0
|
SHA256 (odoo-odoo-17.0.20240325-c18b9f44be3d666ca1e082807a2fdfc7ef2049d2_GH0.tar.gz) = 2ce2b6d0efc4caca1538537d9da262c56384fe88260fc750168c878a236c5e4e
|
||||||
SIZE (odoo-odoo-16.0.20240222-ecb1f0268adde613bbcb0aa122c0c53847a600a9_GH0.tar.gz) = 158008620
|
SIZE (odoo-odoo-17.0.20240325-c18b9f44be3d666ca1e082807a2fdfc7ef2049d2_GH0.tar.gz) = 168250327
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
[
|
[
|
||||||
{ type: install
|
{ type: install
|
||||||
message: <<EOM
|
message: <<EOM
|
||||||
Odoo 16 ERP was installed
|
Odoo 17 ERP was installed
|
||||||
|
|
||||||
1) The configuration file can be located at:
|
1) The configuration file can be located at:
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ Odoo 16 ERP was installed
|
||||||
7) If you want securizing Odoo access from web browser (https), you can use a
|
7) If you want securizing Odoo access from web browser (https), you can use a
|
||||||
web server like proxy. Look at following documentation:
|
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
|
EOM
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue