diff options
author | novel <novel@FreeBSD.org> | 2016-10-12 18:25:14 +0800 |
---|---|---|
committer | novel <novel@FreeBSD.org> | 2016-10-12 18:25:14 +0800 |
commit | 1c33cf4782a247e7fb4cbe46cc84ac43e8770481 (patch) | |
tree | c58b26c0d167de08eb04982aca777261ec1143f1 /net | |
parent | 599ca0d2f41a467ef3c0921e17b0cf4976c1b011 (diff) | |
download | freebsd-ports-gnome-1c33cf4782a247e7fb4cbe46cc84ac43e8770481.tar.gz freebsd-ports-gnome-1c33cf4782a247e7fb4cbe46cc84ac43e8770481.tar.zst freebsd-ports-gnome-1c33cf4782a247e7fb4cbe46cc84ac43e8770481.zip |
Add py-neutronclient 6.0.0, client for the OpenStack Neutron API.
PR: 213337
Submitted by: Alexander Nusov <alexander.nusov@nfvexpress.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/py-neutronclient/Makefile | 37 | ||||
-rw-r--r-- | net/py-neutronclient/distinfo | 3 | ||||
-rw-r--r-- | net/py-neutronclient/pkg-descr | 5 |
4 files changed, 46 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index 71d07d67e960..c0f2df021bc0 100644 --- a/net/Makefile +++ b/net/Makefile @@ -990,6 +990,7 @@ SUBDIR += py-netifaces SUBDIR += py-netlib SUBDIR += py-netstring + SUBDIR += py-neutronclient SUBDIR += py-nnpy SUBDIR += py-novaclient SUBDIR += py-ntplib diff --git a/net/py-neutronclient/Makefile b/net/py-neutronclient/Makefile new file mode 100644 index 000000000000..f915ae4dbd14 --- /dev/null +++ b/net/py-neutronclient/Makefile @@ -0,0 +1,37 @@ +# Created by: Alexander Nusov <alexander.nusov@nfvexpress.com> +# $FreeBSD$ + +PORTNAME= neutronclient +PORTVERSION= 6.0.0 +CATEGORIES= net python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= python-${PORTNAME}-${PORTVERSION} + +MAINTAINER= alexander.nusov@nfvexpress.com +COMMENT= Client for the OpenStack Neutron API + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=1.6:devel/py-pbr +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}keystoneauth1>=2.10.0:devel/py-keystoneauth1 \ + ${PYTHON_PKGNAMEPREFIX}debtcollector>=1.2.0:devel/py-debtcollector \ + ${PYTHON_PKGNAMEPREFIX}osc-lib>=1.0.2:devel/py-osc-lib \ + ${PYTHON_PKGNAMEPREFIX}cliff>=0:devel/py-cliff \ + ${PYTHON_PKGNAMEPREFIX}iso8601>=0.1.11:devel/py-iso8601 \ + ${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}os-client-config>=0:devel/py-os-client-config \ + ${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}Babel>=2.3.4:devel/py-babel + +USES= python shebangfix +SHEBANG_FILES= neutronclient/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-neutronclient/distinfo b/net/py-neutronclient/distinfo new file mode 100644 index 000000000000..9188f76ac927 --- /dev/null +++ b/net/py-neutronclient/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1475931882 +SHA256 (python-neutronclient-6.0.0.tar.gz) = a30556f8b9541e94f44a9911d9af89037710761755758a2c1598fa92809293a2 +SIZE (python-neutronclient-6.0.0.tar.gz) = 205872 diff --git a/net/py-neutronclient/pkg-descr b/net/py-neutronclient/pkg-descr new file mode 100644 index 000000000000..4b9c562515c2 --- /dev/null +++ b/net/py-neutronclient/pkg-descr @@ -0,0 +1,5 @@ +This is a client for the OpenStack Neutron API. There's a Python +API (the neutronclient module), and a command-line script (neutron). +Each implements 100% of the OpenStack Neutron API. + +WWW: https://pypi.python.org/pypi/python-neutronclient |