From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Nov 24 12:20:09 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41D9A1065675 for ; Thu, 24 Nov 2011 12:20:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1F3B58FC15 for ; Thu, 24 Nov 2011 12:20:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pAOCK9Bw024508 for ; Thu, 24 Nov 2011 12:20:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pAOCK8sh024507; Thu, 24 Nov 2011 12:20:08 GMT (envelope-from gnats) Resent-Date: Thu, 24 Nov 2011 12:20:08 GMT Resent-Message-Id: <201111241220.pAOCK8sh024507@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Wen Heping Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3665D1065673 for ; Thu, 24 Nov 2011 12:11:56 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 0D8438FC08 for ; Thu, 24 Nov 2011 12:11:56 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id pAOCBtdY086838 for ; Thu, 24 Nov 2011 12:11:55 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id pAOCBtXl086837; Thu, 24 Nov 2011 12:11:55 GMT (envelope-from nobody) Message-Id: <201111241211.pAOCBtXl086837@red.freebsd.org> Date: Thu, 24 Nov 2011 12:11:55 GMT From: Wen Heping To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/162811: [Update]www/py-bottle:update to 0.9.7 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Nov 2011 12:20:09 -0000 >Number: 162811 >Category: ports >Synopsis: [Update]www/py-bottle:update to 0.9.7 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Nov 24 12:20:08 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Wen Heping >Release: >Organization: FreeBSD >Environment: >Description: 1 update to 0.9.7 2 now build with python3 >How-To-Repeat: >Fix: Patch attached with submission follows: diff -urN py-bottle.orig/Makefile py-bottle/Makefile --- py-bottle.orig/Makefile 2011-11-24 20:07:14.000000000 +0800 +++ py-bottle/Makefile 2011-11-24 16:32:23.000000000 +0800 @@ -6,7 +6,7 @@ # PORTNAME= bottle -PORTVERSION= 0.9.6 +PORTVERSION= 0.9.7 CATEGORIES= www python MASTER_SITES= CHEESESHOP \ http://nivi.interfree.it/distfiles/${PORTNAME}/ @@ -16,7 +16,7 @@ COMMENT= Fast and simple WSGI-framework for small web-applications # Python3 ready -USE_PYTHON= -2.7 +USE_PYTHON= yes USE_PYDISTUTILS= yes .include diff -urN py-bottle.orig/distinfo py-bottle/distinfo --- py-bottle.orig/distinfo 2011-11-24 20:07:14.000000000 +0800 +++ py-bottle/distinfo 2011-11-24 16:32:28.000000000 +0800 @@ -1,2 +1,2 @@ -SHA256 (bottle-0.9.6.tar.gz) = b9c894069a74db70b9f8717894957e1427ea2a662517fcde0e011351da89a69c -SIZE (bottle-0.9.6.tar.gz) = 45332 +SHA256 (bottle-0.9.7.tar.gz) = 1ef0b6802eaf59a497fd9cea0cd949e396b82b7f9fcf926d8644fbe786b927ca +SIZE (bottle-0.9.7.tar.gz) = 45388 diff -urN py-bottle.orig/files/patch-setup.py py-bottle/files/patch-setup.py --- py-bottle.orig/files/patch-setup.py 1970-01-01 08:00:00.000000000 +0800 +++ py-bottle/files/patch-setup.py 2011-11-24 16:47:16.000000000 +0800 @@ -0,0 +1,16 @@ +--- setup.py.orig 2011-11-24 16:46:19.000000000 +0800 ++++ setup.py 2011-11-24 16:46:55.000000000 +0800 +@@ -13,9 +13,10 @@ + from distutils.command.build_py import build_py + + # Ugly, but we can't import bottle with 3.x to read __version__ (throws SyntaxError) +-for line in open(os.path.join(os.path.dirname(sys.argv[0]),'bottle.py')): +- if line.startswith('__version__'): +- version = eval(line.split('=')[-1]) ++#for line in open(os.path.join(os.path.dirname(sys.argv[0]),'bottle.py')): ++# if line.startswith('__version__'): ++# version = eval(line.split('=')[-1]) ++version='0.9.7' + + setup(name='bottle', + version=version, >Release-Note: >Audit-Trail: >Unformatted: