From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Feb 9 22:40:26 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3C04916A4C2 for ; Fri, 9 Feb 2007 22:40:26 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 1A75B13C4A6 for ; Fri, 9 Feb 2007 22:40:26 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l19MePn3033239 for ; Fri, 9 Feb 2007 22:40:25 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l19MePdP033238; Fri, 9 Feb 2007 22:40:25 GMT (envelope-from gnats) Resent-Date: Fri, 9 Feb 2007 22:40:25 GMT Resent-Message-Id: <200702092240.l19MePdP033238@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Li-Wen Hsu Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 711AC16A401 for ; 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 ; 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 To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: lwhsu@lwhsu.org Subject: ports/108996: [NEW PORT] devel/py-pycount: A very initial effort to Python code metrics X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Feb 2007 22:40:26 -0000 >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: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Feb 09 22:40:25 GMT 2007 >Closed-Date: >Last-Modified: >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 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 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: >Unformatted: