pkgsrc/www/py-swiftclient/Makefile
adam ec784a40e7 py-swiftclient: updated to 3.11.0
3.11.0:
Unknown changes

3.9.0
* Now tested under Python 3.8.
* Better clean up connections when using the low-level client.py API.
* Fixed a display issue when `swift delete` made multiple attempts to bulk
  delete objects.

3.8.1
* Deleting or overwriting a symlink to an SLO or DLO will no longer attempt
  to clean up the large object's segments.
* Fixed an issue sending non-ASCII metadata keys on Python 3.
  Note that receiving such metadata on py3 is still broken;
  see https://bugs.python.org/issue37093
* Documentation can now be rendered as a PDF.
* Dropped Python 3.5 testing.

3.8.0
* Added a new `--json` option to `swift list`.
* Fixed an issue introduced in 3.5.0 where re-uploading an SLO with
  the same size, mtime, and segment size would delete all of the
  just-uploaded segments.
* Various other minor bug fixes and improvements.

3.7.0
* Added the delimiter keyword parameter to `get_account()` to match the
  functionality of `get_container()`.
* Fixed an issue in the client module where socket connections weren't
  closed properly before being dereferenced.
* Various other minor bug fixes and improvements.

3.6.0
* Add the `--prompt` option for the CLI which will cause the user to be
  prompted to enter a password. Any password otherwise specified by
  `--key`, `--os-password` or an environment variable will be ignored.
* Added bash completion support to the `swift` CLI. Enable this by sourcing
  the included `tools/swift.bash_completion` file. Make it permanent by
  including this file in the system's `/etc/bash_completion.d` directory.
* Add ability to generate a temporary URL with an IP range restriction.
  TempURLs with IP restrictions are supported in Swift 2.19.0 or later.
* The client.py SDK now supports a `query_string` option on the
  `head_object()` method. This is useful for finding information on
  SLO/DLO manifests without fetching the entire manifest.
* The client.py SDK now respects `region_name` when using sessions.
* Added a `.close()` method to an object response, allowing clients to give
  up on reading the rest of the response body, if they so choose.
* Fixed a bug where using `--debug` in the CLI with unicode account names
  would cause a client crash.
* Make OS_AUTH_URL work in DevStack (for testing) by default.
* Dropped Python 3.4 testing.
* Various other minor bug fixes and improvements.
2021-02-10 10:49:56 +00:00

31 lines
1,014 B
Makefile

# $NetBSD: Makefile,v 1.7 2021/02/10 10:49:56 adam Exp $
DISTNAME= python-swiftclient-3.11.0
PKGNAME= ${DISTNAME:S/python/${PYPKGPREFIX}/}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-swiftclient/}
MAINTAINER= triaxx@NetBSD.org
HOMEPAGE= https://github.com/openstack/python-swiftclient
COMMENT= Python bindings to the OpenStack Object Storage API
LICENSE= apache-2.0
BUILD_DEPENDS+= ${PYPKGPREFIX}-pbr-[0-9]*:../../devel/py-pbr
DEPENDS+= ${PYPKGPREFIX}-requests>=1.1.0:../../devel/py-requests
DEPENDS+= ${PYPKGPREFIX}-six>=1.9.0:../../lang/py-six
SUBST_CLASSES+= manpath
SUBST_STAGE.manpath= pre-configure
SUBST_MESSAGE.manpath= fixing man path
SUBST_FILES.manpath= setup.cfg
SUBST_SED.manpath= -e 's,share/man,${PKGMANDIR},'
PYTHON_VERSIONS_INCOMPATIBLE= 27
post-install:
cd ${DESTDIR}${PREFIX} && \
${MV} bin/swift bin/swift-${PYVERSSUFFIX} && \
${MV} man/man1/swift.1 man/man1/swift-${PYVERSSUFFIX}.1 || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"