mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
finance/odoo: Remove obsolete patch file
- Odoo 17.x not support python < 3.10. You must define python=3.10 at DEFAULT_VERSIONS into /etc/make.conf if you want test it. DEFAULT_VERSIONS+= python=3.10
This commit is contained in:
parent
09ef57be3c
commit
081d75ee71
@ -92,6 +92,12 @@ CONFLICTS= odoo14 odoo15 odoo16
|
||||
|
||||
ETCDIR= ${PREFIX}/etc/odoo
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PYTHON_REL} < 31000
|
||||
IGNORE= odoo requires Python 3.10+
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -i "" -e 's|(index !== |(index == |g' \
|
||||
${WRKSRC}/odoo/addons/web/static/src/core/network/download.js
|
||||
@ -105,4 +111,4 @@ pre-install:
|
||||
post-install:
|
||||
@${INSTALL_SCRIPT} ${FILESDIR}/odoo.conf ${STAGEDIR}${ETCDIR}/odoo.conf.sample
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- odoo/release.py.orig 2024-02-22 22:03:20 UTC
|
||||
+++ odoo/release.py
|
||||
@@ -12,7 +12,7 @@ RELEASE_LEVELS_DISPLAY = {ALPHA: ALPHA,
|
||||
# properly comparable using normal operators, for example:
|
||||
# (6,1,0,'beta',0) < (6,1,0,'candidate',1) < (6,1,0,'candidate',2)
|
||||
# (6,1,0,'candidate',2) < (6,1,0,'final',0) < (6,1,2,'final',0)
|
||||
-version_info = ('saas~16', 4, 0, FINAL, 0, '')
|
||||
+version_info = ('16', 4, 0, FINAL, 0, '')
|
||||
version = '.'.join(str(s) for s in version_info[:2]) + RELEASE_LEVELS_DISPLAY[version_info[3]] + str(version_info[4] or '') + version_info[5]
|
||||
series = serie = major_version = '.'.join(str(s) for s in version_info[:2])
|
||||
|
Loading…
Reference in New Issue
Block a user