From 18fa6c32d38c64a79e8c1f1a1d26f5092d67ad58 Mon Sep 17 00:00:00 2001 From: Wen Heping Date: Thu, 11 Nov 2010 11:57:40 +0000 Subject: [PATCH] - Update to 0.5 PR: ports/152086 Submitted by: Douglas William Thrift (maintainer) --- security/py-keyring/Makefile | 26 ++++---------------------- security/py-keyring/distinfo | 5 ++--- security/py-keyring/pkg-plist | 9 +++++++-- 3 files changed, 13 insertions(+), 27 deletions(-) diff --git a/security/py-keyring/Makefile b/security/py-keyring/Makefile index 4e38a6bc34bb..45583836ad31 100644 --- a/security/py-keyring/Makefile +++ b/security/py-keyring/Makefile @@ -6,7 +6,7 @@ # PORTNAME= keyring -PORTVERSION= 0.4 +PORTVERSION= 0.5 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -21,6 +21,7 @@ LATEST_LINK= py-${PORTNAME} USE_KDE4= # USE_PYTHON= 2.4+ USE_PYDISTUTILS= yes +WANT_GNOME= yes OPTIONS= GNOME_KEYRING "GNOME Keyring backend" Off \ KDE_KWALLET "KDE KWallet backend" Off @@ -28,30 +29,11 @@ OPTIONS= GNOME_KEYRING "GNOME Keyring backend" Off \ .include .if defined(WITH_GNOME_KEYRING) -LIB_DEPENDS+= gnome-keyring.0:${PORTSDIR}/security/gnome-keyring -PLIST_SUB+= GNOME_KEYRING="" -.else -PLIST_SUB+= GNOME_KEYRING="@comment " +USE_GNOME+= pygnomedesktop .endif .if defined(WITH_KDE_KWALLET) -PLIST_SUB+= KDE_KWALLET="" -USE_KDE4+= kdelibs -.else -PLIST_SUB+= KDE_KWALLET="@comment " -.endif - -post-patch: -.if !defined(WITH_GNOME_KEYRING) - @${REINPLACE_CMD} -e 's|exts\.append(gnome_keychain_module)|#&|' \ - ${WRKSRC}/extensions.py -.endif -.if defined(WITH_KDE_KWALLET) - @${REINPLACE_CMD} -e 's|kde-config|${KDE4_PREFIX}/bin/kde4-config|' \ - ${WRKSRC}/extensions.py -.else - @${REINPLACE_CMD} -e 's|exts\.append(kde_kwallet_module)|#&|' \ - ${WRKSRC}/extensions.py +USE_KDE4+= pykde4 .endif .include diff --git a/security/py-keyring/distinfo b/security/py-keyring/distinfo index 90afd0a6a254..5f834d4f9eef 100644 --- a/security/py-keyring/distinfo +++ b/security/py-keyring/distinfo @@ -1,3 +1,2 @@ -MD5 (keyring-0.4.tar.gz) = f4c8fe1a3aa7236e437679d03f5f52c2 -SHA256 (keyring-0.4.tar.gz) = 01caeb7a388e13b9a93f9f8b912274e14a70c2882b0730ef6ead6303ec8f60be -SIZE (keyring-0.4.tar.gz) = 19060 +SHA256 (keyring-0.5.tar.gz) = dd943b344f3f4748a12936337e1b974ce713cda177c7cdaeed2a1c912fe660c8 +SIZE (keyring-0.5.tar.gz) = 17491 diff --git a/security/py-keyring/pkg-plist b/security/py-keyring/pkg-plist index 8a1609fff9c5..34aab36b2f82 100644 --- a/security/py-keyring/pkg-plist +++ b/security/py-keyring/pkg-plist @@ -1,17 +1,21 @@ -%%GNOME_KEYRING%%%%PYTHON_SITELIBDIR%%/gnome_keyring.so -%%KDE_KWALLET%%%%PYTHON_SITELIBDIR%%/kde_kwallet.so %%PYTHON_SITELIBDIR%%/keyring/__init__.py %%PYTHON_SITELIBDIR%%/keyring/__init__.pyc %%PYTHON_SITELIBDIR%%/keyring/__init__.pyo %%PYTHON_SITELIBDIR%%/keyring/backend.py %%PYTHON_SITELIBDIR%%/keyring/backend.pyc %%PYTHON_SITELIBDIR%%/keyring/backend.pyo +%%PYTHON_SITELIBDIR%%/keyring/backends/__init__.py +%%PYTHON_SITELIBDIR%%/keyring/backends/__init__.pyc +%%PYTHON_SITELIBDIR%%/keyring/backends/__init__.pyo %%PYTHON_SITELIBDIR%%/keyring/core.py %%PYTHON_SITELIBDIR%%/keyring/core.pyc %%PYTHON_SITELIBDIR%%/keyring/core.pyo %%PYTHON_SITELIBDIR%%/keyring/getpassbackend.py %%PYTHON_SITELIBDIR%%/keyring/getpassbackend.pyc %%PYTHON_SITELIBDIR%%/keyring/getpassbackend.pyo +%%PYTHON_SITELIBDIR%%/keyring/tests/__init__.py +%%PYTHON_SITELIBDIR%%/keyring/tests/__init__.pyc +%%PYTHON_SITELIBDIR%%/keyring/tests/__init__.pyo %%PYTHON_SITELIBDIR%%/keyring/tests/test_backend.py %%PYTHON_SITELIBDIR%%/keyring/tests/test_backend.pyc %%PYTHON_SITELIBDIR%%/keyring/tests/test_backend.pyo @@ -27,6 +31,7 @@ %%PYTHON_SITELIBDIR%%/keyring/util/escape.py %%PYTHON_SITELIBDIR%%/keyring/util/escape.pyc %%PYTHON_SITELIBDIR%%/keyring/util/escape.pyo +@dirrm %%PYTHON_SITELIBDIR%%/keyring/backends @dirrm %%PYTHON_SITELIBDIR%%/keyring/tests @dirrm %%PYTHON_SITELIBDIR%%/keyring/util @dirrm %%PYTHON_SITELIBDIR%%/keyring