git: c046242afbf9 - main - finance/odoo: Fix build with python-3.11

From: Wen Heping <wen_at_FreeBSD.org>
Date: Thu, 22 Feb 2024 07:43:44 UTC
The branch main has been updated by wen:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c046242afbf9c37e0a3296622298d83a670fd1f7

commit c046242afbf9c37e0a3296622298d83a670fd1f7
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2024-02-22 07:41:59 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2024-02-22 07:43:03 +0000

    finance/odoo: Fix build with python-3.11
    
    PR:             275494
    Approved by:    portmgr(blanket, fix build)
---
 finance/odoo/Makefile  | 2 +-
 finance/odoo/pkg-plist | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/finance/odoo/Makefile b/finance/odoo/Makefile
index ba1dabc8bfa1..985102db06e2 100644
--- a/finance/odoo/Makefile
+++ b/finance/odoo/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	odoo
 PORTVERSION=	16.0.20230804
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	finance www
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
diff --git a/finance/odoo/pkg-plist b/finance/odoo/pkg-plist
index 2c470eee3a1b..4009924026f3 100644
--- a/finance/odoo/pkg-plist
+++ b/finance/odoo/pkg-plist
@@ -23554,7 +23554,7 @@ bin/odoo
 %%PYTHON_SITELIBDIR%%/odoo/addons/point_of_sale/tools/posbox/overwrite_after_init/home/pi/odoo/addons/point_of_sale/__manifest__.py
 %%PYTHON_SITELIBDIR%%/odoo/addons/point_of_sale/tools/posbox/overwrite_after_init/home/pi/odoo/addons/point_of_sale/__pycache__/__manifest__%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
 %%PYTHON_SITELIBDIR%%/odoo/addons/point_of_sale/tools/posbox/overwrite_after_init/home/pi/odoo/addons/point_of_sale/__pycache__/__manifest__%%PYTHON_EXT_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/odoo/addons/point_of_sale/tools/posbox/overwrite_after_init/usr/local/%%PYTHON_LIBDIR%%/dist-packages/v4l2.py.iotpatch
+%%PYTHON_SITELIBDIR%%/odoo/addons/point_of_sale/tools/posbox/overwrite_after_init/usr/local/lib/python3.9/dist-packages/v4l2.py.iotpatch
 %%PYTHON_SITELIBDIR%%/odoo/addons/point_of_sale/tools/posbox/overwrite_after_init/usr/share/eftdvs/eftdvs.cfg
 %%PYTHON_SITELIBDIR%%/odoo/addons/point_of_sale/tools/posbox/overwrite_after_init/usr/share/firefox-esr/browser/defaults/preferences/all-posbox.js
 %%PYTHON_SITELIBDIR%%/odoo/addons/point_of_sale/tools/posbox/overwrite_after_init/var/www/iot.jpg