pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/py-keyring



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Mar 10 17:00:55 UTC 2023

Modified Files:
        pkgsrc/security/py-keyring: Makefile PLIST distinfo

Log Message:
py-keyring: updated to 23.13.1

v23.13.1
--------
* Fixed failure in macOS backend when attempting to set a
  password after previously setting a blank password, including a
  test applying to all backends.

v23.13.0
--------
* Added support for tab completion on the ``keyring`` command
  if the ``completion`` extra is installed (``keyring[completion]``).

v23.12.1
--------
* Prevent installation of ``pywin32-ctypes 0.1.2`` with broken
  ``use2to3`` directive.

v23.12.0
--------
* Removed PSF license as it was unused and confusing. Project
  remains MIT licensed as always.

v23.11.0
--------
* In ``libsecret``, check that the service is available before
  declaring viability.

v23.10.0
--------
* Bump requirement on ``importlib_metadata`` to pull in fix for
  improperly-normalized names on egg-info.

v23.9.3
-------
* Add workaround for devpi_client hook with wrapped implementation.

v23.9.2
-------
* Fixed wrong name in compatibility logic for ``properties``
  (masked by the compatibility fallback).

v23.9.1
-------
* Restore ``keyring.util.properties`` with deprecation warning for
  backward compatibility.

v23.9.0
-------
* Project now depends on ``jaraco.classes`` for class property support.

v23.8.2
-------
* Corrected regression in ``libsecret`` tests (``.collection`` property).

v23.8.1
-------
* Fix regression in ``libsecret``.

v23.8.0
-------
* ``SecretService`` and ``libsecret`` backends now support a
  new ``SelectableScheme``, allowing the keys for "username" and
  "service" to be overridden for compatibility with other schemes
  such as KeePassXC.

* Introduced a new ``.with_properties`` method on backends to
  produce a new keyring with different properties. Use for example
  to get a keyring with a different ``keychain`` (macOS) or
  ``scheme`` (SecretService/libsecret). e.g.::

    keypass = keyring.get_keyring().with_properties(scheme='KeePassXC')

* ``.with_keychain`` method on macOS is superseded by ``.with_properties``
  and so is now deprecated.

v23.7.0
-------
* Suppress KeyringErrors for devpi client.

v23.6.0
-------
* Only require ``importlib_metadata`` on older Pythons.
* Add ``.with_keychain`` method on macOS for easy reference
  to alternate keychains.

v23.5.1
-------
* The correct config root is now used on Windows.

v23.5.0
-------
* Require Python 3.7 or later.

v23.4.1
-------
* Fixed docs warnings.

v23.4.0
-------
* EnvironCredential now allows for equality
  comparison.

v23.3.0
-------
* macOS backend is no longer viable if the API module
  cannot be loaded. Prevents "symbol not found" errors on
  macOS 11 (Big Sur) and later when a "universal2" binary
  is not used (available for Python 3.8.7 and later).

* Tests no longer attempt to run macOS backends even
  on macOS when the backend is non-viable.

* Change get_credential to return generic Credential.

v23.2.1
-------
* In libsecret tests, use a session collection to
  allow tests to pass on Debian.

v23.2.0
-------
* Add libsecret backend.

v23.1.0
-------
* macOS backend APIs updated to newer, non-legacy
  APIs.

v23.0.1
-------
* Better error with invalid parameter to init_keyring.
* Nicer documentation for headless Docker.

v23.0.0
-------
* Backends now all invoke ``set_properties_from_env`` on
  self in the initializer. Derived backends should be sure
  to invoke ``super().__init__()``.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/security/py-keyring/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/security/py-keyring/PLIST
cvs rdiff -u -r1.17 -r1.18 pkgsrc/security/py-keyring/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/py-keyring/Makefile
diff -u pkgsrc/security/py-keyring/Makefile:1.29 pkgsrc/security/py-keyring/Makefile:1.30
--- pkgsrc/security/py-keyring/Makefile:1.29    Wed Jan  5 15:41:20 2022
+++ pkgsrc/security/py-keyring/Makefile Fri Mar 10 17:00:55 2023
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.29 2022/01/05 15:41:20 wiz Exp $
+# $NetBSD: Makefile,v 1.30 2023/03/10 17:00:55 adam Exp $
 
-DISTNAME=      keyring-21.2.1
+DISTNAME=      keyring-23.13.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
 CATEGORIES=    security python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=k/keyring/}
 
@@ -11,21 +10,16 @@ HOMEPAGE=   https://github.com/jaraco/keyr
 COMMENT=       Store and access your passwords safely
 LICENSE=       python-software-foundation
 
-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
-
-PYTHON_VERSIONS_INCOMPATIBLE=  27
-
-USE_PKG_RESOURCES=     yes
-
-.include "../../lang/python/pyversion.mk"
-.if ${_PYTHON_VERSION} < 38
-DEPENDS+=      ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
-.endif
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=3.4.1:../../devel/py-setuptools_scm
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=6:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
 
 USE_LANGUAGES= # none
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 REPLACE_PYTHON+=       keyring/cli.py
 
 post-install:
@@ -33,9 +27,9 @@ post-install:
        ${MV} keyring keyring-${PYVERSSUFFIX} || ${TRUE}
 
 # requires: pytest-black
