Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/007a4691c9eb
branches:  trunk
changeset: 431957:007a4691c9eb
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun May 17 19:57:22 2020 +0000

description:
py-keyright: updated to 21.2.1

v21.2.1
-------
* Restored lenience on startup when entry point
  metadata is missing.
* Avoid RecursionError when initializing backends
  when a limit is supplied.

v21.2.0
-------
* Chainer now deterministically resolves at a lower
  priority than the Fail keyring (when there are no backends
  to chain).
* Fail keyring now raises a ``NoKeyringError`` for
  easier selectability.
* Keyring now logs at DEBUG rather than INFO during
  backend startup.

v21.1.1
-------
* Refreshed package metadata.

v21.1.0
-------
* In SecretService backend, close connections after
  using them.

v21.0.0
-------
* Require Python 3.6 or later.

v20.0.1
-------
* Fix TypeError when backend fails to initialize.

v20.0.0
-------
* Extracted ``keyring.testing`` package to contain supporting
  functionality for plugin backends. ``keyring.tests`` has been
  removed from the package.

v19.3.0
-------
* Switch to `importlib.metadata
  <https://docs.python.org/3/library/importlib.metadata.html>`_
  for loading entry points. Removes one dependency on Python 3.8.
* Added new ``KeyringBackend.set_properties_from_env``.
* Add support for alternate persistence scopes for Windows
  backend. Set ``.persist`` to "local machine" or "session"
  to enable the alternate scopes or "enterprise" to use the
  default scope.
* Improve import times when a backend is specifically
  configured by lazily calling ``get_all_keyring``.

diffstat:

 security/py-keyring/Makefile |  20 ++++++++++++++------
 security/py-keyring/PLIST    |  41 ++++++++++-------------------------------
 security/py-keyring/distinfo |  10 +++++-----
 3 files changed, 29 insertions(+), 42 deletions(-)

diffs (112 lines):

diff -r 8fe4cac73672 -r 007a4691c9eb security/py-keyring/Makefile
--- a/security/py-keyring/Makefile      Sun May 17 19:49:18 2020 +0000
+++ b/security/py-keyring/Makefile      Sun May 17 19:57:22 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.25 2019/09/25 13:06:12 adam Exp $
+# $NetBSD: Makefile,v 1.26 2020/05/17 19:57:22 adam Exp $
 
-DISTNAME=      keyring-19.2.0
+DISTNAME=      keyring-21.2.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    security python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=k/keyring/}
@@ -10,10 +10,14 @@
 COMMENT=       Store and access your passwords safely
 LICENSE=       python-software-foundation
 
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm>=1.15.0:../../devel/py-setuptools_scm
-DEPENDS+=      ${PYPKGPREFIX}-entrypoints-[0-9]*:../../devel/py-entrypoints
-TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.7.4:../../devel/py-test
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm>=3.4.1:../../devel/py-setuptools_scm
+#TEST_DEPENDS+=        ${PYPKGPREFIX}-test>=3.7.4:../../devel/py-test
+#TEST_DEPENDS+=        ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
+
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} < 38
+DEPENDS+=      ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
+.endif
 
 USE_LANGUAGES= # none
 
@@ -25,6 +29,10 @@
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} keyring keyring-${PYVERSSUFFIX} || ${TRUE}
 
+# requires: pytest-black
+#do-test:
+#      cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
+
 .include "../../lang/python/application.mk"
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 8fe4cac73672 -r 007a4691c9eb security/py-keyring/PLIST
--- a/security/py-keyring/PLIST Sun May 17 19:49:18 2020 +0000
+++ b/security/py-keyring/PLIST Sun May 17 19:57:22 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2019/09/02 10:20:57 adam Exp $
+@comment $NetBSD: PLIST,v 1.7 2020/05/17 19:57:22 adam Exp $
 bin/keyring-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -60,36 +60,15 @@
 ${PYSITELIB}/keyring/http.py
 ${PYSITELIB}/keyring/http.pyc
 ${PYSITELIB}/keyring/http.pyo
