aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2020-02-26 04:53:58 +0800
committersunpoet <sunpoet@FreeBSD.org>2020-02-26 04:53:58 +0800
commitb573491931a9752bd9b087044ed0d19338332774 (patch)
tree5ef4778e881bf03b56e80892bc9b4c1c6cce428a
parent95cdbd564dcbf9ac5c4bb365c46e847594be6b23 (diff)
downloadfreebsd-ports-gnome-b573491931a9752bd9b087044ed0d19338332774.tar.gz
freebsd-ports-gnome-b573491931a9752bd9b087044ed0d19338332774.tar.zst
freebsd-ports-gnome-b573491931a9752bd9b087044ed0d19338332774.zip
Update RUN_DEPENDS for py-osc-lib 2.0.0 update
- Bump PORTREVISION for dependency change
-rw-r--r--net/py-python-neutronclient/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/net/py-python-neutronclient/Makefile b/net/py-python-neutronclient/Makefile
index 86c14ae8897a..e3d4757e9021 100644
--- a/net/py-python-neutronclient/Makefile
+++ b/net/py-python-neutronclient/Makefile
@@ -3,6 +3,7 @@
PORTNAME= python-neutronclient
PORTVERSION= 6.14.0
+PORTREVISION= 1
CATEGORIES= net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -21,7 +22,6 @@ 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}netaddr>=0.7.18:net/py-netaddr@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}os-client-config>=1.28.0:devel/py-os-client-config@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}osc-lib>=1.8.0:devel/py-osc-lib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}oslo.i18n>=3.15.3:devel/py-oslo.i18n@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}oslo.log>=3.36.0:devel/py-oslo.log@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}oslo.serialization>=2.18.0:devel/py-oslo.serialization@${PY_FLAVOR} \
@@ -39,4 +39,12 @@ NO_ARCH= yes
SHEBANG_GLOB= *.sh
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3600
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}osc-lib1>=1.8.0:devel/py-osc-lib1@${PY_FLAVOR}
+.else
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}osc-lib>=1.8.0:devel/py-osc-lib@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>