From 303263906f752d88aeefb5db98a5fc0ecb0ed045 Mon Sep 17 00:00:00 2001 From: jgh Date: Fri, 2 Mar 2012 18:47:43 +0000 Subject: [PATCH] -Update to 0.8 * Mac OS X keyring backend now uses subprocess calls to the `security` command instead of calling the API, which with the latest updates, no longer allows Python to invoke from a virtualenv. Fixes issue #13. * When using file-based storage, the keyring files are no longer stored in the user's home directory, but are instead stored in platform-friendly locations (`%localappdata%\Python Keyring` on Windows and according to the freedesktop.org Base Dir Specification (`$XDG_DATA_HOME/python_keyring` or `$HOME/.local/share/python_keyring`) on other operating systems). This fixes #21. *Backward Compatibility Notice* Due to the new storage location for file-based keyrings, keyring 0.8 supports backward compatibility by automatically moving the password files to the updated location. In general, users can upgrade to 0.8 and continue to operate normally. Any applications that customize the storage location or make assumptions about the storage location will need to take this change into consideration. Additionally, after upgrading to 0.8, it is not possible to downgrade to 0.7 without manually moving configuration files. In 1.0, the backward compatibilty will be removed. PR: ports/165606 Submitted by: maintainer, douglas@douglasthrift.net --- security/py-keyring/Makefile | 2 +- security/py-keyring/distinfo | 4 ++-- security/py-keyring/pkg-plist | 6 ++++++ 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/security/py-keyring/Makefile b/security/py-keyring/Makefile index 0dd3bb75cd01..4903d4f049a7 100644 --- a/security/py-keyring/Makefile +++ b/security/py-keyring/Makefile @@ -6,7 +6,7 @@ # PORTNAME= keyring -PORTVERSION= 0.7.1 +PORTVERSION= 0.8 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/security/py-keyring/distinfo b/security/py-keyring/distinfo index 1865ac47dc09..0ca31a6294d4 100644 --- a/security/py-keyring/distinfo +++ b/security/py-keyring/distinfo @@ -1,2 +1,2 @@ -SHA256 (keyring-0.7.1.zip) = 11487ff2549adfdb1203c113fca56f778aee54e9a0cec2e5d8cbb7289179cf1f -SIZE (keyring-0.7.1.zip) = 40304 +SHA256 (keyring-0.8.zip) = 0880615b5e5250d5a6dc75069a40f40e1234eac3d4ed709022deb0b977d5f5a6 +SIZE (keyring-0.8.zip) = 42532 diff --git a/security/py-keyring/pkg-plist b/security/py-keyring/pkg-plist index cadc4744a948..ea95635655cb 100644 --- a/security/py-keyring/pkg-plist +++ b/security/py-keyring/pkg-plist @@ -52,6 +52,12 @@ %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/keyring/util/escape.py %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/keyring/util/escape.pyc %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/keyring/util/escape.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/keyring/util/loc_compat.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/keyring/util/loc_compat.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/keyring/util/loc_compat.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/keyring/util/platform.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/keyring/util/platform.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/keyring/util/platform.pyo %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/keyring/util/properties.py %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/keyring/util/properties.pyc %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/keyring/util/properties.pyo