ports/138788: Update port: security/py-keyring Upgrade to 0.2

Douglas William Thrift douglas at douglasthrift.net
Sun Sep 13 21:00:15 UTC 2009


>Number:         138788
>Category:       ports
>Synopsis:       Update port: security/py-keyring Upgrade to 0.2
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 13 21:00:15 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Douglas William Thrift
>Release:        FreeBSD 7.2-RELEASE-p1-jc2 amd64
>Organization:
>Environment:
System: FreeBSD slowhand.douglasthrift.net 7.2-RELEASE-p1-jc2 FreeBSD 7.2-RELEASE-p1-jc2 #0: Thu Jun 18 15:16:49 PDT 2009 user at jail8.johncompanies.com:/usr/obj/usr/src/sys/jail8 amd64
>Description:
Upgraded to version 0.2 which adds support for Python 2.4+.
>How-To-Repeat:
>Fix:
--- py-keyring.patch begins here ---
diff -Nrux .svn -x work /usr/ports/security/py-keyring/Makefile py-keyring/Makefile
--- /usr/ports/security/py-keyring/Makefile	2009-09-04 14:04:44.000000000 -0700
+++ py-keyring/Makefile	2009-09-13 13:28:25.000000000 -0700
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	keyring
-PORTVERSION=	0.1
+PORTVERSION=	0.2
 CATEGORIES=	security python
 MASTER_SITES=	CHEESESHOP \
 		http://code.douglasthrift.net/files/${PORTNAME}/
@@ -18,7 +18,7 @@
 LATEST_LINK=	py-${PORTNAME}
 
 USE_KDE4=	#
-USE_PYTHON=	2.6+
+USE_PYTHON=	2.4+
 USE_PYDISTUTILS=	yes
 
 OPTIONS=	GNOME_KEYRING "GNOME Keyring backend" Off \
@@ -46,7 +46,7 @@
 		${WRKSRC}/extensions.py
 .endif
 .if defined(WITH_KDE_KWALLET)
-	@${REINPLACE_CMD} -e 's|kde4-config|${KDE4_PREFIX}/bin/kde4-config|' \
+	@${REINPLACE_CMD} -e 's|kde-config|${KDE4_PREFIX}/bin/kde4-config|' \
 		${WRKSRC}/extensions.py
 .else
 	@${REINPLACE_CMD} -e 's|exts\.append(kde_kwallet_module)|#&|' \
diff -Nrux .svn -x work /usr/ports/security/py-keyring/distinfo py-keyring/distinfo
--- /usr/ports/security/py-keyring/distinfo	2009-09-04 14:04:44.000000000 -0700
+++ py-keyring/distinfo	2009-09-13 12:49:26.000000000 -0700
@@ -1,3 +1,3 @@
-MD5 (keyring-0.1.tar.gz) = e593725919ed00a631c4348d08c77f56
-SHA256 (keyring-0.1.tar.gz) = c5e19bfd138034a8d3193a5c5314493e51a90a0c4bb78db87c0a0451aa7327a8
-SIZE (keyring-0.1.tar.gz) = 14468
+MD5 (keyring-0.2.tar.gz) = 4a640c4d41c6aa702cf6122d1a22ece3
+SHA256 (keyring-0.2.tar.gz) = 05585abc75f50e625f46d90c07f7707da19050ddc2a89dfe92081a3ed0328f13
+SIZE (keyring-0.2.tar.gz) = 14836
diff -Nrux .svn -x work /usr/ports/security/py-keyring/files/patch-extensions.py py-keyring/files/patch-extensions.py
--- /usr/ports/security/py-keyring/files/patch-extensions.py	2009-09-04 14:04:44.000000000 -0700
+++ py-keyring/files/patch-extensions.py	1969-12-31 16:00:00.000000000 -0800
@@ -1,14 +0,0 @@
---- extensions.py.orig	2009-08-21 09:34:01.000000000 -0700
-+++ extensions.py	2009-09-03 15:43:41.224189815 -0700
-@@ -42,9 +42,9 @@
- 
-     keywords.setdefault('libraries', []).append('kdeui')
-     libs = commands.getoutput("kde4-config --path lib").split(':')
--    if len(libs) == 0:
--        libs = commands.getoutput("kde-config --path lib").split(':')
-     keywords.setdefault('library_dirs', []).extend(libs)
-+    includes = commands.getoutput("kde4-config --install include").split(':')
-+    keywords.setdefault('include_dirs', []).extend(includes)
-     return keywords
- 
- def get_extensions():
--- py-keyring.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list