From lwhsu@jail0.lwhsu.csie.net  Fri Feb  9 22:35:28 2007
Return-Path: <lwhsu@jail0.lwhsu.csie.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 711AC16A401
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  9 Feb 2007 22:35:28 +0000 (UTC)
	(envelope-from lwhsu@jail0.lwhsu.csie.net)
Received: from knight.lwhsu.ckefgisc.org (lwhsu.Dorm7.NCTU.edu.tw [140.113.90.48])
	by mx1.freebsd.org (Postfix) with ESMTP id 37FBE13C4B4
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  9 Feb 2007 22:35:25 +0000 (UTC)
	(envelope-from lwhsu@jail0.lwhsu.csie.net)
Received: from jail0.lwhsu.csie.net (jail0 [192.168.173.100])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by knight.lwhsu.ckefgisc.org (Postfix) with ESMTP id 7087611422;
	Sat, 10 Feb 2007 06:35:24 +0800 (CST)
Received: (from lwhsu@localhost)
	by jail0.lwhsu.csie.net (8.13.8/8.13.8/Submit) id l19MZODa000995;
	Sat, 10 Feb 2007 06:35:24 +0800 (CST)
	(envelope-from lwhsu)
Message-Id: <200702092235.l19MZODa000995@jail0.lwhsu.csie.net>
Date: Sat, 10 Feb 2007 06:35:24 +0800 (CST)
From: Li-Wen Hsu <lwhsu@lwhsu.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: lwhsu@lwhsu.org
Subject: [NEW PORT] devel/py-pycount: A very initial effort to Python code metrics
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         108996
>Category:       ports
>Synopsis:       [NEW PORT] devel/py-pycount: A very initial effort to Python code metrics
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 09 22:40:25 GMT 2007
>Closed-Date:    Sat Feb 10 14:43:13 GMT 2007
>Last-Modified:  Sat Feb 10 14:50:01 GMT 2007
>Originator:     Li-Wen Hsu
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD jail0.lwhsu.csie.net 6.2-STABLE FreeBSD 6.2-STABLE #0: Fri Jan 26 00:04:54 CST 2007
>Description:
pycount helps you with a simple analysis of Python code, categorizing it into
comments, doc strings, blank lines and real code. It creates simple lines
counts for individual or multiple files, but can also be used to strip
comments from a source file, say. See a sample output of pycount running on
itself in verbose mode.

WWW:	http://python.net/~gherman/pycount.html

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

--- py-pycount-0.0.6.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	pycount
#	pycount/pkg-descr
#	pycount/Makefile
#	pycount/distinfo
#
echo c - pycount
mkdir -p pycount > /dev/null 2>&1
echo x - pycount/pkg-descr
sed 's/^X//' >pycount/pkg-descr << 'END-of-pycount/pkg-descr'
Xpycount helps you with a simple analysis of Python code, categorizing it into
Xcomments, doc strings, blank lines and real code. It creates simple lines
Xcounts for individual or multiple files, but can also be used to strip
Xcomments from a source file, say. See a sample output of pycount running on
Xitself in verbose mode.
X
XWWW:	http://python.net/~gherman/pycount.html
END-of-pycount/pkg-descr
echo x - pycount/Makefile
sed 's/^X//' >pycount/Makefile << 'END-of-pycount/Makefile'
X# New ports collection makefile for:	pycount
X# Date created:		Feb. 10, 2007
X# Whom:			Li-Wen Hsu <lwhsu@lwhsu.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	pycount
XPORTVERSION=	0.0.6
XCATEGORIES=	devel python
XMASTER_SITES=	http://python.net/crew/gherman/playground/pycount/
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
XDISTNAME=	${PORTNAME}.py
XEXTRACT_SUFX=	#
XDIST_SUBDIR=	python
X
XMAINTAINER=	lwhsu@lwhsu.org
XCOMMENT=	A very initial effort to Python code metrics
X
XUSE_DOS2UNIX=	yes
XUSE_PYTHON=	yes
XNO_BUILD=	yes
X
XPLIST_FILES=	bin/${PORTNAME}
X
Xdo-extract:
X	@${MKDIR} ${WRKDIR}
X	@${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} ${WRKDIR}
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKDIR}/${DISTFILES} ${TARGETDIR}/bin/${PORTNAME}
X
X.include <bsd.port.mk>
END-of-pycount/Makefile
echo x - pycount/distinfo
sed 's/^X//' >pycount/distinfo << 'END-of-pycount/distinfo'
XMD5 (python/pycount.py) = baeb40358470945d6d943a0d8721419a
XSHA256 (python/pycount.py) = 5fdc8096ae046d2a1741ceb4c33ac02e84a7978e9b3c93032496e58c6416ad48
XSIZE (python/pycount.py) = 12920
END-of-pycount/distinfo
exit
--- py-pycount-0.0.6.shar ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-python 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Feb 9 22:40:45 UTC 2007 
Responsible-Changed-Why:  
freebsd-python@ wants to have py- PRs 

http://www.freebsd.org/cgi/query-pr.cgi?pr=108996 
Responsible-Changed-From-To: freebsd-python->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Fri Feb 9 22:53:27 UTC 2007 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=108996 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Sat Feb 10 14:43:09 UTC 2007 
State-Changed-Why:  
New port added. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/108996: commit references a PR
Date: Sat, 10 Feb 2007 14:35:54 +0000 (UTC)

 miwi        2007-02-10 14:35:47 UTC
 
   FreeBSD ports repository
 
   Modified files:
     devel                Makefile 
   Added files:
     devel/pycount        Makefile distinfo pkg-descr 
   Log:
   pycount helps you with a simple analysis of Python code, categorizing it into
   comments, doc strings, blank lines and real code. It creates simple lines
   counts for individual or multiple files, but can also be used to strip
   comments from a source file, say. See a sample output of pycount running on
   itself in verbose mode.
   
   WWW:    http://python.net/~gherman/pycount.html
   
   PR:             ports/108996
   Submitted by:   Li-Wen Hsu <lwhsu at lwhsu.org>
   
   Revision  Changes    Path
   1.2631    +1 -0      ports/devel/Makefile
   1.1       +33 -0     ports/devel/pycount/Makefile (new)
   1.1       +3 -0      ports/devel/pycount/distinfo (new)
   1.1       +7 -0      ports/devel/pycount/pkg-descr (new)
 _______________________________________________
 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:
