From 7fb9451c41470d8ca8d21332c1bfe442a130c763 Mon Sep 17 00:00:00 2001 From: OKAZAKI Tetsurou Date: Thu, 16 Aug 2001 10:53:11 +0000 Subject: Add py-unit 1.4.1, testing framework for Python. PR: 29734 Submitted by: Shell Hung --- devel/Makefile | 1 + devel/py-unit/Makefile | 29 +++++++++++++++++++++++++++++ devel/py-unit/distinfo | 1 + devel/py-unit/pkg-comment | 1 + devel/py-unit/pkg-descr | 6 ++++++ devel/py-unit/pkg-plist | 4 ++++ 6 files changed, 42 insertions(+) create mode 100644 devel/py-unit/Makefile create mode 100644 devel/py-unit/distinfo create mode 100644 devel/py-unit/pkg-comment create mode 100644 devel/py-unit/pkg-descr create mode 100644 devel/py-unit/pkg-plist (limited to 'devel') diff --git a/devel/Makefile b/devel/Makefile index 437ba910fef3..a23ba73b0b37 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -449,6 +449,7 @@ SUBDIR += py-ncurses SUBDIR += py-omniorb SUBDIR += py-orbit + SUBDIR += py-unit SUBDIR += pychecker SUBDIR += qt-designer SUBDIR += qtarch diff --git a/devel/py-unit/Makefile b/devel/py-unit/Makefile new file mode 100644 index 000000000000..353281136e24 --- /dev/null +++ b/devel/py-unit/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: py-unit +# Date created: Aug 16, 2001 +# Whom: Shell Hung +# +# $FreeBSD$ +# + +PORTNAME= unit +PORTVERSION= 1.4.1 +CATEGORIES= devel python +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= pyunit +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= pyunit-${PORTVERSION} + +MAINTAINER= shell@shellhung.org + +USE_PYTHON= yes + +SETUP_CMD= cd ${WRKSRC} && ${SETENV} \ + ${MAKE_ENV} ${PYTHON_CMD} setup.py + +do-build: + @${SETUP_CMD} build + +do-install: + @${SETUP_CMD} install + +.include diff --git a/devel/py-unit/distinfo b/devel/py-unit/distinfo new file mode 100644 index 000000000000..097fcf3ca854 --- /dev/null +++ b/devel/py-unit/distinfo @@ -0,0 +1 @@ +MD5 (pyunit-1.4.1.tar.gz) = 658ff16afc469a3898260cc72bbea993 diff --git a/devel/py-unit/pkg-comment b/devel/py-unit/pkg-comment new file mode 100644 index 000000000000..1d48c73aa364 --- /dev/null +++ b/devel/py-unit/pkg-comment @@ -0,0 +1 @@ +Testing framework for Python diff --git a/devel/py-unit/pkg-descr b/devel/py-unit/pkg-descr new file mode 100644 index 000000000000..0c7af8948d80 --- /dev/null +++ b/devel/py-unit/pkg-descr @@ -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: http://pyunit.sourceforge.net diff --git a/devel/py-unit/pkg-plist b/devel/py-unit/pkg-plist new file mode 100644 index 000000000000..11cf811532d0 --- /dev/null +++ b/devel/py-unit/pkg-plist @@ -0,0 +1,4 @@ +lib/%%PYTHON_VERSION%%/site-packages/unittest.py +lib/%%PYTHON_VERSION%%/site-packages/unittest.pyc +lib/%%PYTHON_VERSION%%/site-packages/unittestgui.py +lib/%%PYTHON_VERSION%%/site-packages/unittestgui.pyc -- cgit v1.2.3