summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOKAZAKI Tetsurou <okazaki@FreeBSD.org>2001-08-16 10:53:11 +0000
committerOKAZAKI Tetsurou <okazaki@FreeBSD.org>2001-08-16 10:53:11 +0000
commit7fb9451c41470d8ca8d21332c1bfe442a130c763 (patch)
treef25a7c64a965ad105bb139183e4d2d4047c59695
parentUpgrade to 2.0 (diff)
Add py-unit 1.4.1, testing framework for Python.
PR: 29734 Submitted by: Shell Hung <shell@shellhung.org>
Notes
Notes: svn path=/head/; revision=46315
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-unit/Makefile29
-rw-r--r--devel/py-unit/distinfo1
-rw-r--r--devel/py-unit/pkg-comment1
-rw-r--r--devel/py-unit/pkg-descr6
-rw-r--r--devel/py-unit/pkg-plist4
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