summaryrefslogtreecommitdiff
path: root/net/py-python-glanceclient
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-glanceclient
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-glanceclient')
-rw-r--r--net/py-python-glanceclient/Makefile32
-rw-r--r--net/py-python-glanceclient/distinfo3
-rw-r--r--net/py-python-glanceclient/pkg-descr5
3 files changed, 40 insertions, 0 deletions
diff --git a/net/py-python-glanceclient/Makefile b/net/py-python-glanceclient/Makefile
new file mode 100644
index 000000000000..721bbd366eb2
--- /dev/null
+++ b/net/py-python-glanceclient/Makefile
@@ -0,0 +1,32 @@
+# Created by: Alexander Nusov <alexander.nusov@nfvexpress.com>
+# $FreeBSD$
+
+PORTNAME= python-glanceclient
+PORTVERSION= 2.5.0
+PORTREVISION= 1
+CATEGORIES= net python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= alexander.nusov@nfvexpress.com
+COMMENT= Client for the OpenStack Glance 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}python-keystoneclient>=0:net/py-python-keystoneclient \
+ ${PYTHON_PKGNAMEPREFIX}requests>=2.10.0:www/py-requests \
+ ${PYTHON_PKGNAMEPREFIX}warlock>=0:devel/py-warlock \
+ ${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= glanceclient/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-glanceclient/distinfo b/net/py-python-glanceclient/distinfo
new file mode 100644
index 000000000000..511fe89ff44f
--- /dev/null
+++ b/net/py-python-glanceclient/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1475931722
+SHA256 (python-glanceclient-2.5.0.tar.gz) = 8c510a089fb4dc8355d5db0de608361888b5e4e0c81e0d153ae1b1366bfb8a08
+SIZE (python-glanceclient-2.5.0.tar.gz) = 157864
diff --git a/net/py-python-glanceclient/pkg-descr b/net/py-python-glanceclient/pkg-descr
new file mode 100644
index 000000000000..74510513ee8e
--- /dev/null
+++ b/net/py-python-glanceclient/pkg-descr
@@ -0,0 +1,5 @@
+This is a client for the OpenStack Glance API. There's a Python
+API (the glanceclient module), and a command-line script (glance).
+Each implements 100% of the OpenStack Glance API.
+
+WWW: https://pypi.python.org/pypi/python-glanceclient