pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/py-keyring py-keyring: updated to 18.0.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c925a30f6b16
branches:  trunk
changeset: 320082:c925a30f6b16
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Feb 27 13:27:22 2019 +0000

description:
py-keyring: updated to 18.0.0

18.0.0
* On macOS, the backend now raises a KeyringLocked
  when access to the keyring is denied (on get or set) instead
  of PasswordSetError or KeyringError. Any API users
  may need to account for this change, probably by catching
  the parent KeyringError.
  Additionally, the error message from the underying error is
  now included in any errors that occur.

17.1.1
* Update packaging technique to avoid 0.0.0 releases.

17.1.0
* When calling keyring.core.init_backend, if any
  limit function is supplied, it is saved and later honored by
  the ChainerBackend as well.

17.0.0
* Remove application attribute from stored passwords
  using SecretService, addressing regression introduced in
  10.5.0. Impacted Linux keyrings will once again
  prompt for a password for "Python program".

16.1.1
* Fix error on import due to circular imports
  on Python 3.4.

16.1.0
* Refactor ChainerBackend, introduced in 16.0 to function
  as any other backend, activating when relevant.

16.0.2
* In Windows backend, trap all exceptions when
  attempting to import pywin32.

16.0.1
* Once again allow all positive, non-zero priority
  keyrings to participate.

16.0.0
* Fix race condition in delete_password on Windows.
* All suitable backends (priority 1 and greater) are
  allowed to participate.

15.2.0
* Added new API for get_credentials, for backends
  that can resolve both a username and password for a service.

15.1.0
* Add the Null keyring, disabled by default.
* Added --disable option to command-line
  interface.
* Now honor a PYTHON_KEYRING_BACKEND
  environment variable to select a backend. Environments
  may set to keyring.backends.null.Keyring to disable
  keyring.

diffstat:

 security/py-keyring/Makefile |  12 +++++++-----
 security/py-keyring/PLIST    |  21 +++++++++++++--------
 security/py-keyring/distinfo |  10 +++++-----
 3 files changed, 25 insertions(+), 18 deletions(-)

diffs (121 lines):

diff -r 4e8bcc87875b -r c925a30f6b16 security/py-keyring/Makefile
--- a/security/py-keyring/Makefile      Wed Feb 27 13:18:01 2019 +0000
+++ b/security/py-keyring/Makefile      Wed Feb 27 13:27:22 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.21 2017/12/21 14:06:32 adam Exp $
+# $NetBSD: Makefile,v 1.22 2019/02/27 13:27:22 adam Exp $
 
-DISTNAME=      keyring-10.5.1
+DISTNAME=      keyring-18.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    security python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=k/keyring/}
@@ -11,15 +11,17 @@
 LICENSE=       python-software-foundation
 
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm>=1.15.0:../../devel/py-setuptools_scm
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-test>=2.8:../../devel/py-test
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-sugar-[0-9]*:../../devel/py-test-sugar
+DEPENDS+=      ${PYPKGPREFIX}-entrypoints-[0-9]*:../../devel/py-entrypoints
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.5:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
 
 USE_LANGUAGES= # none
 
 REPLACE_PYTHON+=       keyring/cli.py
 
 post-install:
-       cd ${DESTDIR}${PREFIX}/bin && ${MV} keyring keyring-${PYVERSSUFFIX} || ${TRUE}
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} keyring keyring-${PYVERSSUFFIX} || ${TRUE}
 
 .include "../../lang/python/application.mk"
 .include "../../lang/python/egg.mk"
