Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jun 2018 23:34:58 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r473480 - head/net/py-python-cinderclient
Message-ID:  <201806272334.w5RNYwMY079963@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Wed Jun 27 23:34:57 2018
New Revision: 473480
URL: https://svnweb.freebsd.org/changeset/ports/473480

Log:
  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)

Modified:
  head/net/py-python-cinderclient/Makefile
  head/net/py-python-cinderclient/distinfo   (contents, props changed)
  head/net/py-python-cinderclient/pkg-descr   (contents, props changed)

Modified: head/net/py-python-cinderclient/Makefile
==============================================================================
--- head/net/py-python-cinderclient/Makefile	Wed Jun 27 23:34:50 2018	(r473479)
+++ head/net/py-python-cinderclient/Makefile	Wed Jun 27 23:34:57 2018	(r473480)
@@ -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=	*
 
-post-patch:
-	@${REINPLACE_CMD} -e 's,install_requires.*,,' ${WRKSRC}/setup.py
+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-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>

Modified: head/net/py-python-cinderclient/distinfo
==============================================================================
--- head/net/py-python-cinderclient/distinfo	Wed Jun 27 23:34:50 2018	(r473479)
+++ head/net/py-python-cinderclient/distinfo	Wed Jun 27 23:34:57 2018	(r473480)
@@ -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

Modified: head/net/py-python-cinderclient/pkg-descr
==============================================================================
--- head/net/py-python-cinderclient/pkg-descr	Wed Jun 27 23:34:50 2018	(r473479)
+++ head/net/py-python-cinderclient/pkg-descr	Wed Jun 27 23:34:57 2018	(r473480)
@@ -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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806272334.w5RNYwMY079963>