From dryice@hotpop.com  Wed Apr  6 04:09:31 2005
Return-Path: <dryice@hotpop.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 687E716A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  6 Apr 2005 04:09:31 +0000 (GMT)
Received: from smtp-out.hotpop.com (smtp-out.hotpop.com [38.113.3.61])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E84C543D2F
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  6 Apr 2005 04:09:30 +0000 (GMT)
	(envelope-from dryice@hotpop.com)
Received: from hotpop.com (kubrick.hotpop.com [38.113.3.103])
	by smtp-out.hotpop.com (Postfix) with SMTP id 846DA10283CE
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  6 Apr 2005 04:09:26 +0000 (UTC)
Received: from hotpop.com (unknown [221.0.237.132])
	by smtp-2.hotpop.com (Postfix) with ESMTP
	id 2B33F102C9A6; Wed,  6 Apr 2005 04:09:23 +0000 (UTC)
Received: by hotpop.com (sSMTP sendmail emulation); Wed,  6 Apr 2005 12:09:19 +0800
Message-Id: <20050406040923.2B33F102C9A6@smtp-2.hotpop.com>
Date: Wed,  6 Apr 2005 12:09:19 +0800
From: Dryice Liu <dryice@hotpop.com>
Reply-To: Dryice Liu <dryice@liu.com.cn>
To: FreeBSD-gnats-submit@freebsd.org
Cc: Dryice Liu <dryice@liu.com.cn>
Subject: [patch] textproc/py-feedparser: install doc and take maintainership
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         79582
>Category:       ports
>Synopsis:       [patch] textproc/py-feedparser: install doc and take maintainership
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    novel
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 06 04:10:08 GMT 2005
>Closed-Date:    Fri Apr 08 12:25:37 GMT 2005
>Last-Modified:  Fri Apr 08 12:25:37 GMT 2005
>Originator:     Dryice Liu
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD dryice.3322.org 5.4-STABLE FreeBSD 5.4-STABLE #2: Tue Apr 5 15:19:05 CST 2005 


>Description:
Changes:
	- Install doc
	- Require Python 2.1+
	- Additional mirror MASTER_SITE
	- Take maintainership. Thanks the previous maintainers!

>How-To-Repeat:
	N/A
>Fix:


--- py-feedparser.diff begins here ---
diff -ruN py-feedparser.old/Makefile py-feedparser/Makefile
--- py-feedparser.old/Makefile	Sat Nov  6 12:10:18 2004
+++ py-feedparser/Makefile	Wed Apr  6 12:03:33 2005
@@ -9,16 +9,29 @@
 PORTNAME=	feedparser
 PORTVERSION=	3.3
 CATEGORIES=	textproc python
-MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
+		http://bsdchat.com/dist/dryice/
 MASTER_SITE_SUBDIR=	feedparser
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	dryice@liu.com.cn
 COMMENT=	An RSS feed parser written in Python
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
-USE_PYTHON=	yes
+USE_PYTHON=	2.1+
 USE_ZIP=	yes
 USE_PYDISTUTILS=	yes
+
+post-install:
+.if !defined(NOPORTDOCS)
+	${MKDIR} ${DOCSDIR}
+.for i in *.html
+	${INSTALL_DATA} ${WRKSRC}/docs/${i} ${DOCSDIR}
+.endfor
+	${MKDIR} ${DOCSDIR}/images
+.for i in *
+	${INSTALL_DATA} ${WRKSRC}/docs/images/${i} ${DOCSDIR}/images
+.endfor
+.endif
 
 .include <bsd.port.mk>
--- py-feedparser.diff ends here ---



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->novel 
Responsible-Changed-By: novel 
Responsible-Changed-When: Thu Apr 7 17:09:57 GMT 2005 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=79582 
State-Changed-From-To: open->closed 
State-Changed-By: novel 
State-Changed-When: Fri Apr 8 12:22:15 GMT 2005 
State-Changed-Why:  
Committed, thanks for volunteering! 

PS Take a look what I've committed, I made some changes  
(add docs to pkg-plist and use @ for some commands). 

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