From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Aug 4 14:50:08 2010 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 0A3DA106568B for ; Wed, 4 Aug 2010 14:50:08 +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 D34698FC1B for ; Wed, 4 Aug 2010 14:50:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o74Eo7Ds045060 for ; Wed, 4 Aug 2010 14:50:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o74Eo7Sb045058; Wed, 4 Aug 2010 14:50:07 GMT (envelope-from gnats) Resent-Date: Wed, 4 Aug 2010 14:50:07 GMT Resent-Message-Id: <201008041450.o74Eo7Sb045058@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, Greg Larkin Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29A251065676 for ; Wed, 4 Aug 2010 14:40:58 +0000 (UTC) (envelope-from glarkin@sourcehosting.net) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id 0423B8FC13 for ; Wed, 4 Aug 2010 14:40:57 +0000 (UTC) Received: from 68-189-245-235.dhcp.oxfr.ma.charter.com ([68.189.245.235] helo=cube.entropy.prv) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Ogf9H-000NYR-VT; Wed, 04 Aug 2010 10:40:56 -0400 Received: from fbsd70.entropy.prv (fbsd70.entropy.prv [192.168.1.14]) by cube.entropy.prv (Postfix) with ESMTP id 5B2C643476A1; Wed, 4 Aug 2010 10:40:52 -0400 (EDT) Received: from fbsd70.entropy.prv (localhost [127.0.0.1]) by fbsd70.entropy.prv (8.14.2/8.14.2) with ESMTP id o74EepCo070081; Wed, 4 Aug 2010 10:40:51 -0400 (EDT) (envelope-from glarkin@fbsd70.entropy.prv) Received: (from glarkin@localhost) by fbsd70.entropy.prv (8.14.2/8.14.2/Submit) id o74EepXG070080; Wed, 4 Aug 2010 10:40:51 -0400 (EDT) (envelope-from glarkin) Message-Id: <201008041440.o74EepXG070080@fbsd70.entropy.prv> Date: Wed, 4 Aug 2010 10:40:51 -0400 (EDT) From: Greg Larkin To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: yzlin@FreeBSD.org Subject: ports/149275: [PATCH] devel/bpython: Restrict Python version to 2.5+ 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: Wed, 04 Aug 2010 14:50:08 -0000 >Number: 149275 >Category: ports >Synopsis: [PATCH] devel/bpython: Restrict Python version to 2.5+ >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 Aug 04 14:50:07 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Greg Larkin >Release: FreeBSD 7.0-RELEASE i386 >Organization: The FreeBSD Project >Environment: System: FreeBSD fbsd70.entropy.prv 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 >Description: bpython fails to configure with Python 2.4 installed as the default Python version: ===> bpython-py24-0.9.6.2 depends on file: /usr/local/bin/easy_install-2.4 - found ===> bpython-py24-0.9.6.2 depends on file: /usr/local/bin/python2.4 - found ===> Configuring for bpython-py24-0.9.6.2 File "setup.py", line 51 scripts = ([] if using_setuptools else ['data/bpython', ^ SyntaxError: invalid syntax *** Error code 1 Stop in /a/ports/devel/bpython. USE_PYTHON has been updated to restrict the version to 2.5+ This was noticed in a tinderbox build with the following options set: PYTHON_VERSION=python2.4 PYTHON_DEFAULT_VERSION=python2.4 Port maintainer (yzlin@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- bpython-py25-0.9.6.2.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/devel/bpython/Makefile,v retrieving revision 1.1 diff -u -u -r1.1 Makefile --- Makefile 9 Mar 2010 13:40:32 -0000 1.1 +++ Makefile 4 Aug 2010 14:38:26 -0000 @@ -16,7 +16,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygments>=0:${PORTSDIR}/textproc/py-pygments -USE_PYTHON= yes +USE_PYTHON= 2.5+ USE_PYDISTUTILS= easy_install MAN1= bpython.1 --- bpython-py25-0.9.6.2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: