diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2020-01-08 22:51:25 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2020-01-08 22:51:25 +0800 |
commit | b31851a024c2c4bba6f5fb948222a86d50b53b24 (patch) | |
tree | 69e346aa0ae211cd7142933a432b6233cc46e519 | |
parent | d1be5ca4efb181c04d39b7726419825efd3381ff (diff) | |
download | freebsd-ports-gnome-b31851a024c2c4bba6f5fb948222a86d50b53b24.tar.gz freebsd-ports-gnome-b31851a024c2c4bba6f5fb948222a86d50b53b24.tar.zst freebsd-ports-gnome-b31851a024c2c4bba6f5fb948222a86d50b53b24.zip |
Update to 2.17.0
- Update version requirement of RUN_DEPENDS
- Sort RUN_DEPENDS
- Update pkg-descr
- Update WWW
- Take maintainership
Changes: https://docs.openstack.org/releasenotes/python-glanceclient/
-rw-r--r-- | net/py-python-glanceclient/Makefile | 39 | ||||
-rw-r--r-- | net/py-python-glanceclient/distinfo | 6 | ||||
-rw-r--r-- | net/py-python-glanceclient/pkg-descr | 10 |
3 files changed, 17 insertions, 38 deletions
diff --git a/net/py-python-glanceclient/Makefile b/net/py-python-glanceclient/Makefile index f5e22815f2b3..e4d6e7a451e9 100644 --- a/net/py-python-glanceclient/Makefile +++ b/net/py-python-glanceclient/Makefile @@ -2,58 +2,35 @@ # $FreeBSD$ PORTNAME= python-glanceclient -PORTVERSION= 2.10.0 -PORTREVISION= 1 +PORTVERSION= 2.17.0 CATEGORIES= net python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= ports@FreeBSD.org -COMMENT= Client for the OpenStack Glance API +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= OpenStack Image API Client Library LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}keystoneauth1>=3.3.0:devel/py-keystoneauth1@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}openssl>=16.2.0:security/py-openssl@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}keystoneauth1>=3.6.2: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}prettytable>=0.7.1<0.8:devel/py-prettytable@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}openssl>=17.1.0:security/py-openssl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.14.2:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}warlock>=1.2.0:devel/py-warlock@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}warlock>=1.2.0<2:devel/py-warlock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wrapt>=1.7.0:devel/py-wrapt@${PY_FLAVOR} USES= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes -PORTDOCS= * - -OPTIONS_DEFINE= DOCS -DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}keystoneauth1>=3.3.0:devel/py-keystoneauth1@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}openstackdocstheme>=1.18.1:textproc/py-openstackdocstheme@${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}prettytable>=0.7.1:devel/py-prettytable@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}sphinx>=1.6.2:textproc/py-sphinx@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}warlock>=1.2.0:devel/py-warlock@${PY_FLAVOR} -DOCS_VARS= PYDISTUTILS_BUILD_TARGET+="build_sphinx -a -E" post-patch: - # Set ETCDIR to ${PREFIX}/etc - @${FIND} ${WRKSRC}/doc/source/ -name "*.rst" -print0 | \ - ${XARGS} -0 ${REINPLACE_CMD} -Ee \ - "s|(/etc/glance)|${PREFIX}\1|g" - @${REINPLACE_CMD} -Ee "s|(/etc/glance)|${PREFIX}\1|g" \ - ${WRKSRC}/glanceclient/shell.py - -post-install-DOCS-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - (cd ${WRKSRC}/doc/build/html && \ - ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ - "! -name .buildinfo -and ! -name objects.inv") + @${REINPLACE_CMD} -e 's|/etc/glance|${PREFIX}&|g' ${WRKSRC}/glanceclient/shell.py .include <bsd.port.mk> diff --git a/net/py-python-glanceclient/distinfo b/net/py-python-glanceclient/distinfo index 4944d6ae491c..35e3ddb43320 100644 --- a/net/py-python-glanceclient/distinfo +++ b/net/py-python-glanceclient/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1530138375 -SHA256 (python-glanceclient-2.10.0.tar.gz) = 4f2e7db4b9e31e11f7f77b3c50d8f642246b65866a908e588c17c0c9fa6aec6a -SIZE (python-glanceclient-2.10.0.tar.gz) = 180299 +TIMESTAMP = 1578401182 +SHA256 (python-glanceclient-2.17.0.tar.gz) = cb9d1168aa4857800069419b0114756cb78fea5f1c38ae1d78a2851e49561142 +SIZE (python-glanceclient-2.17.0.tar.gz) = 189397 diff --git a/net/py-python-glanceclient/pkg-descr b/net/py-python-glanceclient/pkg-descr index 5c348a471696..70d24778c99c 100644 --- a/net/py-python-glanceclient/pkg-descr +++ b/net/py-python-glanceclient/pkg-descr @@ -1,5 +1,7 @@ -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. +This is a client library for Glance built on the OpenStack Images API. It +provides a Python API (the glanceclient module) and a command-line tool +(glance). This library fully supports the v1 Images API, while support for the +v2 API is in progress. -WWW: https://docs.openstack.org/python-glanceclient/ +WWW: https://docs.openstack.org/python-glanceclient/latest/ +WWW: https://github.com/openstack/python-glanceclient |