aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authornovel <novel@FreeBSD.org>2016-10-12 18:24:37 +0800
committernovel <novel@FreeBSD.org>2016-10-12 18:24:37 +0800
commit599ca0d2f41a467ef3c0921e17b0cf4976c1b011 (patch)
tree4662a0380c22251c299b859d7ebb4fea35f70fe6 /net
parent0a83d1dd921ad4756d207cebf83d944e1bc9d94b (diff)
downloadfreebsd-ports-graphics-599ca0d2f41a467ef3c0921e17b0cf4976c1b011.tar.gz
freebsd-ports-graphics-599ca0d2f41a467ef3c0921e17b0cf4976c1b011.tar.zst
freebsd-ports-graphics-599ca0d2f41a467ef3c0921e17b0cf4976c1b011.zip
Add py-keystoneclient 3.5.0, client for the OpenStack Keystone API.
PR: 213337 Submitted by: Alexander Nusov <alexander.nusov@nfvexpress.com>
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/py-keystoneclient/Makefile34
-rw-r--r--net/py-keystoneclient/distinfo3
-rw-r--r--net/py-keystoneclient/pkg-descr5
4 files changed, 43 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index d4b506a5a68..71d07d67e96 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -971,6 +971,7 @@
SUBDIR += py-ipaddress
SUBDIR += py-iplib
SUBDIR += py-kafka-python
+ SUBDIR += py-keystoneclient
SUBDIR += py-kombu
SUBDIR += py-ldap
SUBDIR += py-ldap3
diff --git a/net/py-keystoneclient/Makefile b/net/py-keystoneclient/Makefile
new file mode 100644
index 00000000000..d4b6c8bf600
--- /dev/null
+++ b/net/py-keystoneclient/Makefile
@@ -0,0 +1,34 @@
+# Created by: Alexander Nusov <alexander.nusov@nfvexpress.com>
+# $FreeBSD$
+
+PORTNAME= keystoneclient
+PORTVERSION= 3.5.0
+CATEGORIES= net python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= python-${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= alexander.nusov@nfvexpress.com
+COMMENT= Client for the OpenStack Keystone API
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=1.6:devel/py-pbr
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}debtcollector>=1.2.0:devel/py-debtcollector \
+ ${PYTHON_PKGNAMEPREFIX}keystoneauth1>=2.10.0:devel/py-keystoneauth1 \
+ ${PYTHON_PKGNAMEPREFIX}oslo.config>=3.14.0:devel/py-oslo.config \
+ ${PYTHON_PKGNAMEPREFIX}oslo.i18n>=2.1.0:devel/py-oslo.i18n \
+ ${PYTHON_PKGNAMEPREFIX}oslo.serialization>=1.10.0:devel/py-oslo.serialization \
+ ${PYTHON_PKGNAMEPREFIX}oslo.utils>=3.16.0:devel/py-oslo.utils \
+ ${PYTHON_PKGNAMEPREFIX}positional>=1.0.1:devel/py-positional \
+ ${PYTHON_PKGNAMEPREFIX}requests>=2.10.0:www/py-requests \
+ ${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six \
+ ${PYTHON_PKGNAMEPREFIX}stevedore>=1.16.0:devel/py-stevedore
+
+USES= python shebangfix
+SHEBANG_FILES= keystoneclient/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-keystoneclient/distinfo b/net/py-keystoneclient/distinfo
new file mode 100644
index 00000000000..ce7cb1b3536
--- /dev/null
+++ b/net/py-keystoneclient/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1475932050
+SHA256 (python-keystoneclient-3.5.0.tar.gz) = 5a1c7f3902193c620e398c4655b7d363a7fabdb286e549fccf99ae84ed1612dd
+SIZE (python-keystoneclient-3.5.0.tar.gz) = 299756
diff --git a/net/py-keystoneclient/pkg-descr b/net/py-keystoneclient/pkg-descr
new file mode 100644
index 00000000000..a03f4c60082
--- /dev/null
+++ b/net/py-keystoneclient/pkg-descr
@@ -0,0 +1,5 @@
+A client for the OpenStack Identity API, implemented by the Keystone team.
+It contains a Python API (the keystoneclient module) for
+OpenStack's Identity Service.
+
+WWW: https://pypi.python.org/pypi/python-keystoneclient