-${PYSITELIB}/keyring/tests/__init__.py
-${PYSITELIB}/keyring/tests/__init__.pyc
-${PYSITELIB}/keyring/tests/__init__.pyo
-${PYSITELIB}/keyring/tests/backends/__init__.py
-${PYSITELIB}/keyring/tests/backends/__init__.pyc
-${PYSITELIB}/keyring/tests/backends/__init__.pyo
-${PYSITELIB}/keyring/tests/backends/test_OS_X.py
-${PYSITELIB}/keyring/tests/backends/test_OS_X.pyc
-${PYSITELIB}/keyring/tests/backends/test_OS_X.pyo
-${PYSITELIB}/keyring/tests/backends/test_SecretService.py
-${PYSITELIB}/keyring/tests/backends/test_SecretService.pyc
-${PYSITELIB}/keyring/tests/backends/test_SecretService.pyo
-${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
-${PYSITELIB}/keyring/tests/test_backend.py
-${PYSITELIB}/keyring/tests/test_backend.pyc
-${PYSITELIB}/keyring/tests/test_backend.pyo
-${PYSITELIB}/keyring/tests/test_errors.py
-${PYSITELIB}/keyring/tests/test_errors.pyc
-${PYSITELIB}/keyring/tests/test_errors.pyo
-${PYSITELIB}/keyring/tests/util.py
-${PYSITELIB}/keyring/tests/util.pyc
-${PYSITELIB}/keyring/tests/util.pyo
+${PYSITELIB}/keyring/testing/__init__.py
+${PYSITELIB}/keyring/testing/__init__.pyc
+${PYSITELIB}/keyring/testing/__init__.pyo
+${PYSITELIB}/keyring/testing/backend.py
+${PYSITELIB}/keyring/testing/backend.pyc
+${PYSITELIB}/keyring/testing/backend.pyo
+${PYSITELIB}/keyring/testing/util.py
+${PYSITELIB}/keyring/testing/util.pyc
+${PYSITELIB}/keyring/testing/util.pyo
 ${PYSITELIB}/keyring/util/__init__.py
 ${PYSITELIB}/keyring/util/__init__.pyc
 ${PYSITELIB}/keyring/util/__init__.pyo
diff -r 8fe4cac73672 -r 007a4691c9eb security/py-keyring/distinfo
--- a/security/py-keyring/distinfo      Sun May 17 19:49:18 2020 +0000
+++ b/security/py-keyring/distinfo      Sun May 17 19:57:22 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.14 2019/09/20 16:39:31 adam Exp $
+$NetBSD: distinfo,v 1.15 2020/05/17 19:57:22 adam Exp $
 
-SHA1 (keyring-19.2.0.tar.gz) = 575a4fc319b94e737fc3c430fbe9f79470ff5f73
-RMD160 (keyring-19.2.0.tar.gz) = 3ffc8eb335afd04c4fe65466770a44a5075a0094
-SHA512 (keyring-19.2.0.tar.gz) = 1fe423f2a7e5331a9d1b37624f4d88b60f77c2cb2c8f8b0808a2f90f43eb9533faa533068e0d8f75b4bdddba2d160f5fac2500c93760fde64fbdb269f8668b0f
-Size (keyring-19.2.0.tar.gz) = 48616 bytes
+SHA1 (keyring-21.2.1.tar.gz) = bb706a162e4eefeffef65a4e0614b4766c6ba1fd
+RMD160 (keyring-21.2.1.tar.gz) = 67624ead4a8f26f0acc2dde21f72ddd389836ab9
+SHA512 (keyring-21.2.1.tar.gz) = e9fdf88a638e1a299dae7ce77c65356cd39f95db973ba399497f2d1e1e7af7595b3071e6df33a4aaa0cc9899a96ae3eae3b02d2ece604f3ff844ac82d3192617
+Size (keyring-21.2.1.tar.gz) = 55457 bytes



Home | Main Index | Thread Index | Old Index