From f4cbd65c5c6d919efe171948dbf0c18eb0c634c8 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sat, 8 Feb 2020 19:04:20 +0000 Subject: [PATCH] Update RUN_DEPENDS for py-tinyrpc 1.0.4 update - Bump PORTREVISION for dependency change --- net/ryu/Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/net/ryu/Makefile b/net/ryu/Makefile index 8a2df1e766df..98a5791a4f82 100644 --- a/net/ryu/Makefile +++ b/net/ryu/Makefile @@ -3,6 +3,7 @@ PORTNAME= ryu PORTVERSION= 4.26 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= net python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -22,7 +23,6 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}eventlet>0:net/py-eventlet@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.config>=1.15.0:devel/py-oslo.config@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}msgpack>=0.3.0:devel/py-msgpack@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.4.0:devel/py-six@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}tinyrpc>0:devel/py-tinyrpc@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ovs>0:devel/py-ovs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pbr>=0:devel/py-pbr@${PY_FLAVOR} @@ -37,4 +37,12 @@ USE_PYTHON= autoplist distutils USE_GITHUB= yes GH_ACCOUNT= osrg -.include +.include + +.if ${PYTHON_REL} < 3500 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tinyrpc0>0:devel/py-tinyrpc0@${PY_FLAVOR} +.else +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tinyrpc>0:devel/py-tinyrpc@${PY_FLAVOR} +.endif + +.include