mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
- Update to 0.5
PR: ports/152086 Submitted by: Douglas William Thrift <douglas@douglasthrift.net> (maintainer)
This commit is contained in:
parent
bd086ab397
commit
18fa6c32d3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=264400
@ -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 <bsd.port.pre.mk>
|
||||
|
||||
.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 <bsd.port.post.mk>
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user