View | Details | Raw Unified | Return to bug 152086
Collapse All | Expand All

(-)py-keyring/Makefile (-22 / +4 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	keyring
8
PORTNAME=	keyring
9
PORTVERSION=	0.4
9
PORTVERSION=	0.5
10
CATEGORIES=	security python
10
CATEGORIES=	security python
11
MASTER_SITES=	CHEESESHOP
11
MASTER_SITES=	CHEESESHOP
12
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
12
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
Lines 21-26 Link Here
21
USE_KDE4=	#
21
USE_KDE4=	#
22
USE_PYTHON=	2.4+
22
USE_PYTHON=	2.4+
23
USE_PYDISTUTILS=	yes
23
USE_PYDISTUTILS=	yes
24
WANT_GNOME=	yes
24
25
25
OPTIONS=	GNOME_KEYRING "GNOME Keyring backend" Off \
26
OPTIONS=	GNOME_KEYRING "GNOME Keyring backend" Off \
26
		KDE_KWALLET "KDE KWallet backend" Off
27
		KDE_KWALLET "KDE KWallet backend" Off
Lines 28-57 Link Here
28
.include <bsd.port.pre.mk>
29
.include <bsd.port.pre.mk>
29
30
30
.if defined(WITH_GNOME_KEYRING)
31
.if defined(WITH_GNOME_KEYRING)
31
LIB_DEPENDS+=	gnome-keyring.0:${PORTSDIR}/security/gnome-keyring
32
USE_GNOME+=	pygnomedesktop
32
PLIST_SUB+=	GNOME_KEYRING=""
33
.else
34
PLIST_SUB+=	GNOME_KEYRING="@comment "
35
.endif
33
.endif
36
34
37
.if defined(WITH_KDE_KWALLET)
35
.if defined(WITH_KDE_KWALLET)
38
PLIST_SUB+=	KDE_KWALLET=""
36
USE_KDE4+=	pykde4
39
USE_KDE4+=	kdelibs
40
.else
41
PLIST_SUB+=	KDE_KWALLET="@comment "
42
.endif
43
44
post-patch:
45
.if !defined(WITH_GNOME_KEYRING)
46
	@${REINPLACE_CMD} -e 's|exts\.append(gnome_keychain_module)|#&|' \
47
		${WRKSRC}/extensions.py
48
.endif
49
.if defined(WITH_KDE_KWALLET)
50
	@${REINPLACE_CMD} -e 's|kde-config|${KDE4_PREFIX}/bin/kde4-config|' \
51
		${WRKSRC}/extensions.py
52
.else
53
	@${REINPLACE_CMD} -e 's|exts\.append(kde_kwallet_module)|#&|' \
54
		${WRKSRC}/extensions.py
55
.endif
37
.endif
56
38
57
.include <bsd.port.post.mk>
39
.include <bsd.port.post.mk>
(-)py-keyring/distinfo (-3 / +2 lines)
Lines 1-3 Link Here
1
MD5 (keyring-0.4.tar.gz) = f4c8fe1a3aa7236e437679d03f5f52c2
1
SHA256 (keyring-0.5.tar.gz) = dd943b344f3f4748a12936337e1b974ce713cda177c7cdaeed2a1c912fe660c8
2
SHA256 (keyring-0.4.tar.gz) = 01caeb7a388e13b9a93f9f8b912274e14a70c2882b0730ef6ead6303ec8f60be
2
SIZE (keyring-0.5.tar.gz) = 17491
3
SIZE (keyring-0.4.tar.gz) = 19060
(-)py-keyring/pkg-plist (-2 / +7 lines)
Lines 1-17 Link Here
1
%%GNOME_KEYRING%%%%PYTHON_SITELIBDIR%%/gnome_keyring.so
2
%%KDE_KWALLET%%%%PYTHON_SITELIBDIR%%/kde_kwallet.so
3
%%PYTHON_SITELIBDIR%%/keyring/__init__.py
1
%%PYTHON_SITELIBDIR%%/keyring/__init__.py
4
%%PYTHON_SITELIBDIR%%/keyring/__init__.pyc
2
%%PYTHON_SITELIBDIR%%/keyring/__init__.pyc
5
%%PYTHON_SITELIBDIR%%/keyring/__init__.pyo
3
%%PYTHON_SITELIBDIR%%/keyring/__init__.pyo
6
%%PYTHON_SITELIBDIR%%/keyring/backend.py
4
%%PYTHON_SITELIBDIR%%/keyring/backend.py
7
%%PYTHON_SITELIBDIR%%/keyring/backend.pyc
5
%%PYTHON_SITELIBDIR%%/keyring/backend.pyc
8
%%PYTHON_SITELIBDIR%%/keyring/backend.pyo
6
%%PYTHON_SITELIBDIR%%/keyring/backend.pyo
7
%%PYTHON_SITELIBDIR%%/keyring/backends/__init__.py
8
%%PYTHON_SITELIBDIR%%/keyring/backends/__init__.pyc
9
%%PYTHON_SITELIBDIR%%/keyring/backends/__init__.pyo
9
%%PYTHON_SITELIBDIR%%/keyring/core.py
10
%%PYTHON_SITELIBDIR%%/keyring/core.py
10
%%PYTHON_SITELIBDIR%%/keyring/core.pyc
11
%%PYTHON_SITELIBDIR%%/keyring/core.pyc
11
%%PYTHON_SITELIBDIR%%/keyring/core.pyo
12
%%PYTHON_SITELIBDIR%%/keyring/core.pyo
12
%%PYTHON_SITELIBDIR%%/keyring/getpassbackend.py
13
%%PYTHON_SITELIBDIR%%/keyring/getpassbackend.py
13
%%PYTHON_SITELIBDIR%%/keyring/getpassbackend.pyc
14
%%PYTHON_SITELIBDIR%%/keyring/getpassbackend.pyc
14
%%PYTHON_SITELIBDIR%%/keyring/getpassbackend.pyo
15
%%PYTHON_SITELIBDIR%%/keyring/getpassbackend.pyo
16
%%PYTHON_SITELIBDIR%%/keyring/tests/__init__.py
17
%%PYTHON_SITELIBDIR%%/keyring/tests/__init__.pyc
18
%%PYTHON_SITELIBDIR%%/keyring/tests/__init__.pyo
15
%%PYTHON_SITELIBDIR%%/keyring/tests/test_backend.py
19
%%PYTHON_SITELIBDIR%%/keyring/tests/test_backend.py
16
%%PYTHON_SITELIBDIR%%/keyring/tests/test_backend.pyc
20
%%PYTHON_SITELIBDIR%%/keyring/tests/test_backend.pyc
17
%%PYTHON_SITELIBDIR%%/keyring/tests/test_backend.pyo
21
%%PYTHON_SITELIBDIR%%/keyring/tests/test_backend.pyo
Lines 27-32 Link Here
27
%%PYTHON_SITELIBDIR%%/keyring/util/escape.py
31
%%PYTHON_SITELIBDIR%%/keyring/util/escape.py
28
%%PYTHON_SITELIBDIR%%/keyring/util/escape.pyc
32
%%PYTHON_SITELIBDIR%%/keyring/util/escape.pyc
29
%%PYTHON_SITELIBDIR%%/keyring/util/escape.pyo
33
%%PYTHON_SITELIBDIR%%/keyring/util/escape.pyo
34
@dirrm %%PYTHON_SITELIBDIR%%/keyring/backends
30
@dirrm %%PYTHON_SITELIBDIR%%/keyring/tests
35
@dirrm %%PYTHON_SITELIBDIR%%/keyring/tests
31
@dirrm %%PYTHON_SITELIBDIR%%/keyring/util
36
@dirrm %%PYTHON_SITELIBDIR%%/keyring/util
32
@dirrm %%PYTHON_SITELIBDIR%%/keyring
37
@dirrm %%PYTHON_SITELIBDIR%%/keyring

Return to bug 152086