pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/47386: add pkgsrc/devel/py-unittest2 0.5.1 supporting up to but not including python3
>Number: 47386
>Category: pkg
>Synopsis: add pkgsrc/devel/py-unittest2 0.5.1 supporting up to but not
>including python3
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Dec 31 10:55:00 +0000 2012
>Originator: Richard PALO
>Release: pkgsrc trunk
>Organization:
>Environment:
SunOS devzoneX 5.11 oi_151a7 i86pc i386 i86pc Solaris
>Description:
http://pypi.python.org/pypi/unittest2
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.
>How-To-Repeat:
>Fix:
cvs diff from pkgsrc/devel/py-unittest2:
Index: DESCR
===================================================================
RCS file: DESCR
diff -N DESCR
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ DESCR 31 Dec 2012 10:45:32 -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.
Index: Makefile
===================================================================
RCS file: Makefile
diff -N Makefile
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ Makefile 31 Dec 2012 10:45:32 -0000
@@ -0,0 +1,29 @@
+# $NetBSD$
+
+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
+
+CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q}
+CONFIGURE_ENV+= PYTH_CONFIGDIR=${BUILDLINK_PREFIX.${PYPACKAGE}}/${PYLIB}/config
+INSTALL_TARGET= installshared
+PY_PATCHPLIST= yes
+PLIST_SUBST+= PYLIB=${PYLIB:Q} PYPKGPREFIX=${PYPKGPREFIX:Q}
+
+DOCDIR= ${PREFIX}/share/doc/${PYPKGPREFIX}-unittest2
+
+post-install:
+ ${INSTALL_DATA_DIR} ${DESTDIR:Q}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.txt
${DESTDIR:Q}${DOCDIR}
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
Index: PLIST
===================================================================
RCS file: PLIST
diff -N PLIST
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ PLIST 31 Dec 2012 10:45:32 -0000
@@ -0,0 +1,97 @@
+@comment $NetBSD$
+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
+share/doc/${PYPKGPREFIX}-unittest2/README.txt
Index: distinfo
===================================================================
RCS file: distinfo
diff -N distinfo
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ distinfo 31 Dec 2012 10:45:32 -0000
@@ -0,0 +1,5 @@
+$NetBSD$
+
+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