pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-unittest2 Unittest2 is a backport of the new ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/61b336dd87b2
branches:  trunk
changeset: 621392:61b336dd87b2
user:      richard <richard%pkgsrc.org@localhost>
date:      Mon Jul 08 04:52:48 2013 +0000

description:
Unittest2 is a backport of the new features added to the unittest testing
framework in Python 2.7. It is tested to run on Python 2.4 - 2.7.

To use unittest2 instead of unittest simply replace import unittest with
import unittest2.

diffstat:

 devel/py-unittest2/DESCR    |   5 ++
 devel/py-unittest2/Makefile |  23 ++++++++++
 devel/py-unittest2/PLIST    |  97 +++++++++++++++++++++++++++++++++++++++++++++
 devel/py-unittest2/distinfo |   5 ++
 4 files changed, 130 insertions(+), 0 deletions(-)

diffs (146 lines):

diff -r 8d9b3f213f7f -r 61b336dd87b2 devel/py-unittest2/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-unittest2/DESCR  Mon Jul 08 04:52:48 2013 +0000
@@ -0,0 +1,5 @@
+Unittest2 is a backport of the new features added to the unittest testing
+framework in Python 2.7. It is tested to run on Python 2.4 - 2.7.
+
+To use unittest2 instead of unittest simply replace import unittest with
+import unittest2.
diff -r 8d9b3f213f7f -r 61b336dd87b2 devel/py-unittest2/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-unittest2/Makefile       Mon Jul 08 04:52:48 2013 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2013/07/08 04:52:48 richard Exp $
+
+DISTNAME=              unittest2-0.5.1
+PKGNAME=               ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=            devel python
+MASTER_SITES=  http://pypi.python.org/packages/source/u/unittest2/
+
+MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=              http://pypi.python.org/pypi/unittest2
+COMMENT=               Unittest features for Python 2.7 backported to Python 2.3+
+LICENSE=               original-bsd
+
+PYTHON_VERSIONS_INCLUDE_3X = no
+
+DOCDIR=                        share/doc/${PKGBASE}
+INSTALLATION_DIRS+=    ${DOCDIR}
+PLIST_SUBST+=  DOCDIR=${DOCDIR}
+
+post-install:
+       ${INSTALL_DATA} ${WRKSRC}/README.txt ${DESTDIR}${PREFIX}/${DOCDIR}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 8d9b3f213f7f -r 61b336dd87b2 devel/py-unittest2/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-unittest2/PLIST  Mon Jul 08 04:52:48 2013 +0000
@@ -0,0 +1,97 @@
+@comment $NetBSD: PLIST,v 1.1 2013/07/08 04:52:48 richard Exp $
+bin/unit2
+bin/unit2-2.7
+bin/unit2.py
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/unittest2/__init__.py
+${PYSITELIB}/unittest2/__init__.pyc
+${PYSITELIB}/unittest2/__init__.pyo
+${PYSITELIB}/unittest2/__main__.py
+${PYSITELIB}/unittest2/__main__.pyc
+${PYSITELIB}/unittest2/__main__.pyo
+${PYSITELIB}/unittest2/case.py
+${PYSITELIB}/unittest2/case.pyc
+${PYSITELIB}/unittest2/case.pyo
+${PYSITELIB}/unittest2/collector.py
+${PYSITELIB}/unittest2/collector.pyc
+${PYSITELIB}/unittest2/collector.pyo
+${PYSITELIB}/unittest2/compatibility.py
+${PYSITELIB}/unittest2/compatibility.pyc
+${PYSITELIB}/unittest2/compatibility.pyo
+${PYSITELIB}/unittest2/loader.py
+${PYSITELIB}/unittest2/loader.pyc
+${PYSITELIB}/unittest2/loader.pyo
+${PYSITELIB}/unittest2/main.py
+${PYSITELIB}/unittest2/main.pyc
+${PYSITELIB}/unittest2/main.pyo
+${PYSITELIB}/unittest2/result.py
+${PYSITELIB}/unittest2/result.pyc
+${PYSITELIB}/unittest2/result.pyo
+${PYSITELIB}/unittest2/runner.py
+${PYSITELIB}/unittest2/runner.pyc
+${PYSITELIB}/unittest2/runner.pyo
+${PYSITELIB}/unittest2/signals.py
+${PYSITELIB}/unittest2/signals.pyc
+${PYSITELIB}/unittest2/signals.pyo
+${PYSITELIB}/unittest2/suite.py
+${PYSITELIB}/unittest2/suite.pyc
+${PYSITELIB}/unittest2/suite.pyo
+${PYSITELIB}/unittest2/test/__init__.py
+${PYSITELIB}/unittest2/test/__init__.pyc
+${PYSITELIB}/unittest2/test/__init__.pyo
+${PYSITELIB}/unittest2/test/dummy.py
+${PYSITELIB}/unittest2/test/dummy.pyc
+${PYSITELIB}/unittest2/test/dummy.pyo
+${PYSITELIB}/unittest2/test/support.py
+${PYSITELIB}/unittest2/test/support.pyc
+${PYSITELIB}/unittest2/test/support.pyo
+${PYSITELIB}/unittest2/test/test_assertions.py
+${PYSITELIB}/unittest2/test/test_assertions.pyc
+${PYSITELIB}/unittest2/test/test_assertions.pyo
+${PYSITELIB}/unittest2/test/test_break.py
+${PYSITELIB}/unittest2/test/test_break.pyc
+${PYSITELIB}/unittest2/test/test_break.pyo
+${PYSITELIB}/unittest2/test/test_case.py
+${PYSITELIB}/unittest2/test/test_case.pyc
+${PYSITELIB}/unittest2/test/test_case.pyo
+${PYSITELIB}/unittest2/test/test_discovery.py
+${PYSITELIB}/unittest2/test/test_discovery.pyc
+${PYSITELIB}/unittest2/test/test_discovery.pyo
+${PYSITELIB}/unittest2/test/test_functiontestcase.py
+${PYSITELIB}/unittest2/test/test_functiontestcase.pyc
+${PYSITELIB}/unittest2/test/test_functiontestcase.pyo
+${PYSITELIB}/unittest2/test/test_loader.py
+${PYSITELIB}/unittest2/test/test_loader.pyc
+${PYSITELIB}/unittest2/test/test_loader.pyo
+${PYSITELIB}/unittest2/test/test_new_tests.py
+${PYSITELIB}/unittest2/test/test_new_tests.pyc
+${PYSITELIB}/unittest2/test/test_new_tests.pyo
+${PYSITELIB}/unittest2/test/test_program.py
+${PYSITELIB}/unittest2/test/test_program.pyc
+${PYSITELIB}/unittest2/test/test_program.pyo
+${PYSITELIB}/unittest2/test/test_result.py
+${PYSITELIB}/unittest2/test/test_result.pyc
+${PYSITELIB}/unittest2/test/test_result.pyo
+${PYSITELIB}/unittest2/test/test_runner.py
+${PYSITELIB}/unittest2/test/test_runner.pyc
+${PYSITELIB}/unittest2/test/test_runner.pyo
+${PYSITELIB}/unittest2/test/test_setups.py
+${PYSITELIB}/unittest2/test/test_setups.pyc
+${PYSITELIB}/unittest2/test/test_setups.pyo
+${PYSITELIB}/unittest2/test/test_skipping.py
+${PYSITELIB}/unittest2/test/test_skipping.pyc
+${PYSITELIB}/unittest2/test/test_skipping.pyo
+${PYSITELIB}/unittest2/test/test_suite.py
+${PYSITELIB}/unittest2/test/test_suite.pyc
+${PYSITELIB}/unittest2/test/test_suite.pyo
+${PYSITELIB}/unittest2/test/test_unittest2_with.py
+${PYSITELIB}/unittest2/test/test_unittest2_with.pyc
+${PYSITELIB}/unittest2/test/test_unittest2_with.pyo
+${PYSITELIB}/unittest2/util.py
+${PYSITELIB}/unittest2/util.pyc
+${PYSITELIB}/unittest2/util.pyo
+${DOCDIR}/README.txt
diff -r 8d9b3f213f7f -r 61b336dd87b2 devel/py-unittest2/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-unittest2/distinfo       Mon Jul 08 04:52:48 2013 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/07/08 04:52:48 richard Exp $
+
+SHA1 (unittest2-0.5.1.tar.gz) = 2299652dc1c0155d67d6574d9f854de45d36a7ce
+RMD160 (unittest2-0.5.1.tar.gz) = aa83b1d6dedaa71a9e6d3bed4028e855bef04821
+Size (unittest2-0.5.1.tar.gz) = 62470 bytes



Home | Main Index | Thread Index | Old Index