pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net py-subunit: added version 1.3.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4668f947c833
branches:  trunk
changeset: 380553:4668f947c833
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu May 17 08:09:11 2018 +0000

description:
py-subunit: added version 1.3.0

Subunit is a streaming protocol for test results.

A number of useful things can be done easily with subunit:
* Test aggregation: Tests run separately can be combined and then
  reported/displayed together. For instance, tests from different languages can
  be shown as a seamless whole, and tests running on multiple machines can be
  aggregated into a single stream through a multiplexer.
* Test archiving: A test run may be recorded and replayed later.
* Test isolation: Tests that may crash or otherwise interact badly with each
  other can be run seperately and then aggregated, rather than interfering with
  each other or requiring an adhoc test->runner reporting protocol.
* Grid testing: subunit can act as the necessary serialisation and
  deserialiation to get test runs on distributed machines to be reported in
  real time.

diffstat:

 net/Makefile                |    3 +-
 net/py-subunit/ALTERNATIVES |   14 +++++
 net/py-subunit/DESCR        |   14 +++++
 net/py-subunit/Makefile     |   33 +++++++++++++
 net/py-subunit/PLIST        |  105 ++++++++++++++++++++++++++++++++++++++++++++
 net/py-subunit/distinfo     |    6 ++
 6 files changed, 174 insertions(+), 1 deletions(-)

diffs (209 lines):

diff -r 501f9a5354e5 -r 4668f947c833 net/Makefile
--- a/net/Makefile      Thu May 17 08:04:47 2018 +0000
+++ b/net/Makefile      Thu May 17 08:09:11 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1215 2018/05/02 18:16:28 minskim Exp $
+# $NetBSD: Makefile,v 1.1216 2018/05/17 08:09:11 adam Exp $
 #
 
 COMMENT=       Networking tools
@@ -694,6 +694,7 @@
 SUBDIR+=       py-socksipy-branch
 SUBDIR+=       py-softlayer
 SUBDIR+=       py-softlayer_messaging
+SUBDIR+=       py-subunit
 SUBDIR+=       py-tldextract
 SUBDIR+=       py-tweepy
 SUBDIR+=       py-twisted
diff -r 501f9a5354e5 -r 4668f947c833 net/py-subunit/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-subunit/ALTERNATIVES       Thu May 17 08:09:11 2018 +0000
@@ -0,0 +1,14 @@
+bin/subunit-1to2 @PREFIX@/bin/subunit-1to2-@PYVERSSUFFIX@
+bin/subunit-2to1 @PREFIX@/bin/subunit-2to1-@PYVERSSUFFIX@
+bin/subunit-filter @PREFIX@/bin/subunit-filter-@PYVERSSUFFIX@
+bin/subunit-ls @PREFIX@/bin/subunit-ls-@PYVERSSUFFIX@
+bin/subunit-notify @PREFIX@/bin/subunit-notify-@PYVERSSUFFIX@
+bin/subunit-output @PREFIX@/bin/subunit-output-@PYVERSSUFFIX@
+bin/subunit-stats @PREFIX@/bin/subunit-stats-@PYVERSSUFFIX@
+bin/subunit-tags @PREFIX@/bin/subunit-tags-@PYVERSSUFFIX@
+bin/subunit2csv @PREFIX@/bin/subunit2csv-@PYVERSSUFFIX@
+bin/subunit2disk @PREFIX@/bin/subunit2disk-@PYVERSSUFFIX@
+bin/subunit2gtk @PREFIX@/bin/subunit2gtk-@PYVERSSUFFIX@
+bin/subunit2junitxml @PREFIX@/bin/subunit2junitxml-@PYVERSSUFFIX@
+bin/subunit2pyunit @PREFIX@/bin/subunit2pyunit-@PYVERSSUFFIX@
+bin/tap2subunit @PREFIX@/bin/tap2subunit-@PYVERSSUFFIX@
diff -r 501f9a5354e5 -r 4668f947c833 net/py-subunit/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-subunit/DESCR      Thu May 17 08:09:11 2018 +0000
@@ -0,0 +1,14 @@
+Subunit is a streaming protocol for test results.
+
+A number of useful things can be done easily with subunit:
+* Test aggregation: Tests run separately can be combined and then
+  reported/displayed together. For instance, tests from different languages can
+  be shown as a seamless whole, and tests running on multiple machines can be
+  aggregated into a single stream through a multiplexer.
+* Test archiving: A test run may be recorded and replayed later.
+* Test isolation: Tests that may crash or otherwise interact badly with each
+  other can be run seperately and then aggregated, rather than interfering with
+  each other or requiring an adhoc test->runner reporting protocol.
+* Grid testing: subunit can act as the necessary serialisation and
+  deserialiation to get test runs on distributed machines to be reported in
+  real time.
diff -r 501f9a5354e5 -r 4668f947c833 net/py-subunit/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-subunit/Makefile   Thu May 17 08:09:11 2018 +0000
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1 2018/05/17 08:09:11 adam Exp $
+
+DISTNAME=      python-subunit-1.3.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/^python-//}
+CATEGORIES=    net python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=p/python-subunit/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://launchpad.net/subunit
+COMMENT=       Python implementation of subunit test streaming protocol
+LICENSE=       apache-2.0 OR modified-bsd
+
+DEPENDS+=      ${PYPKGPREFIX}-extras-[0-9]*:../../devel/py-extras
+DEPENDS+=      ${PYPKGPREFIX}-testtools>=0.9.34:../../devel/py-testtools
+TEST_DEPENDS+= ${PYPKGPREFIX}-fixtures-[0-9]*:../../devel/py-fixtures
+TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
+TEST_DEPENDS+= ${PYPKGPREFIX}-testscenarios-[0-9]*:../../devel/py-testscenarios
+
+USE_LANGUAGES= # none
+
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && \
+       for f in subunit-1to2 subunit-1to2 subunit-2to1 subunit-filter subunit-ls \
+       subunit-notify subunit-output subunit-stats subunit-tags subunit2csv \
+       subunit2disk subunit2gtk subunit2junitxml subunit2pyunit tap2subunit; do \
+               ${MV} $${f} $${f}-${PYVERSSUFFIX} || ${TRUE}; \
+       done
+
+do-test:
+       cd ${WRKSRC}/python && ${PYTHONBIN} -m unittest discover -v
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 501f9a5354e5 -r 4668f947c833 net/py-subunit/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-subunit/PLIST      Thu May 17 08:09:11 2018 +0000
@@ -0,0 +1,105 @@
+@comment $NetBSD: PLIST,v 1.1 2018/05/17 08:09:11 adam Exp $
+bin/subunit-1to2-${PYVERSSUFFIX}
+bin/subunit-2to1-${PYVERSSUFFIX}
+bin/subunit-filter-${PYVERSSUFFIX}
+bin/subunit-ls-${PYVERSSUFFIX}
+bin/subunit-notify-${PYVERSSUFFIX}
+bin/subunit-output-${PYVERSSUFFIX}
+bin/subunit-stats-${PYVERSSUFFIX}
+bin/subunit-tags-${PYVERSSUFFIX}
+bin/subunit2csv-${PYVERSSUFFIX}
+bin/subunit2disk-${PYVERSSUFFIX}
+bin/subunit2gtk-${PYVERSSUFFIX}
+bin/subunit2junitxml-${PYVERSSUFFIX}
+bin/subunit2pyunit-${PYVERSSUFFIX}
+bin/tap2subunit-${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/pbr.json
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/subunit/__init__.py
+${PYSITELIB}/subunit/__init__.pyc
+${PYSITELIB}/subunit/__init__.pyo
+${PYSITELIB}/subunit/_output.py
+${PYSITELIB}/subunit/_output.pyc
+${PYSITELIB}/subunit/_output.pyo
+${PYSITELIB}/subunit/_to_disk.py
+${PYSITELIB}/subunit/_to_disk.pyc
+${PYSITELIB}/subunit/_to_disk.pyo
+${PYSITELIB}/subunit/chunked.py
+${PYSITELIB}/subunit/chunked.pyc
+${PYSITELIB}/subunit/chunked.pyo
+${PYSITELIB}/subunit/details.py
+${PYSITELIB}/subunit/details.pyc
+${PYSITELIB}/subunit/details.pyo
+${PYSITELIB}/subunit/filters.py
+${PYSITELIB}/subunit/filters.pyc
+${PYSITELIB}/subunit/filters.pyo
+${PYSITELIB}/subunit/iso8601.py
+${PYSITELIB}/subunit/iso8601.pyc
+${PYSITELIB}/subunit/iso8601.pyo
+${PYSITELIB}/subunit/progress_model.py
+${PYSITELIB}/subunit/progress_model.pyc
+${PYSITELIB}/subunit/progress_model.pyo
+${PYSITELIB}/subunit/run.py
+${PYSITELIB}/subunit/run.pyc
+${PYSITELIB}/subunit/run.pyo
+${PYSITELIB}/subunit/test_results.py
+${PYSITELIB}/subunit/test_results.pyc
+${PYSITELIB}/subunit/test_results.pyo
+${PYSITELIB}/subunit/tests/__init__.py
+${PYSITELIB}/subunit/tests/__init__.pyc
+${PYSITELIB}/subunit/tests/__init__.pyo
+${PYSITELIB}/subunit/tests/sample-script.py
+${PYSITELIB}/subunit/tests/sample-script.pyc
+${PYSITELIB}/subunit/tests/sample-script.pyo
+${PYSITELIB}/subunit/tests/sample-two-script.py
+${PYSITELIB}/subunit/tests/sample-two-script.pyc
+${PYSITELIB}/subunit/tests/sample-two-script.pyo
+${PYSITELIB}/subunit/tests/test_chunked.py
+${PYSITELIB}/subunit/tests/test_chunked.pyc
+${PYSITELIB}/subunit/tests/test_chunked.pyo
+${PYSITELIB}/subunit/tests/test_details.py
+${PYSITELIB}/subunit/tests/test_details.pyc
+${PYSITELIB}/subunit/tests/test_details.pyo
+${PYSITELIB}/subunit/tests/test_filter_to_disk.py
+${PYSITELIB}/subunit/tests/test_filter_to_disk.pyc
+${PYSITELIB}/subunit/tests/test_filter_to_disk.pyo
+${PYSITELIB}/subunit/tests/test_filters.py
+${PYSITELIB}/subunit/tests/test_filters.pyc
+${PYSITELIB}/subunit/tests/test_filters.pyo
+${PYSITELIB}/subunit/tests/test_output_filter.py
+${PYSITELIB}/subunit/tests/test_output_filter.pyc
+${PYSITELIB}/subunit/tests/test_output_filter.pyo
+${PYSITELIB}/subunit/tests/test_progress_model.py
+${PYSITELIB}/subunit/tests/test_progress_model.pyc
+${PYSITELIB}/subunit/tests/test_progress_model.pyo
+${PYSITELIB}/subunit/tests/test_run.py
+${PYSITELIB}/subunit/tests/test_run.pyc
+${PYSITELIB}/subunit/tests/test_run.pyo
+${PYSITELIB}/subunit/tests/test_subunit_filter.py
+${PYSITELIB}/subunit/tests/test_subunit_filter.pyc
+${PYSITELIB}/subunit/tests/test_subunit_filter.pyo
+${PYSITELIB}/subunit/tests/test_subunit_stats.py
+${PYSITELIB}/subunit/tests/test_subunit_stats.pyc
+${PYSITELIB}/subunit/tests/test_subunit_stats.pyo
+${PYSITELIB}/subunit/tests/test_subunit_tags.py
+${PYSITELIB}/subunit/tests/test_subunit_tags.pyc
+${PYSITELIB}/subunit/tests/test_subunit_tags.pyo
+${PYSITELIB}/subunit/tests/test_tap2subunit.py
+${PYSITELIB}/subunit/tests/test_tap2subunit.pyc
+${PYSITELIB}/subunit/tests/test_tap2subunit.pyo
+${PYSITELIB}/subunit/tests/test_test_protocol.py
+${PYSITELIB}/subunit/tests/test_test_protocol.pyc
+${PYSITELIB}/subunit/tests/test_test_protocol.pyo
+${PYSITELIB}/subunit/tests/test_test_protocol2.py
+${PYSITELIB}/subunit/tests/test_test_protocol2.pyc
+${PYSITELIB}/subunit/tests/test_test_protocol2.pyo
+${PYSITELIB}/subunit/tests/test_test_results.py
+${PYSITELIB}/subunit/tests/test_test_results.pyc
+${PYSITELIB}/subunit/tests/test_test_results.pyo
+${PYSITELIB}/subunit/v2.py
+${PYSITELIB}/subunit/v2.pyc
+${PYSITELIB}/subunit/v2.pyo
diff -r 501f9a5354e5 -r 4668f947c833 net/py-subunit/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-subunit/distinfo   Thu May 17 08:09:11 2018 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/05/17 08:09:11 adam Exp $
+
+SHA1 (python-subunit-1.3.0.tar.gz) = a23f4ae8894687adfda2f5a8333b2f2579efd720
+RMD160 (python-subunit-1.3.0.tar.gz) = 54521191be886a4bcf9eb0da372221c181d1cd46
+SHA512 (python-subunit-1.3.0.tar.gz) = 387c9ce8ed679d8998d33c7a295412e4f9de46b8dccdfab92eb82d8c4290958760b6c9bd99d50abd0836e4556c1b0c0132fc01e16801a3113844ab1bf28cf962
+Size (python-subunit-1.3.0.tar.gz) = 99309 bytes



Home | Main Index | Thread Index | Old Index