Date: Wed, 23 Feb 2011 01:33:44 GMT From: Wen Heping <wen@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/154965: [Patch]x11-toolkits/py-kiwi: fix build with python-2.7 Message-ID: <201102230133.p1N1Xi2B046142@red.freebsd.org> Resent-Message-ID: <201102230140.p1N1eAn9086198@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 154965 >Category: ports >Synopsis: [Patch]x11-toolkits/py-kiwi: fix build with python-2.7 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Feb 23 01:40:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Wen Heping >Release: >Organization: FreeBSD >Environment: >Description: fix build with python-2.7 and remove MD5 >How-To-Repeat: >Fix: --- py-kiwi.orig/Makefile 2011-02-23 09:19:42.000000000 +0800 +++ py-kiwi/Makefile 2011-02-23 09:22:19.000000000 +0800 @@ -7,7 +7,7 @@ PORTNAME= kiwi PORTVERSION= 1.9.26 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= x11-toolkits python MASTER_SITES= http://download.gnome.org/sources/${PORTNAME}/1.9/ \ http://nivi.interfree.it/distfiles/${PORTNAME}/ diff -urN py-kiwi.orig/distinfo py-kiwi/distinfo --- py-kiwi.orig/distinfo 2011-02-23 09:19:42.000000000 +0800 +++ py-kiwi/distinfo 2011-02-23 09:33:34.000000000 +0800 @@ -1,3 +1,2 @@ -MD5 (kiwi-1.9.26.tar.gz) = 036cb5d9007d816bdc7b9fff9fc3215c SHA256 (kiwi-1.9.26.tar.gz) = 1e37f7d993b1eb4fd33d320a7dc1e16cff84ca8d80467b59540ea2aafeacc6c9 SIZE (kiwi-1.9.26.tar.gz) = 749264 diff -urN py-kiwi.orig/files/patch-kiwi-dist.py py-kiwi/files/patch-kiwi-dist.py --- py-kiwi.orig/files/patch-kiwi-dist.py 2011-02-23 09:19:42.000000000 +0800 +++ py-kiwi/files/patch-kiwi-dist.py 2011-02-23 09:21:57.000000000 +0800 @@ -1,11 +1,11 @@ ---- kiwi/dist.py 2009-07-14 19:01:15.000000000 +0200 -+++ kiwi/dist.py.port 2009-08-18 10:28:06.000000000 +0200 +--- kiwi/dist.py.orig 2011-02-23 09:20:21.000000000 +0800 ++++ kiwi/dist.py 2011-02-23 09:21:18.000000000 +0800 @@ -159,7 +159,7 @@ python_version = sys.version_info[:2] libdir = get_python_lib(plat_specific=False, standard_lib=True, prefix='') - if python_version < (2, 6): -+ if python_version <= (2, 6): ++ if python_version <= (2, 7): site = 'site-packages' else: site = 'dist-packages' >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102230133.p1N1Xi2B046142>