Initial import of py-unit-1.4.1

---

A unit testing framework for Python based on JUnit and XUnit, the
de-facto standard frameworks for Java and SmallTalk respectively.
Provides a standard, proven, simple and elegant way to write unit
tests for Python software. GUI also provided.

WWW: http://pyunit.sourceforge.net
This commit is contained in:
shell 2001-08-15 19:48:27 +00:00
parent 3a110fb0e2
commit 6afb1bb8f6
4 changed files with 54 additions and 0 deletions

40
devel/py-unit/Makefile Normal file
View File

@ -0,0 +1,40 @@
# $OpenBSD: Makefile,v 1.1.1.1 2001/08/15 19:48:27 shell Exp $
COMMENT= "testing framework for python"
VERSION= 1.4.1
DISTNAME= pyunit-${VERSION}
PKGNAME= py-unit-${VERSION}
CATEGORIES= devel
NEED_VERSION= 1.435
HOMEPAGE= http://pyunit.sourceforge.net/
MAINTAINER= Shell Hung <shell@openbsd.org>
# Python License
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pyunit
PYTHON_VER= 2.1
RUN_DEPENDS+= python${PYTHON_VER}::lang/python${PYTHON_EXT}
BUILD_DEPENDS= ${RUN_DEPENDS}
SUBST_VARS= PYTHON_VER
do-build:
cd ${WRKSRC}; python${PYTHON_VER} ./setup.py build \
--build-base=${WRKSRC}
do-install:
cd ${WRKSRC}; python${PYTHON_VER} ./setup.py install \
--prefix=${PREFIX}
.include <bsd.port.mk>

3
devel/py-unit/files/md5 Normal file
View File

@ -0,0 +1,3 @@
MD5 (pyunit-1.4.1.tar.gz) = 658ff16afc469a3898260cc72bbea993
RMD160 (pyunit-1.4.1.tar.gz) = 550119f40a784cd3c112ffed476af8dbab552e2b
SHA1 (pyunit-1.4.1.tar.gz) = 5c2e4daa6cf49be85de0823896dc8226c4c3c1e3

6
devel/py-unit/pkg/DESCR Normal file
View File

@ -0,0 +1,6 @@
A unit testing framework for Python based on JUnit and XUnit, the
de-facto standard frameworks for Java and SmallTalk respectively.
Provides a standard, proven, simple and elegant way to write unit
tests for Python software. GUI also provided.
WWW: ${HOMEPAGE}

5
devel/py-unit/pkg/PLIST Normal file
View File

@ -0,0 +1,5 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/08/15 19:48:27 shell Exp $
lib/python${PYTHON_VER}/site-packages/unittest.py
lib/python${PYTHON_VER}/site-packages/unittest.pyc
lib/python${PYTHON_VER}/site-packages/unittestgui.py
lib/python${PYTHON_VER}/site-packages/unittestgui.pyc