diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2018-06-27 23:34:57 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2018-06-27 23:34:57 +0000 |
commit | c858e0e34a2333fb876772e9e87dc39d8532b492 (patch) | |
tree | bf02632761eb53b18281735a380d9ce37f2b6c8d /net/py-python-cinderclient | |
parent | Update to 2.11.76 (diff) |
Update to 3.5.0
- Add LICENSE
- Add DOCS option
- Sort variables
- Reformat pkg-descr
- Update WWW
- While I'm here, allow concurrent installation (USE_PYTHON=concurrent)
Changes: https://docs.openstack.org/releasenotes/python-cinderclient/
PR: 228690
Submitted by: Kai <freebsd_ports@k-worx.org>
Approved by: Alexander Nusov <alexander.nusov@nfvexpress.com> (maintainer)
Notes
Notes:
svn path=/head/; revision=473480
Diffstat (limited to 'net/py-python-cinderclient')
-rw-r--r-- | net/py-python-cinderclient/Makefile | 40 | ||||
-rw-r--r-- | net/py-python-cinderclient/distinfo | 6 | ||||
-rw-r--r-- | net/py-python-cinderclient/pkg-descr | 8 |
3 files changed, 34 insertions, 20 deletions
diff --git a/net/py-python-cinderclient/Makefile b/net/py-python-cinderclient/Makefile index 472e767cadf6..b89a80178806 100644 --- a/net/py-python-cinderclient/Makefile +++ b/net/py-python-cinderclient/Makefile @@ -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 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} 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 + +xBUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} +xRUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>=2.3.4:devel/py-babel@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}keystoneauth1>=3.3.0:devel/py-keystoneauth1@${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} \ + ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}prettytable>=0.7.1:devel/py-prettytable@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}simplejson>=3.5.1:devel/py-simplejson@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${PY_FLAVOR} USES= python shebangfix +USE_PYTHON= autoplist concurrent distutils SHEBANG_FILES= cinderclient/tests/functional/hooks/post_test_hook.sh -USE_PYTHON= distutils autoplist noegginfo + NO_ARCH= yes +PORTDOCS= * + +OPTIONS_DEFINE= DOCS +DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openstackdocstheme>=1.17.0:textproc/py-openstackdocstheme@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}reno>=2.5.0:textproc/py-reno@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sphinx>=1.6.2:textproc/py-sphinx@${PY_FLAVOR} +DOCS_VARS= PYDISTUTILS_BUILD_TARGET+="build_sphinx -a -E" -post-patch: - @${REINPLACE_CMD} -e 's,install_requires.*,,' ${WRKSRC}/setup.py +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC}/doc/build/html && \ + ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ + "! -name .buildinfo -and ! -name objects.inv") .include <bsd.port.mk> diff --git a/net/py-python-cinderclient/distinfo b/net/py-python-cinderclient/distinfo index 197821f756af..81a2100f5c04 100644 --- a/net/py-python-cinderclient/distinfo +++ b/net/py-python-cinderclient/distinfo @@ -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 diff --git a/net/py-python-cinderclient/pkg-descr b/net/py-python-cinderclient/pkg-descr index f97f25c207bb..eef8670c742d 100644 --- a/net/py-python-cinderclient/pkg-descr +++ b/net/py-python-cinderclient/pkg-descr @@ -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/ |