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

(-)py-keyring/Makefile (-3 / +3 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	keyring
8
PORTNAME=	keyring
9
PORTVERSION=	0.1
9
PORTVERSION=	0.2
10
CATEGORIES=	security python
10
CATEGORIES=	security python
11
MASTER_SITES=	CHEESESHOP \
11
MASTER_SITES=	CHEESESHOP \
12
		http://code.douglasthrift.net/files/${PORTNAME}/
12
		http://code.douglasthrift.net/files/${PORTNAME}/
Lines 18-24 Link Here
18
LATEST_LINK=	py-${PORTNAME}
18
LATEST_LINK=	py-${PORTNAME}
19
19
20
USE_KDE4=	#
20
USE_KDE4=	#
21
USE_PYTHON=	2.6+
21
USE_PYTHON=	2.4+
22
USE_PYDISTUTILS=	yes
22
USE_PYDISTUTILS=	yes
23
23
24
OPTIONS=	GNOME_KEYRING "GNOME Keyring backend" Off \
24
OPTIONS=	GNOME_KEYRING "GNOME Keyring backend" Off \
Lines 46-52 Link Here
46
		${WRKSRC}/extensions.py
46
		${WRKSRC}/extensions.py
47
.endif
47
.endif
48
.if defined(WITH_KDE_KWALLET)
48
.if defined(WITH_KDE_KWALLET)
49
	@${REINPLACE_CMD} -e 's|kde4-config|${KDE4_PREFIX}/bin/kde4-config|' \
49
	@${REINPLACE_CMD} -e 's|kde-config|${KDE4_PREFIX}/bin/kde4-config|' \
50
		${WRKSRC}/extensions.py
50
		${WRKSRC}/extensions.py
51
.else
51
.else
52
	@${REINPLACE_CMD} -e 's|exts\.append(kde_kwallet_module)|#&|' \
52
	@${REINPLACE_CMD} -e 's|exts\.append(kde_kwallet_module)|#&|' \
(-)py-keyring/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (keyring-0.1.tar.gz) = e593725919ed00a631c4348d08c77f56
1
MD5 (keyring-0.2.tar.gz) = 4a640c4d41c6aa702cf6122d1a22ece3
2
SHA256 (keyring-0.1.tar.gz) = c5e19bfd138034a8d3193a5c5314493e51a90a0c4bb78db87c0a0451aa7327a8
2
SHA256 (keyring-0.2.tar.gz) = 05585abc75f50e625f46d90c07f7707da19050ddc2a89dfe92081a3ed0328f13
3
SIZE (keyring-0.1.tar.gz) = 14468
3
SIZE (keyring-0.2.tar.gz) = 14836
(-)py-keyring/files/patch-extensions.py (-14 lines)
Lines 1-14 Link Here
1
--- extensions.py.orig	2009-08-21 09:34:01.000000000 -0700
2
+++ extensions.py	2009-09-03 15:43:41.224189815 -0700
3
@@ -42,9 +42,9 @@
4
 
5
     keywords.setdefault('libraries', []).append('kdeui')
6
     libs = commands.getoutput("kde4-config --path lib").split(':')
7
-    if len(libs) == 0:
8
-        libs = commands.getoutput("kde-config --path lib").split(':')
9
     keywords.setdefault('library_dirs', []).extend(libs)
10
+    includes = commands.getoutput("kde4-config --install include").split(':')
11
+    keywords.setdefault('include_dirs', []).extend(includes)
12
     return keywords
13
 
14
 def get_extensions():

Return to bug 138788