diff -r 4e8bcc87875b -r c925a30f6b16 security/py-keyring/PLIST
--- a/security/py-keyring/PLIST Wed Feb 27 13:18:01 2019 +0000
+++ b/security/py-keyring/PLIST Wed Feb 27 13:27:22 2019 +0000
@@ -1,10 +1,9 @@
-@comment $NetBSD: PLIST,v 1.4 2017/10/18 07:22:53 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2019/02/27 13:27:22 adam Exp $
 bin/keyring-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
 ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/namespace_packages.txt
 ${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/keyring/__init__.py
@@ -31,12 +30,18 @@
 ${PYSITELIB}/keyring/backends/__init__.py
 ${PYSITELIB}/keyring/backends/__init__.pyc
 ${PYSITELIB}/keyring/backends/__init__.pyo
+${PYSITELIB}/keyring/backends/chainer.py
+${PYSITELIB}/keyring/backends/chainer.pyc
+${PYSITELIB}/keyring/backends/chainer.pyo
 ${PYSITELIB}/keyring/backends/fail.py
 ${PYSITELIB}/keyring/backends/fail.pyc
 ${PYSITELIB}/keyring/backends/fail.pyo
 ${PYSITELIB}/keyring/backends/kwallet.py
 ${PYSITELIB}/keyring/backends/kwallet.pyc
 ${PYSITELIB}/keyring/backends/kwallet.pyo
+${PYSITELIB}/keyring/backends/null.py
+${PYSITELIB}/keyring/backends/null.pyc
+${PYSITELIB}/keyring/backends/null.pyo
 ${PYSITELIB}/keyring/cli.py
 ${PYSITELIB}/keyring/cli.pyc
 ${PYSITELIB}/keyring/cli.pyo
@@ -52,15 +57,15 @@
 ${PYSITELIB}/keyring/errors.py
 ${PYSITELIB}/keyring/errors.pyc
 ${PYSITELIB}/keyring/errors.pyo
-${PYSITELIB}/keyring/getpassbackend.py
-${PYSITELIB}/keyring/getpassbackend.pyc
-${PYSITELIB}/keyring/getpassbackend.pyo
 ${PYSITELIB}/keyring/http.py
 ${PYSITELIB}/keyring/http.pyc
 ${PYSITELIB}/keyring/http.pyo
 ${PYSITELIB}/keyring/py27compat.py
 ${PYSITELIB}/keyring/py27compat.pyc
 ${PYSITELIB}/keyring/py27compat.pyo
+${PYSITELIB}/keyring/py32compat.py
+${PYSITELIB}/keyring/py32compat.pyc
+${PYSITELIB}/keyring/py32compat.pyo
 ${PYSITELIB}/keyring/py33compat.py
 ${PYSITELIB}/keyring/py33compat.pyc
 ${PYSITELIB}/keyring/py33compat.pyo
@@ -79,6 +84,9 @@
 ${PYSITELIB}/keyring/tests/backends/test_Windows.py
 ${PYSITELIB}/keyring/tests/backends/test_Windows.pyc
 ${PYSITELIB}/keyring/tests/backends/test_Windows.pyo
+${PYSITELIB}/keyring/tests/backends/test_chainer.py
+${PYSITELIB}/keyring/tests/backends/test_chainer.pyc
+${PYSITELIB}/keyring/tests/backends/test_chainer.pyo
 ${PYSITELIB}/keyring/tests/backends/test_kwallet.py
 ${PYSITELIB}/keyring/tests/backends/test_kwallet.pyc
 ${PYSITELIB}/keyring/tests/backends/test_kwallet.pyo
@@ -91,9 +99,6 @@
 ${PYSITELIB}/keyring/util/__init__.py
 ${PYSITELIB}/keyring/util/__init__.pyc
 ${PYSITELIB}/keyring/util/__init__.pyo
-${PYSITELIB}/keyring/util/escape.py
-${PYSITELIB}/keyring/util/escape.pyc
-${PYSITELIB}/keyring/util/escape.pyo
 ${PYSITELIB}/keyring/util/platform_.py
 ${PYSITELIB}/keyring/util/platform_.pyc
 ${PYSITELIB}/keyring/util/platform_.pyo
diff -r 4e8bcc87875b -r c925a30f6b16 security/py-keyring/distinfo
--- a/security/py-keyring/distinfo      Wed Feb 27 13:18:01 2019 +0000
+++ b/security/py-keyring/distinfo      Wed Feb 27 13:27:22 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.11 2017/12/21 14:06:32 adam Exp $
+$NetBSD: distinfo,v 1.12 2019/02/27 13:27:22 adam Exp $
 
-SHA1 (keyring-10.5.1.tar.gz) = 7848b167f192e4dbe19f50a716aac48208113716
-RMD160 (keyring-10.5.1.tar.gz) = e65b88924adaeedf2f14f9b25117a9c29d690ffe
-SHA512 (keyring-10.5.1.tar.gz) = 2e18487c061d67b866390e4f2f740ceb281b75e9ead01c00e2851aec9f56cffb6268334b35d64b498eaa719639fceceb29cf6adf46c6930e3506c04f672e897c
-Size (keyring-10.5.1.tar.gz) = 40755 bytes
+SHA1 (keyring-18.0.0.tar.gz) = 98ee5f4c2bfce471899d7979802724e954c7e151
+RMD160 (keyring-18.0.0.tar.gz) = a419899468cef2a2212a61edee30eff940bf7101
+SHA512 (keyring-18.0.0.tar.gz) = 3863f2cd89131d7e927e55691b4eb4b7c2599af189525293d0948aef5215efbbbd74d45db3cd4885ba5b18a79f0fa0b0edc3783a020a6702f6a6fb7ed86b2cf2
+Size (keyring-18.0.0.tar.gz) = 48509 bytes



Home | Main Index | Thread Index | Old Index