Date: Wed, 15 Jul 2009 18:52:01 +0200 (CEST) From: Oliver Fromme <olli@secnetix.de> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Oliver Fromme <olli@secnetix.de> Subject: ports/136799: [patch] mail/py-milter: Fix Python version requirement Message-ID: <200907151652.n6FGq1uX038965@lurza.secnetix.de> Resent-Message-ID: <200907151700.n6FH06TZ026080@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <bsd.port.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907151652.n6FGq1uX038965>