diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2020-02-06 19:26:51 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2020-02-06 19:26:51 +0000 |
commit | 1f94cf95e32596d92e0dc71915034c6e07aa1e5f (patch) | |
tree | f7b63ebafb8658617fa57e67f161eeef4afad074 /misc | |
parent | bfc867562b2d2368cb2aa8b93246aa9c5aa4630c (diff) |
Notes
Diffstat (limited to 'misc')
-rw-r--r-- | misc/py-cinder/Makefile | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/misc/py-cinder/Makefile b/misc/py-cinder/Makefile index be3c789c72df..70718cb7acd2 100644 --- a/misc/py-cinder/Makefile +++ b/misc/py-cinder/Makefile @@ -5,11 +5,11 @@ PORTNAME= cinder PORTVERSION= 12.0.4 PORTREVISION= 1 CATEGORIES= misc python -MASTER_SITES= https://tarballs.openstack.org/cinder/ +MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= ports@FreeBSD.org -COMMENT= OpenStack Storage Service (Cinder) +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= OpenStack Block Storage LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE @@ -31,7 +31,6 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.config>=5.1.0:devel/py-oslo.config@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.concurrency>=3.25.0:devel/py-oslo.concurrency@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.context>=2.19.2:devel/py-oslo.context@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}oslo.db>=4.27.0:devel/py-oslo.db@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.log>=3.36.0:devel/py-oslo.log@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.messaging>=5.29.0:devel/py-oslo.messaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.middleware>=3.31.0:devel/py-oslo.middleware@${PY_FLAVOR} \ @@ -126,4 +125,12 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/etc/cinder/$f ${STAGEDIR}${ETCDIR}/$f.sample .endfor -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 3600 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}oslo.db6>=4.27.0:devel/py-oslo.db6@${PY_FLAVOR} +.else +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}oslo.db>=4.27.0:devel/py-oslo.db@${PY_FLAVOR} +.endif + +.include <bsd.port.post.mk> |