Index: py-python-cinderclient/Makefile =================================================================== --- py-python-cinderclient/Makefile (revision 473040) +++ py-python-cinderclient/Makefile (working copy) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= python-cinderclient -PORTVERSION= 1.10.0 +PORTVERSION= 3.5.0 CATEGORIES= net python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -10,22 +10,36 @@ MAINTAINER= alexander.nusov@nfvexpress.com COMMENT= Client for the OpenStack Cinder API -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=1.8:devel/py-pbr@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>=2.3.4:devel/py-babel@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}prettytable>=0:devel/py-prettytable@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}keystoneauth1>=2.16.0:devel/py-keystoneauth1@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}requests>=2.10.0:www/py-requests@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}simplejson>=2.2.0:devel/py-simplejson@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}oslo.i18n>=2.1.0:devel/py-oslo.i18n@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}oslo.utils>=3.18.0:devel/py-oslo.utils@${PY_FLAVOR} +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}prettytable>=0.7.1:devel/py-prettytable@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}keystoneauth1>=3.3.0:devel/py-keystoneauth1@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}simplejson>=3.5.1:devel/py-simplejson@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}Babel>=2.3.4:devel/py-babel@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${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} + USES= python shebangfix +USE_PYTHON= distutils autoplist SHEBANG_FILES= cinderclient/tests/functional/hooks/post_test_hook.sh -USE_PYTHON= distutils autoplist noegginfo + NO_ARCH= yes +PORTDOCS= * -post-patch: - @${REINPLACE_CMD} -e 's,install_requires.*,,' ${WRKSRC}/setup.py +OPTIONS_DEFINE= DOCS +DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=1.6.2:textproc/py-sphinx@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}openstackdocstheme>=1.17.0:textproc/py-openstackdocstheme@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}reno>=2.5.0:textproc/py-reno@${PY_FLAVOR} +DOCS_VARS= PYDISTUTILS_BUILD_TARGET+="build_sphinx -a -E" +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC}/doc/build/html && \ + ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ + "! -name .buildinfo -and ! -name objects.inv") + .include Index: py-python-cinderclient/distinfo =================================================================== --- py-python-cinderclient/distinfo (revision 473040) +++ py-python-cinderclient/distinfo (working copy) @@ -1,3 +1,3 @@ -TIMESTAMP = 1485278698 -SHA256 (python-cinderclient-1.10.0.tar.gz) = 08dde1df6dbbeebd6c338f8a4f375b86907dd5c0014d47a4d738a2ac06d98d61 -SIZE (python-cinderclient-1.10.0.tar.gz) = 233798 +TIMESTAMP = 1527413019 +SHA256 (python-cinderclient-3.5.0.tar.gz) = aa846be4f11199d23fd43a98ef42a7646d31822b13191ed23c0aaad5e73b3fc8 +SIZE (python-cinderclient-3.5.0.tar.gz) = 284317 Index: py-python-cinderclient/pkg-descr =================================================================== --- py-python-cinderclient/pkg-descr (revision 473040) +++ py-python-cinderclient/pkg-descr (working copy) @@ -1,5 +1,5 @@ -This is a client for the OpenStack Cinder API. There's a Python -API (the cinderclient module), and a command-line script (cinder). -Each implements 100% of the OpenStack Cinder API. +Client for the OpenStack Cinder API. There's a Python API (the cinderclient +module), and a command-line script (cinder). Each implements 100% of the +OpenStack Cinder API. -WWW: https://pypi.org/project/python-cinderclient/ +WWW: https://docs.openstack.org/python-cinderclient/