ports/91689: [NEW PORT] devel/py-TestGears: Python module to run tests written as simple functions
Nicola Vitale
nivit at email.it
Wed Jan 11 21:40:09 UTC 2006
>Number: 91689
>Category: ports
>Synopsis: [NEW PORT] devel/py-TestGears: Python module to run tests written as simple functions
>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: Wed Jan 11 21:40:05 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Nicola Vitale
>Release: FreeBSD 5.4-RELEASE-p8 i386
>Organization:
>Environment:
System: FreeBSD stellina.domo.sva 5.4-RELEASE-p8 FreeBSD 5.4-RELEASE-p8 #4: Mon Nov 28 10:22:09 CET 2005
>Description:
TestGears provides automatic discovery of unittest.TestCases and
the ability to run tests that are written as simple functions.
It generates a standard unittest.TestSuite for use with any of
the standard frontends, and provides a distutils command to run
tests with zero configuration.
Author: Kevin Dangoor <dangoor+testgears at gmail.com>
WWW: http://www.turbogears.com/testgears/
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- py24-TestGears-0.2.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:
#
# py-TestGears
# py-TestGears/pkg-descr
# py-TestGears/Makefile
# py-TestGears/pkg-plist
# py-TestGears/distinfo
# py-TestGears/files
# py-TestGears/files/pkg-deinstall.in
#
echo c - py-TestGears
mkdir -p py-TestGears > /dev/null 2>&1
echo x - py-TestGears/pkg-descr
sed 's/^X//' >py-TestGears/pkg-descr << 'END-of-py-TestGears/pkg-descr'
XTestGears provides automatic discovery of unittest.TestCases and
Xthe ability to run tests that are written as simple functions.
XIt generates a standard unittest.TestSuite for use with any of
Xthe standard frontends, and provides a distutils command to run
Xtests with zero configuration.
X
XAuthor: Kevin Dangoor <dangoor+testgears at gmail.com>
XWWW: http://www.turbogears.com/testgears/
END-of-py-TestGears/pkg-descr
echo x - py-TestGears/Makefile
sed 's/^X//' >py-TestGears/Makefile << 'END-of-py-TestGears/Makefile'
X# New ports collection makefile for: py-TestGears
X# Date created: 2006-01-11
X# Whom: Nicola Vitale <nivit at email.it>
X#
X# $FreeBSD$
X#
X
XPORTNAME= TestGears
XPORTVERSION= 0.2
XCATEGORIES= devel python
XMASTER_SITES= http://www.turbogears.org/download/eggs/
XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
XDISTNAME= ${PORTNAME}-${PORTVERSION}
X
XMAINTAINER= nivit at email.it
XCOMMENT= Python module to run tests written as simple functions
X
XBUILD_DEPENDS= easy_install:${PORTSDIR}/devel/py-setuptools
X# need to remove the egg
XRUN_DEPENDS= ${BUILD_DEPENDS}
X
XUSE_PYTHON= yes
XUSE_PYDISTUTILS= yes
X
XSUB_FILES= pkg-deinstall
XSUB_LIST= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR}
XSUB_LIST+= EGG="${PORTNAME}==${PORTVERSION}"
X
X.include <bsd.port.mk>
END-of-py-TestGears/Makefile
echo x - py-TestGears/pkg-plist
sed 's/^X//' >py-TestGears/pkg-plist << 'END-of-py-TestGears/pkg-plist'
X at comment $FreeBSD$
X%%PYTHON_SITELIBDIR%%/TestGears-0.2-py2.4.egg
END-of-py-TestGears/pkg-plist
echo x - py-TestGears/distinfo
sed 's/^X//' >py-TestGears/distinfo << 'END-of-py-TestGears/distinfo'
XMD5 (TestGears-0.2.tar.gz) = 1911b1555cf8869e14d1f71da590bc0e
XSHA256 (TestGears-0.2.tar.gz) = 13b61e0e86446b34ac9cddb86ca3c9416f53dcfff6845d0156fd717cc45cda29
XSIZE (TestGears-0.2.tar.gz) = 11302
END-of-py-TestGears/distinfo
echo c - py-TestGears/files
mkdir -p py-TestGears/files > /dev/null 2>&1
echo x - py-TestGears/files/pkg-deinstall.in
sed 's/^X//' >py-TestGears/files/pkg-deinstall.in << 'END-of-py-TestGears/files/pkg-deinstall.in'
X#!/bin/sh
X# $FreeBSD$
XPKGNAME=$1
X#
Xcase $2 in
X DEINSTALL)
X easy_install -m -x -D -S %%PYTHON_SITELIBDIR%% %%EGG%%
X ;;
X POST-DEINSTALL)
X exit 0
X ;;
X *)
X echo "Unexpected Argument $2!!!"
X exit 1
X ;;
Xesac
Xexit 0
END-of-py-TestGears/files/pkg-deinstall.in
exit
--- py24-TestGears-0.2.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list