freebsd-ports/devel/py-osc-lib1/Makefile
Sunpoet Po-Chuan Hsieh 63eead3410 Update RUN_DEPENDS for py-openstacksdk 0.47.0 update
- Bump PORTREVISION for dependency change
2020-06-26 08:44:34 +00:00

49 lines
1.8 KiB
Makefile

# Created by: Alexander Nusov <alexander.nusov@nfvexpress.com>
# $FreeBSD$
PORTNAME= osc-lib
PORTVERSION= 1.15.0
PORTREVISION= 5
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= 1
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= OpenStackClient Library
LICENSE= APACHE20
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}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}simplejson>=3.5.1:devel/py-simplejson@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}stevedore>=1.20.0:devel/py-stevedore@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
# osc-lib 2.0.0+ requires Python 3.6+
PORTSCOUT= limit:^1\.
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 3600
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cliff2>=2.8.0:devel/py-cliff2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}keystoneauth13>=3.7.0:devel/py-keystoneauth13@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}openstacksdk043>=0.15.0:devel/py-openstacksdk043@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}oslo.i18n3>=3.15.3:devel/py-oslo.i18n3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}oslo.utils3>=3.33.0:devel/py-oslo.utils3@${PY_FLAVOR}
.else
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cliff>=2.8.0:devel/py-cliff@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}keystoneauth1>=3.7.0:devel/py-keystoneauth1@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}openstacksdk>=0.15.0:devel/py-openstacksdk@${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}
.endif
.include <bsd.port.post.mk>