-#do-test:
-#      cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
 
 .include "../../lang/python/application.mk"
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/security/py-keyring/PLIST
diff -u pkgsrc/security/py-keyring/PLIST:1.7 pkgsrc/security/py-keyring/PLIST:1.8
--- pkgsrc/security/py-keyring/PLIST:1.7        Sun May 17 19:57:22 2020
+++ pkgsrc/security/py-keyring/PLIST    Fri Mar 10 17:00:55 2023
@@ -1,80 +1,73 @@
-@comment $NetBSD: PLIST,v 1.7 2020/05/17 19:57:22 adam Exp $
+@comment $NetBSD: PLIST,v 1.8 2023/03/10 17:00:55 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}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/keyring/__init__.py
 ${PYSITELIB}/keyring/__init__.pyc
-${PYSITELIB}/keyring/__init__.pyo
 ${PYSITELIB}/keyring/__main__.py
 ${PYSITELIB}/keyring/__main__.pyc
-${PYSITELIB}/keyring/__main__.pyo
+${PYSITELIB}/keyring/_compat.py
+${PYSITELIB}/keyring/_compat.pyc
+${PYSITELIB}/keyring/_properties_compat.py
+${PYSITELIB}/keyring/_properties_compat.pyc
 ${PYSITELIB}/keyring/backend.py
 ${PYSITELIB}/keyring/backend.pyc
-${PYSITELIB}/keyring/backend.pyo
+${PYSITELIB}/keyring/backend_complete.zsh
 ${PYSITELIB}/keyring/backends/OS_X.py
 ${PYSITELIB}/keyring/backends/OS_X.pyc
-${PYSITELIB}/keyring/backends/OS_X.pyo
 ${PYSITELIB}/keyring/backends/SecretService.py
 ${PYSITELIB}/keyring/backends/SecretService.pyc
-${PYSITELIB}/keyring/backends/SecretService.pyo
 ${PYSITELIB}/keyring/backends/Windows.py
 ${PYSITELIB}/keyring/backends/Windows.pyc
-${PYSITELIB}/keyring/backends/Windows.pyo
-${PYSITELIB}/keyring/backends/_OS_X_API.py
-${PYSITELIB}/keyring/backends/_OS_X_API.pyc
-${PYSITELIB}/keyring/backends/_OS_X_API.pyo
 ${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/libsecret.py
+${PYSITELIB}/keyring/backends/libsecret.pyc
+${PYSITELIB}/keyring/backends/macOS/__init__.py
+${PYSITELIB}/keyring/backends/macOS/__init__.pyc
+${PYSITELIB}/keyring/backends/macOS/api.py
+${PYSITELIB}/keyring/backends/macOS/api.pyc
 ${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
+${PYSITELIB}/keyring/completion.py
+${PYSITELIB}/keyring/completion.pyc
 ${PYSITELIB}/keyring/core.py
 ${PYSITELIB}/keyring/core.pyc
-${PYSITELIB}/keyring/core.pyo
 ${PYSITELIB}/keyring/credentials.py
 ${PYSITELIB}/keyring/credentials.pyc
-${PYSITELIB}/keyring/credentials.pyo
 ${PYSITELIB}/keyring/devpi_client.py
 ${PYSITELIB}/keyring/devpi_client.pyc
-${PYSITELIB}/keyring/devpi_client.pyo
 ${PYSITELIB}/keyring/errors.py
 ${PYSITELIB}/keyring/errors.pyc
-${PYSITELIB}/keyring/errors.pyo
 ${PYSITELIB}/keyring/http.py
 ${PYSITELIB}/keyring/http.pyc
-${PYSITELIB}/keyring/http.pyo
+${PYSITELIB}/keyring/py.typed
+${PYSITELIB}/keyring/py312compat.py
+${PYSITELIB}/keyring/py312compat.pyc
 ${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
 ${PYSITELIB}/keyring/util/platform_.py
 ${PYSITELIB}/keyring/util/platform_.pyc
-${PYSITELIB}/keyring/util/platform_.pyo
 ${PYSITELIB}/keyring/util/properties.py
 ${PYSITELIB}/keyring/util/properties.pyc
-${PYSITELIB}/keyring/util/properties.pyo

Index: pkgsrc/security/py-keyring/distinfo
diff -u pkgsrc/security/py-keyring/distinfo:1.17 pkgsrc/security/py-keyring/distinfo:1.18
--- pkgsrc/security/py-keyring/distinfo:1.17    Tue Oct 26 11:17:47 2021
+++ pkgsrc/security/py-keyring/distinfo Fri Mar 10 17:00:55 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.17 2021/10/26 11:17:47 nia Exp $
+$NetBSD: distinfo,v 1.18 2023/03/10 17:00:55 adam Exp $
 
-BLAKE2s (keyring-21.2.1.tar.gz) = 9f498a93210932a45cf9a19044e224526781b7da83f409671eac1328fe1e927b
-SHA512 (keyring-21.2.1.tar.gz) = e9fdf88a638e1a299dae7ce77c65356cd39f95db973ba399497f2d1e1e7af7595b3071e6df33a4aaa0cc9899a96ae3eae3b02d2ece604f3ff844ac82d3192617
-Size (keyring-21.2.1.tar.gz) = 55457 bytes
+BLAKE2s (keyring-23.13.1.tar.gz) = abd61fb323d01b669a0f7cc51df9969384435cff5f4466f9da9a6c8551325b27
+SHA512 (keyring-23.13.1.tar.gz) = 7e56380e7311a31d8703b9e3beb74a8c8ce026f6cf9e1792780d349f3db61f50a1905c7d509a7013dd7cb47428dd3c28c3620815f01d3c4dbd7f648e056539d0
+Size (keyring-23.13.1.tar.gz) = 59582 bytes



Home | Main Index | Thread Index | Old Index