From nobody@FreeBSD.org  Tue Jan 20 17:29:28 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 84094106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 20 Jan 2009 17:29:28 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 71DFB8FC18
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 20 Jan 2009 17:29:28 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n0KHTSiL008792
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 20 Jan 2009 17:29:28 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n0KHTSeZ008791;
	Tue, 20 Jan 2009 17:29:28 GMT
	(envelope-from nobody)
Message-Id: <200901201729.n0KHTSeZ008791@www.freebsd.org>
Date: Tue, 20 Jan 2009 17:29:28 GMT
From: Nicola Vitale <nivit@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] www/py-turbosetup: mark IGNORE for Python != 2.4
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         130787
>Category:       ports
>Synopsis:       [PATCH] www/py-turbosetup: mark IGNORE for Python != 2.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    nivit
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 20 17:30:03 UTC 2009
>Closed-Date:    Tue Jan 20 17:34:49 UTC 2009
>Last-Modified:  Tue Jan 20 17:40:02 UTC 2009
>Originator:     Nicola Vitale
>Release:        FreeBSD 7.1-STABLE
>Organization:
>Environment:
FreeBSD scutigera.domo.sva 7.1-STABLE FreeBSD 7.1-STABLE #0: Mon Jan  5 17:18:47 CET 2009     stan@scutigera.domo.sva:/usr/obj/usr/src/sys/SCUTIGERA  i386

>Description:
- Mark the port with IGNORE  when PYTHON_VERSION != 2.4, because the distribution egg-file is only available for Python 2.4.

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN py-turbosetup/Makefile py-turbosetup.ignore/Makefile
--- py-turbosetup/Makefile	2008-12-16 14:56:07.000000000 +0100
+++ py-turbosetup.ignore/Makefile	2009-01-20 17:52:40.000000000 +0100
@@ -23,8 +23,7 @@
 
 NO_BUILD=	yes
 
-# Use the same version of www/py-turbogears
-USE_PYTHON=	2.4
+USE_PYTHON=	yes
 
 PLIST_SUB=	EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \
 		PORTNAME=${PORTNAME} PORTVERSION=${PORTVERSION} \
@@ -43,4 +42,10 @@
 do-install:
 	@${EASY_INSTALL_CMD} ${EASY_INSTALL_ARGS} ${DISTDIR}/${PYTURBOSETUP_EGG}
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 240 || ${PYTHON_REL} >= 250
+IGNORE=	the distribution file is only available for Python 2.4
+.endif
+
+.include <bsd.port.post.mk>


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->python 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Jan 20 17:30:16 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=130787 
Responsible-Changed-From-To: python->nivit 
Responsible-Changed-By: nivit 
Responsible-Changed-When: Tue Jan 20 17:31:18 UTC 2009 
Responsible-Changed-Why:  
I will take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=130787 
State-Changed-From-To: open->closed 
State-Changed-By: nivit 
State-Changed-When: Tue Jan 20 17:34:48 UTC 2009 
State-Changed-Why:  
Committed, thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/130787: commit references a PR
Date: Tue, 20 Jan 2009 17:34:29 +0000 (UTC)

 nivit       2009-01-20 17:34:18 UTC
 
   FreeBSD ports repository
 
   Modified files:
     www/py-turbosetup    Makefile 
   Log:
   - Mark the port with IGNORE  when PYTHON_VERSION != 2.4,
   because the distribution egg-file is only available for Python 2.4
   
   PR:             ports/130787
   Submitted by:   nivit
   Pointed out by: pavbot
   
   Revision  Changes    Path
   1.3       +8 -3      ports/www/py-turbosetup/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:
