diff options
author | okazaki <okazaki@FreeBSD.org> | 2001-08-16 18:53:11 +0800 |
---|---|---|
committer | okazaki <okazaki@FreeBSD.org> | 2001-08-16 18:53:11 +0800 |
commit | e179d3e341d5acd42e18d401ba00cc75f4af5483 (patch) | |
tree | 1389587a9af1a0af97e6b567a18550c09f9b6339 /devel | |
parent | 3f10be3be8a8fdd58058a22c0c29490241f57824 (diff) | |
download | freebsd-ports-gnome-e179d3e341d5acd42e18d401ba00cc75f4af5483.tar.gz freebsd-ports-gnome-e179d3e341d5acd42e18d401ba00cc75f4af5483.tar.zst freebsd-ports-gnome-e179d3e341d5acd42e18d401ba00cc75f4af5483.zip |
Add py-unit 1.4.1, testing framework for Python.
PR: 29734
Submitted by: Shell Hung <shell@shellhung.org>
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/py-unit/Makefile | 29 | ||||
-rw-r--r-- | devel/py-unit/distinfo | 1 | ||||
-rw-r--r-- | devel/py-unit/pkg-comment | 1 | ||||
-rw-r--r-- | devel/py-unit/pkg-descr | 6 | ||||
-rw-r--r-- | devel/py-unit/pkg-plist | 4 |
6 files changed, 42 insertions, 0 deletions
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 <shell@shellhung.org> +# +# $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 <bsd.port.mk> 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 |