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
This commit is contained in:
parent
0e751070bb
commit
946e50159f
3 changed files with 10 additions and 4 deletions
|
@ -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' \
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue