pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/py-swiftclient py-swiftclient: updated to 3.11.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bae5a7ff1edf
branches:  trunk
changeset: 446523:bae5a7ff1edf
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Feb 10 10:49:56 2021 +0000

description:
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.

diffstat:

 www/py-swiftclient/ALTERNATIVES |   2 +-
 www/py-swiftclient/Makefile     |  21 ++++++++-------------
 www/py-swiftclient/PLIST        |   6 +++---
 www/py-swiftclient/distinfo     |  10 +++++-----
 4 files changed, 17 insertions(+), 22 deletions(-)

diffs (83 lines):

diff -r 16ffbc679825 -r bae5a7ff1edf www/py-swiftclient/ALTERNATIVES
--- a/www/py-swiftclient/ALTERNATIVES   Wed Feb 10 10:41:36 2021 +0000
+++ b/www/py-swiftclient/ALTERNATIVES   Wed Feb 10 10:49:56 2021 +0000
@@ -1,1 +1,1 @@
-bin/swift @PREFIX@/bin/swift@PYVERSSUFFIX@
+bin/swift @PREFIX@/bin/swift-@PYVERSSUFFIX@
diff -r 16ffbc679825 -r bae5a7ff1edf www/py-swiftclient/Makefile
--- a/www/py-swiftclient/Makefile       Wed Feb 10 10:41:36 2021 +0000
+++ b/www/py-swiftclient/Makefile       Wed Feb 10 10:49:56 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2018/09/27 22:29:32 tnn Exp $
+# $NetBSD: Makefile,v 1.7 2021/02/10 10:49:56 adam Exp $
 
-DISTNAME=      python-swiftclient-3.5.0
+DISTNAME=      python-swiftclient-3.11.0
 PKGNAME=       ${DISTNAME:S/python/${PYPKGPREFIX}/}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/python-swiftclient/}
@@ -11,15 +11,8 @@
 LICENSE=       apache-2.0
 
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-pbr-[0-9]*:../../devel/py-pbr
-DEPENDS+=      ${PYPKGPREFIX}-keystone>=0.7.0:../../emulators/py-keystone
-DEPENDS+=      ${PYPKGPREFIX}-requests>=1.1:../../devel/py-requests
-DEPENDS+=      ${PYPKGPREFIX}-six>=1.5.2:../../lang/py-six
-
-.include "../../lang/python/pyversion.mk"
-
-.if "${PYPKGPREFIX}" == "py27"
-DEPENDS+=      ${PYPKGPREFIX}-futures>=3.1:../../devel/py-futures
-.endif
+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
@@ -27,10 +20,12 @@
 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}
+       ${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"
diff -r 16ffbc679825 -r bae5a7ff1edf www/py-swiftclient/PLIST
--- a/www/py-swiftclient/PLIST  Wed Feb 10 10:41:36 2021 +0000
+++ b/www/py-swiftclient/PLIST  Wed Feb 10 10:49:56 2021 +0000
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.3 2018/02/02 08:36:10 adam Exp $
-bin/swift${PYVERSSUFFIX}
+@comment $NetBSD: PLIST,v 1.4 2021/02/10 10:49:56 adam Exp $
+bin/swift-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -38,4 +38,4 @@
 ${PYSITELIB}/swiftclient/version.py
 ${PYSITELIB}/swiftclient/version.pyc
 ${PYSITELIB}/swiftclient/version.pyo
-man/man1/swift${PYVERSSUFFIX}.1
+man/man1/swift-${PYVERSSUFFIX}.1
diff -r 16ffbc679825 -r bae5a7ff1edf www/py-swiftclient/distinfo
--- a/www/py-swiftclient/distinfo       Wed Feb 10 10:41:36 2021 +0000
+++ b/www/py-swiftclient/distinfo       Wed Feb 10 10:49:56 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2018/02/02 08:36:10 adam Exp $
+$NetBSD: distinfo,v 1.4 2021/02/10 10:49:56 adam Exp $
 
-SHA1 (python-swiftclient-3.5.0.tar.gz) = e1f7fb6364fd21af6cdf9399caef306d252ddec7
-RMD160 (python-swiftclient-3.5.0.tar.gz) = ce367226c299f2bf4b36a66787ebb58ecf61c863
-SHA512 (python-swiftclient-3.5.0.tar.gz) = 0132d13e325e83f4ef0150fd66bbf4f6e7400c065e4410481b41d33da1c086726e6eb9c61a8063f32bd9103e5dd2071c1f1c28232a6300cbfe80bd57bac04c0a
-Size (python-swiftclient-3.5.0.tar.gz) = 182598 bytes
+SHA1 (python-swiftclient-3.11.0.tar.gz) = 3366137dee9bd8e05da2b729e1366b4fa898d49d
+RMD160 (python-swiftclient-3.11.0.tar.gz) = 38b1a1bbad921ac55d8a00a3c1de43d13ca1ba3f
+SHA512 (python-swiftclient-3.11.0.tar.gz) = 8dd65fdb17615d11ae15ef66a82d666134f944390400cc32ac2e49f2cc16415d81d894fc73b8fab12ca8e344ca194a2323de4da22de960c6268052bfa6813594
+Size (python-swiftclient-3.11.0.tar.gz) = 201503 bytes



Home | Main Index | Thread Index | Old Index