From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jul 15 17:00:07 2009 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 1C7B4106566B for ; Wed, 15 Jul 2009 17:00:07 +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 D04F38FC15 for ; Wed, 15 Jul 2009 17:00:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n6FH064r026081 for ; Wed, 15 Jul 2009 17:00:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6FH06TZ026080; Wed, 15 Jul 2009 17:00:06 GMT (envelope-from gnats) Resent-Date: Wed, 15 Jul 2009 17:00:06 GMT Resent-Message-Id: <200907151700.n6FH06TZ026080@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, Oliver Fromme Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22F261065674 for ; Wed, 15 Jul 2009 16:52:19 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 9D8FD8FC1A for ; Wed, 15 Jul 2009 16:52:18 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id n6FGq1PI038966; Wed, 15 Jul 2009 18:52:16 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id n6FGq1uX038965; Wed, 15 Jul 2009 18:52:01 +0200 (CEST) (envelope-from olli) Message-Id: <200907151652.n6FGq1uX038965@lurza.secnetix.de> Date: Wed, 15 Jul 2009 18:52:01 +0200 (CEST) From: Oliver Fromme To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Oliver Fromme Subject: ports/136799: [patch] mail/py-milter: Fix Python version requirement X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Oliver Fromme List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jul 2009 17:00:07 -0000 >Number: 136799 >Category: ports >Synopsis: [patch] mail/py-milter: Fix Python version requirement >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 Jul 15 17:00:06 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Oliver Fromme >Release: n/a >Organization: secnetix GmbH & Co. KG http://www.secnetix.de/bsd >Environment: n/a >Description: Currently the mail/py-milter port cotains the line USE_PYTHON=2.4 which means it always pulls in python24 as a dependency, even if a newer Python version is already installed. However, the py-milter port works perfectly fine with Python 2.5 and 2.6 (not with 3.x, though). It's not necessary to install an old Python version. The patch below changes the requirement, so any newer 2.x version is accepted (note that Python's C API is stable across a major version number). >How-To-Repeat: Install Python (the current default version is 2.6), then try to install mail/py-milter. It will install the old Python 2.4 as a dependency. >Fix: --- mail/py-milter/Makefile.orig 2007-01-06 02:36:30.000000000 +0100 +++ mail/py-milter/Makefile 2009-07-15 18:35:25.000000000 +0200 @@ -21,7 +21,7 @@ .endif DIST_SUBDIR= python -USE_PYTHON= 2.4 +USE_PYTHON= 2.4-2.9 USE_PYDISTUTILS=yes .include >Release-Note: >Audit-Trail: >Unformatted: