From olli@lurza.secnetix.de  Wed Jul 15 16:52:19 2009
Return-Path: <olli@lurza.secnetix.de>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 22F261065674
	for <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <olli@secnetix.de>
Reply-To: Oliver Fromme <olli@secnetix.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc: Oliver Fromme <olli@secnetix.de>
Subject: [patch] mail/py-milter: Fix Python version requirement
X-Send-Pr-Version: 3.113
X-GNATS-Notify: georg@graf.priv.at

>Number:         136799
>Category:       ports
>Synopsis:       [patch] mail/py-milter: Fix Python version requirement
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-python
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 15 17:00:06 UTC 2009
>Closed-Date:    Thu Jul 16 05:27:21 UTC 2009
>Last-Modified:  Thu Jul 16 05:30:01 UTC 2009
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-python 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Jul 15 17:00:17 UTC 2009 
Responsible-Changed-Why:  
freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=136799 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Wed Jul 15 17:00:21 UTC 2009 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=136799 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: georg@graf.priv.at
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/136799: [patch] mail/py-milter: Fix Python version requirement
Date: Wed, 15 Jul 2009 17:00:19 UT

 Maintainer of mail/py-milter,
 
 Please note that PR ports/136799 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/136799
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Georg Graf <georg@graf.priv.at>
To: bug-followup@FreeBSD.ORG
Cc:  
Subject: Re: ports/136799: [patch] mail/py-milter: Fix Python version requirement
Date: Wed, 15 Jul 2009 20:06:59 +0200

 This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
 --------------enig0388BDFE0F0F668FF6CC1BEB
 Content-Type: text/plain; charset=ISO-8859-15
 Content-Transfer-Encoding: quoted-printable
 
 I approve this patch!
 
 thank you,
   George
 
 
 Edwin Groothuis schrieb:
 > Maintainer of mail/py-milter,
 >=20
 > Please note that PR ports/136799 has just been submitted.
 >=20
 > If it contains a patch for an upgrade, an enhancement or a bug fix
 > you agree on, reply to this email stating that you approve the patch
 > and a committer will take care of it.
 >=20
 > The full text of the PR can be found at:
 >     http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/136799
 >=20
 
 
 --=20
 Georg Graf       http://georg.graf.priv.at/       PGP Key ID: 0xA5232AD5
 Gobergasse 43/2            A-1130 Wien              Tel: +43 680 2083606
 
 
 
 --------------enig0388BDFE0F0F668FF6CC1BEB
 Content-Type: application/pgp-signature; name="signature.asc"
 Content-Description: OpenPGP digital signature
 Content-Disposition: attachment; filename="signature.asc"
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.9 (Cygwin)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
 iEYEARECAAYFAkpeGsMACgkQrYhtKaUjKtUrLwCfUGUNaS6nBp7xWB9i9bFCQNAU
 UqEAnibL+FhW7BtH6uEJAyfl/KHIgWD8
 =iblb
 -----END PGP SIGNATURE-----
 
 --------------enig0388BDFE0F0F668FF6CC1BEB--
State-Changed-From-To: feedback->closed 
State-Changed-By: lwhsu 
State-Changed-When: Thu Jul 16 05:27:20 UTC 2009 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=136799 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/136799: commit references a PR
Date: Thu, 16 Jul 2009 05:27:20 +0000 (UTC)

 lwhsu       2009-07-16 05:27:06 UTC
 
   FreeBSD ports repository
 
   Modified files:
     mail/py-milter       Makefile 
   Log:
   - Fix Python version requirement, this port works fine with Python 2.4+,
     but not 3.0+
   
   PR:             ports/136799
   Submitted by:   Oliver Fromme <olli AT secnetix.de>
   Approved by:    Georg Graf <georg AT graf.priv.at> (maintainer)
   
   Revision  Changes    Path
   1.13      +1 -1      ports/mail/py-milter/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
