From sunpoet@sunpoet.net  Wed Aug 25 01:43:53 2010
Return-Path: <sunpoet@sunpoet.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id C7CC41065695
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 25 Aug 2010 01:43:53 +0000 (UTC)
	(envelope-from sunpoet@sunpoet.net)
Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182])
	by mx1.freebsd.org (Postfix) with ESMTP id 823748FC0A
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 25 Aug 2010 01:43:53 +0000 (UTC)
Received: by gyg4 with SMTP id 4so24251gyg.13
        for <FreeBSD-gnats-submit@freebsd.org>; Tue, 24 Aug 2010 18:43:52 -0700 (PDT)
Received: by 10.151.154.3 with SMTP id g3mr4706127ybo.412.1282700632391;
        Tue, 24 Aug 2010 18:43:52 -0700 (PDT)
Received: from sunpoet.net (sunpoet.net [220.133.12.240])
        by mx.google.com with ESMTPS id q36sm5581351yba.0.2010.08.24.18.43.50
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Tue, 24 Aug 2010 18:43:51 -0700 (PDT)
Received: by sunpoet.net (Postfix, from userid 1000)
	id 4A0032AEC4EC; Wed, 25 Aug 2010 09:43:23 +0800 (CST)
Message-Id: <20100825014323.4A0032AEC4EC@sunpoet.net>
Date: Wed, 25 Aug 2010 09:43:23 +0800 (CST)
From: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER] astro/weather: extend USE_PYTHON range, use PLIST_FILES
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         149952
>Category:       ports
>Synopsis:       [MAINTAINER] astro/weather: extend USE_PYTHON range, use PLIST_FILES
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lwhsu
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 25 01:50:08 UTC 2010
>Closed-Date:    Wed Aug 25 06:30:27 UTC 2010
>Last-Modified:  Wed Aug 25 06:30:27 UTC 2010
>Originator:     Sunpoet Po-Chuan Hsieh
>Release:        FreeBSD 8.1-STABLE amd64
>Organization:
SUNPOET.net
>Environment:
System: FreeBSD bonjour.sunpoet.net 8.1-STABLE FreeBSD 8.1-STABLE #0: Sun Jul 25 00:09:24 CST 2010
>Description:
Extend USE_PYTHON range (connect Python 2.7)
Use PLIST_FILES instead of pkg-plist

Removed file(s):
- pkg-plist

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- weather-1.5.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/astro/weather/Makefile /usr/ports/sunpoet/weather/Makefile
--- /usr/ports/astro/weather/Makefile	2010-06-02 18:51:00.000000000 +0800
+++ /usr/ports/sunpoet/weather/Makefile	2010-08-25 06:54:41.000000000 +0800
@@ -14,10 +14,13 @@
 MAINTAINER=	sunpoet@sunpoet.net
 COMMENT=	An utility to provide current weather conditions and forecasts
 
-USE_PYTHON=	-2.6
+USE_PYTHON=	-2.7
 
 MAN1=		weather.1
 MAN5=		weatherrc.5
+PLIST_FILES=	bin/weather \
+		%%PYTHON_SITELIBDIR%%/${PORTNAME}.py \
+		%%PYTHON_SITELIBDIR%%/${PORTNAME}.pyc
 
 post-patch:
 	@${REINPLACE_CMD} -e '1 s/python/${PYTHON_VERSION}/' ${WRKSRC}/weather
diff -ruN --exclude=CVS /usr/ports/astro/weather/pkg-plist /usr/ports/sunpoet/weather/pkg-plist
--- /usr/ports/astro/weather/pkg-plist	2010-06-02 18:51:00.000000000 +0800
+++ /usr/ports/sunpoet/weather/pkg-plist	1970-01-01 08:00:00.000000000 +0800
@@ -1,4 +0,0 @@
-@comment $FreeBSD: ports/astro/weather/pkg-plist,v 1.1 2010/06/02 10:51:00 wen Exp $
-bin/weather
-%%PYTHON_SITELIBDIR%%/weather.py
-%%PYTHON_SITELIBDIR%%/weather.pyc
--- weather-1.5.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->lwhsu 
Responsible-Changed-By: lwhsu 
Responsible-Changed-When: Wed Aug 25 04:13:53 UTC 2010 
Responsible-Changed-Why:  
I'll take it. 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/149952: commit references a PR
Date: Wed, 25 Aug 2010 06:29:18 +0000 (UTC)

 lwhsu       2010-08-25 06:29:03 UTC
 
   FreeBSD ports repository
 
   Modified files:
     astro/weather        Makefile 
   Removed files:
     astro/weather        pkg-plist 
   Log:
   - Extend USE_PYTHON range (connect Python 2.7)
   
   PR:             ports/149952
   Submitted by:   Sunpoet Po-Chuan Hsieh <sunpoet AT sunpoet.net> (maintainer)
   
   Revision  Changes    Path
   1.2       +4 -1      ports/astro/weather/Makefile
   1.2       +0 -4      ports/astro/weather/pkg-plist (dead)
 _______________________________________________
 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"
 
State-Changed-From-To: open->closed 
State-Changed-By: lwhsu 
State-Changed-When: Wed Aug 25 06:30:18 UTC 2010 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=149952 
>Unformatted:
