summaryrefslogtreecommitdiff
path: root/net/py-python-cinderclient
diff options
context:
space:
mode:
authorRoman Bogorodskiy <novel@FreeBSD.org>2016-12-17 15:31:09 +0000
committerRoman Bogorodskiy <novel@FreeBSD.org>2016-12-17 15:31:09 +0000
commitd6c193775fdf46e61d24f521a23fff0671bde21e (patch)
tree29f57aff9831dd2fa116afc517e2ba47e80e769b /net/py-python-cinderclient
parentgraphics/colmap: unblock on amd64 due to intermittent errors (diff)
Rename python openstack clients to match pypi names
- Rename the following ports: py-ceilometerclient py-cinderclient py-designateclient py-glanceclient py-heatclient py-keystoneclient py-neutronclient py-novaclient py-openstackclient to py-python-$(component)client to match pypi name - Update MOVED - Update the appropriate dependency lines Suggested by: koobs
Notes
Notes: svn path=/head/; revision=428767
Diffstat (limited to 'net/py-python-cinderclient')
-rw-r--r--net/py-python-cinderclient/Makefile31
-rw-r--r--net/py-python-cinderclient/distinfo3
-rw-r--r--net/py-python-cinderclient/pkg-descr5
3 files changed, 39 insertions, 0 deletions
diff --git a/net/py-python-cinderclient/Makefile b/net/py-python-cinderclient/Makefile
new file mode 100644
index 000000000000..d72263b38fa1
--- /dev/null
+++ b/net/py-python-cinderclient/Makefile
@@ -0,0 +1,31 @@
+# Created by: Alexander Nusov <alexander.nusov@nfvexpress.com>
+# $FreeBSD$
+
+PORTNAME= python-cinderclient
+PORTVERSION= 1.9.0
+CATEGORIES= net python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= alexander.nusov@nfvexpress.com
+COMMENT= Client for the OpenStack Cinder API
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=1.6:devel/py-pbr
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>=2.3.4:devel/py-babel \
+ ${PYTHON_PKGNAMEPREFIX}prettytable>=0:devel/py-prettytable \
+ ${PYTHON_PKGNAMEPREFIX}keystoneauth1>=2.10.0:devel/py-keystoneauth1 \
+ ${PYTHON_PKGNAMEPREFIX}requests>=2.10.0:www/py-requests \
+ ${PYTHON_PKGNAMEPREFIX}simplejson>=2.2.0:devel/py-simplejson \
+ ${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six \
+ ${PYTHON_PKGNAMEPREFIX}oslo.i18n>=2.1.0:devel/py-oslo.i18n \
+ ${PYTHON_PKGNAMEPREFIX}oslo.utils>=3.16.0:devel/py-oslo.utils
+
+USES= python shebangfix
+SHEBANG_FILES= cinderclient/tests/functional/hooks/post_test_hook.sh
+USE_PYTHON= distutils autoplist noegginfo
+NO_ARCH= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e 's,install_requires.*,,' ${WRKSRC}/setup.py
+
+.include <bsd.port.mk>
diff --git a/net/py-python-cinderclient/distinfo b/net/py-python-cinderclient/distinfo
new file mode 100644
index 000000000000..c0ebb97f8826
--- /dev/null
+++ b/net/py-python-cinderclient/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1475931831
+SHA256 (python-cinderclient-1.9.0.tar.gz) = 17cab946a64808404c6c6840d43487a5082a730cc517d0ebbe6824b54a267fb7
+SIZE (python-cinderclient-1.9.0.tar.gz) = 231331
diff --git a/net/py-python-cinderclient/pkg-descr b/net/py-python-cinderclient/pkg-descr
new file mode 100644
index 000000000000..00824e0531ae
--- /dev/null
+++ b/net/py-python-cinderclient/pkg-descr
@@ -0,0 +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.
+
+WWW: https://pypi.python.org/pypi/python-cinderclient