summaryrefslogtreecommitdiff
path: root/net/py-python-cinderclient5
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-05-09 13:49:12 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-05-09 13:49:12 +0000
commit4b689504e593c9fd9a607b07a64d5d61fabed565 (patch)
treea5f58aed812e01c97b5caef3d1a227d4cad21a5a /net/py-python-cinderclient5
parentUpdate RUN_DEPENDS for py-keystoneauth1 4.0.0 update (diff)
Update RUN_DEPENDS for py-keystoneauth1 4.0.0 update
- Bump PORTREVISION for dependency change
Notes
Notes: svn path=/head/; revision=534755
Diffstat (limited to 'net/py-python-cinderclient5')
-rw-r--r--net/py-python-cinderclient5/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/net/py-python-cinderclient5/Makefile b/net/py-python-cinderclient5/Makefile
index 89433832b870..8c1072612da1 100644
--- a/net/py-python-cinderclient5/Makefile
+++ b/net/py-python-cinderclient5/Makefile
@@ -3,6 +3,7 @@
PORTNAME= python-cinderclient
PORTVERSION= 5.0.1
+PORTREVISION= 1
CATEGORIES= net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -16,7 +17,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>=2.3.4:devel/py-babel@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}keystoneauth1>=3.4.0:devel/py-keystoneauth1@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}oslo.i18n>=3.15.3:devel/py-oslo.i18n@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}oslo.utils>=3.33.0:devel/py-oslo.utils@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \
@@ -35,4 +35,12 @@ PORTSCOUT= limit:^5\.
SHEBANG_GLOB= *.sh
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3600
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}keystoneauth13>=3.4.0:devel/py-keystoneauth13@${PY_FLAVOR}
+.else
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}keystoneauth1>=3.4.0:devel/py-keystoneauth1@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>