# Created by: Alexander Nusov # $FreeBSD$ PORTNAME= oslo.config PORTVERSION= 6.4.0 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Oslo Configuration library LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}debtcollector>=1.2.0:devel/py-debtcollector@${PY_FLAVOR} \ ${PY_ENUM34} \ ${PYTHON_PKGNAMEPREFIX}netaddr>=0.7.18:net/py-netaddr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.i18n>=3.15.3:devel/py-oslo.i18n@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=3.12:devel/py-yaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rfc3986>=0.3.1:www/py-rfc3986@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}stevedore>=1.20.0:devel/py-stevedore@${PY_FLAVOR} NO_ARCH= yes USES= python USE_PYTHON= autoplist concurrent distutils post-patch: @${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' \ ${WRKSRC}/doc/source/reference/sphinxconfiggen.rst \ ${WRKSRC}/oslo_config/_list_opts.py \ ${WRKSRC}/oslo_config/cfg.py \ ${WRKSRC}/oslo_config/tests/test_cfg.py \ ${WRKSRC}/releasenotes/notes/add-default-config-dirs-03340ff6689afe94.yaml .include