summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2009-07-13 14:35:36 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2009-07-13 14:35:36 +0000
commit215814416c11a83f43b3c3bf0dbfd138af6a0e44 (patch)
treea63da7dea8f3ee6e4b26f260e83acf5fbb7d3569
parentAdd py-h5py 1.2.0, a general-purpose Python interface to the HDF5 (diff)
Add py-unittestplus 1.1.1, test utilities built on unittest.
PR: ports/136716 Submitted by: Kouki Hashimoto <hsmtkk at gmail.com>
Notes
Notes: svn path=/head/; revision=237690
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-unittestplus/Makefile21
-rw-r--r--devel/py-unittestplus/distinfo3
-rw-r--r--devel/py-unittestplus/pkg-descr8
-rw-r--r--devel/py-unittestplus/pkg-plist24
5 files changed, 57 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 5bb61f3aee72..4714fb473c5c 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2459,6 +2459,7 @@
SUBDIR += py-twistedFlow
SUBDIR += py-twistedRunner
SUBDIR += py-unit
+ SUBDIR += py-unittestplus
SUBDIR += py-urlimport
SUBDIR += py-urwid
SUBDIR += py-usb
diff --git a/devel/py-unittestplus/Makefile b/devel/py-unittestplus/Makefile
new file mode 100644
index 000000000000..bee4def2cf64
--- /dev/null
+++ b/devel/py-unittestplus/Makefile
@@ -0,0 +1,21 @@
+# New ports collection makefile for: unittestplus
+# Date created: 13 Jun 2009
+# Whom: Kouki Hashimoto <hsmtkk@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= unittestplus
+PORTVERSION= 1.1.1
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= hsmtkk@gmail.com
+COMMENT= Test utilities built on unittest
+
+USE_ZIP= yes
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-unittestplus/distinfo b/devel/py-unittestplus/distinfo
new file mode 100644
index 000000000000..d08c83c629fc
--- /dev/null
+++ b/devel/py-unittestplus/distinfo
@@ -0,0 +1,3 @@
+MD5 (unittestplus-1.1.1.zip) = c45121221f10c1d456904d0203b871d2
+SHA256 (unittestplus-1.1.1.zip) = d28c84c38e561319868d9b367f2d6266be0bdecb1700e4640c1bce5a7aa11a39
+SIZE (unittestplus-1.1.1.zip) = 13517
diff --git a/devel/py-unittestplus/pkg-descr b/devel/py-unittestplus/pkg-descr
new file mode 100644
index 000000000000..f1b39c5b42cf
--- /dev/null
+++ b/devel/py-unittestplus/pkg-descr
@@ -0,0 +1,8 @@
+unittestplus is test utilities built on unittest.
+
+It includes an augmented TestCase class with improved (stricter and more
+informative) assert methods; test auto discovery; utility functions
+for running test and combining TestCase classes into suites and prettier
+verbose test output.
+
+WWW: http://code.google.com/p/unittestplus/
diff --git a/devel/py-unittestplus/pkg-plist b/devel/py-unittestplus/pkg-plist
new file mode 100644
index 000000000000..dbec1b448a25
--- /dev/null
+++ b/devel/py-unittestplus/pkg-plist
@@ -0,0 +1,24 @@
+bin/run_all_tests.py
+%%PYTHON_SITELIBDIR%%/unittestplus/__init__.py
+%%PYTHON_SITELIBDIR%%/unittestplus/__init__.pyc
+%%PYTHON_SITELIBDIR%%/unittestplus/__init__.pyo
+%%PYTHON_SITELIBDIR%%/unittestplus/mock.py
+%%PYTHON_SITELIBDIR%%/unittestplus/mock.pyc
+%%PYTHON_SITELIBDIR%%/unittestplus/mock.pyo
+%%PYTHON_SITELIBDIR%%/unittestplus/run.py
+%%PYTHON_SITELIBDIR%%/unittestplus/run.pyc
+%%PYTHON_SITELIBDIR%%/unittestplus/run.pyo
+%%PYTHON_SITELIBDIR%%/unittestplus/testcaseplus.py
+%%PYTHON_SITELIBDIR%%/unittestplus/testcaseplus.pyc
+%%PYTHON_SITELIBDIR%%/unittestplus/testcaseplus.pyo
+%%PYTHON_SITELIBDIR%%/unittestplus/tests/__init__.py
+%%PYTHON_SITELIBDIR%%/unittestplus/tests/__init__.pyc
+%%PYTHON_SITELIBDIR%%/unittestplus/tests/__init__.pyo
+%%PYTHON_SITELIBDIR%%/unittestplus/tests/run_test.py
+%%PYTHON_SITELIBDIR%%/unittestplus/tests/run_test.pyc
+%%PYTHON_SITELIBDIR%%/unittestplus/tests/run_test.pyo
+%%PYTHON_SITELIBDIR%%/unittestplus/tests/testcaseplus_test.py
+%%PYTHON_SITELIBDIR%%/unittestplus/tests/testcaseplus_test.pyc
+%%PYTHON_SITELIBDIR%%/unittestplus/tests/testcaseplus_test.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/unittestplus/tests
+@dirrm %%PYTHON_SITELIBDIR%%/unittestplus