summaryrefslogtreecommitdiff
path: root/finance
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2022-09-28 23:36:48 -0500
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2022-09-28 23:36:48 -0500
commit946e50159ff14dbf1b82738f4c7467013829949c (patch)
tree0b282975a084857e689a80b05758e746a583e8ad /finance
parentwww/py-aiohttp-session: New port: Web sessions for aiohttp web (diff)
finance/py-ebaysdk: Fix install conflict
- py-ebaysdk was installed test and sample files to general directories - Bump PORTREVISION - Bump PORTREVISION of finance/odoo and finance/odoo14 - finance/odoo fix a problem with werkzeug dependency PR: 262759
Diffstat (limited to 'finance')
-rw-r--r--finance/odoo/Makefile4
-rw-r--r--finance/odoo14/Makefile3
-rw-r--r--finance/py-ebaysdk/Makefile7
3 files changed, 10 insertions, 4 deletions
diff --git a/finance/odoo/Makefile b/finance/odoo/Makefile
index fda9dada09ef..1d34eb0e6e1e 100644
--- a/finance/odoo/Makefile
+++ b/finance/odoo/Makefile
@@ -1,5 +1,6 @@
PORTNAME= odoo
PORTVERSION= 15.0
+PORTREVISION= 1
CATEGORIES= finance www
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -64,7 +65,7 @@ RUN_DEPENDS= wkhtmltopdf>0:converters/wkhtmltopdf \
${PYTHON_PKGNAMEPREFIX}idna>0:dns/py-idna@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}stdnum>0:devel/py-stdnum@${PY_FLAVOR}
-USES= cpe python:3.5+ pgsql shebangfix
+USES= cpe python:3.7+ pgsql shebangfix
USE_PYTHON= distutils
USE_OPENLDAP= yes
@@ -86,6 +87,7 @@ post-patch:
@${REINPLACE_CMD} -i "" -e 's|werkzeug.url_quote_plus|werkzeug.urls.url_quote_plus|g' \
${WRKSRC}/odoo/addons/base/models/ir_ui_view.py
@${REINPLACE_CMD} -i "" -e 's|werkzeug.url_unquote_plus|werkzeug.urls.url_quote_plus|g' \
+ -e 's|.NumberConverter|.converters.NumberConverter|g' \
${WRKSRC}/odoo/addons/base/models/ir_http.py \
${WRKSRC}/odoo/addons/http_routing/models/ir_http.py
@${REINPLACE_CMD} -i "" -e 's|from werkzeug import url_encode|from werkzeug.urls import url_encode|g' \
diff --git a/finance/odoo14/Makefile b/finance/odoo14/Makefile
index d4d319e8cd47..170e1f6a3130 100644
--- a/finance/odoo14/Makefile
+++ b/finance/odoo14/Makefile
@@ -1,5 +1,6 @@
PORTNAME= odoo
PORTVERSION= 14.0
+PORTREVISION= 1
CATEGORIES= finance www
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= 14
@@ -65,7 +66,7 @@ RUN_DEPENDS= wkhtmltopdf>0:converters/wkhtmltopdf \
${PYTHON_PKGNAMEPREFIX}idna>0:dns/py-idna@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}stdnum>0:devel/py-stdnum@${PY_FLAVOR}
-USES= cpe python:3.5+ pgsql shebangfix
+USES= cpe python:3.7+ pgsql shebangfix
USE_PYTHON= distutils
USE_OPENLDAP= yes
diff --git a/finance/py-ebaysdk/Makefile b/finance/py-ebaysdk/Makefile
index b0336582c369..61c9d9282384 100644
--- a/finance/py-ebaysdk/Makefile
+++ b/finance/py-ebaysdk/Makefile
@@ -1,7 +1,6 @@
-#
-
PORTNAME= ebaysdk
PORTVERSION= 2.2.0
+PORTREVISION= 1
CATEGORIES= finance python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -19,4 +18,8 @@ USE_PYTHON= autoplist distutils
NO_ARCH= yes
+post-extract:
+ @${MV} ${WRKSRC}/samples ${WRKSRC}/ebaysdk/
+ @${MV} ${WRKSRC}/tests ${WRKSRC}/ebaysdk/
+
.include <bsd.port.mk>