Add py-trace2html 0.2.1, HTML coverage report generator for trace.py.

PR:		ports/109545
Submitted by:	Li-Wen Hsu <lwhsu at lwhsu.org>
This commit is contained in:
Cheng-Lung Sung 2007-03-01 01:02:21 +00:00
parent e50b0c2fe9
commit 6a0db40d7a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=186227
5 changed files with 48 additions and 0 deletions

View File

@ -1838,6 +1838,7 @@
SUBDIR += py-testgears
SUBDIR += py-tconfpy
SUBDIR += py-testoob
SUBDIR += py-trace2html
SUBDIR += py-turbocheetah
SUBDIR += py-turbojson
SUBDIR += py-turbokid

View File

@ -0,0 +1,35 @@
# New ports collection makefile for: py-trace2html
# Date created: Feb. 26, 2007
# Whom: Li-Wen Hsu <lwhsu@lwhsu.org>
#
# $FreeBSD$
#
PORTNAME= trace2html
PORTVERSION= 0.2.1
CATEGORIES= devel python
MASTER_SITES= http://cheeseshop.python.org/packages/source/t/trace2html/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= lwhsu@lwhsu.org
COMMENT= HTML coverage report generator for trace.py
BUILD_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
RUN_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
USE_PYTHON= yes
USE_PYDISTUTILS= yes
EASY_INSTALL_CMD?= easy_install-${PYTHON_VER}
PYDISTUTILS_BUILD_TARGET= bdist_egg
PYDISTUTILS_INSTALL_TARGET= easy_install
PYDISTUTILS_INSTALLARGS= -O 1 -N -S ${PYTHON_SITELIBDIR} ${WRKSRC}/dist/${PYTRACE2HTML_EGG}
PYTRACE2HTML_EGG= ${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}.egg
PLIST_SUB+= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \
PYTRACE2HTML_EGG=${PYTRACE2HTML_EGG} \
PYTRACE2HTML_EGG_VER="${PORTNAME}==${PORTVERSION}"
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (trace2html-0.2.1.tar.gz) = 5a8a3be2dc787de8c491c271b10908a7
SHA256 (trace2html-0.2.1.tar.gz) = 825010de6271acdea9b2f74adef3246143f069c9c3d0c2a4b57b6bf7bbad437f
SIZE (trace2html-0.2.1.tar.gz) = 25739

View File

@ -0,0 +1,5 @@
`trace2html' is a utility to convert execution coverage data obtained
with the `trace' module of the standard python library into a set of human
readable HTML documents showing sortable summary and annotated source files.
WWW: http://cheeseshop.python.org/pypi/trace2html

View File

@ -0,0 +1,4 @@
@unexec %%EASY_INSTALL_CMD%% -q -m -S %D/%%PYTHON_SITELIBDIR%% %%PYTRACE2HTML_EGG_VER%%
%%PYTHON_SITELIBDIR%%/%%PYTRACE2HTML_EGG%%
@exec %%EASY_INSTALL_CMD%% -q -N -S %D/%%PYTHON_SITELIBDIR%% %%PYTRACE2HTML_EGG_VER%%
bin/trace2html.py