svn commit: r471399 - in head/devel: . py-python-subunit

Martin Wilke miwi at FreeBSD.org
Sat Jun 2 19:25:43 UTC 2018


Author: miwi
Date: Sat Jun  2 19:25:41 2018
New Revision: 471399
URL: https://svnweb.freebsd.org/changeset/ports/471399

Log:
  Subunit is a streaming protocol for test results.
  
  There are two major revisions of the protocol. Version 1 was trivially human
  readable but had significant defects as far as highly parallel testing was
  concerned - it had no room for doing discovery and execution in parallel,
  required substantial buffering when multiplexing and was fragile - a corrupt
  byte could cause an entire stream to be misparsed. Version 1.1 added
  encapsulation of binary streams which mitigated some of the issues but the core
  remained.
  
  Version 2 shares many of the good characteristics of Version 1 - it can be
  embedded into a regular text stream (e.g. from a build system) and it still
  models xUnit style test execution. It also fixes many of the issues with
  Version 1 - Version 2 can be multiplexed without excessive buffering (in time
  or space), it has a well defined recovery mechanism for dealing with corrupted
  streams (e.g. where two processes write to the same stream concurrently, or
  where the stream generator suffers a bug).
  
  WWW: http://launchpad.net/subunit
  
  PR:		228685
  Submitted by:	freebsd_ports at k-worx.org
  Sponsored by:	iXsystems Inc.

Added:
  head/devel/py-python-subunit/
  head/devel/py-python-subunit/Makefile   (contents, props changed)
  head/devel/py-python-subunit/distinfo   (contents, props changed)
  head/devel/py-python-subunit/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sat Jun  2 19:24:45 2018	(r471398)
+++ head/devel/Makefile	Sat Jun  2 19:25:41 2018	(r471399)
@@ -4890,6 +4890,7 @@
     SUBDIR += py-python-pcre
     SUBDIR += py-python-socketio
     SUBDIR += py-python-statsd
+    SUBDIR += py-python-subunit
     SUBDIR += py-python2-pythondialog
     SUBDIR += py-pythonbrew
     SUBDIR += py-pytimeparse

Added: head/devel/py-python-subunit/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-python-subunit/Makefile	Sat Jun  2 19:25:41 2018	(r471399)
@@ -0,0 +1,32 @@
+# $FreeBSD$
+
+PORTNAME=	python-subunit
+DISTVERSION=	1.3.0
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	freebsd_ports at k-worx.org
+COMMENT=	Python implementation of subunit test streaming protocol
+
+LICENSE=	MIT
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}extras>=0:devel/py-extras@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}mimeparse>=0:devel/py-mimeparse@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}testtools>=0.9.34:devel/py-testtools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}unittest2>=1.0.0:devel/py-unittest2@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	distutils concurrent autoplist
+
+NO_ARCH=	yes
+PORTDOCS=	NEWS README.rst
+
+OPTIONS_DEFINE=	DOCS
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.rst ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>

Added: head/devel/py-python-subunit/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-python-subunit/distinfo	Sat Jun  2 19:25:41 2018	(r471399)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1527328728
+SHA256 (python-subunit-1.3.0.tar.gz) = 9607edbee4c1e5a30ff88549ce8d9feb0b9bcbcb5e55033a9d76e86075465cbb
+SIZE (python-subunit-1.3.0.tar.gz) = 99309

Added: head/devel/py-python-subunit/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-python-subunit/pkg-descr	Sat Jun  2 19:25:41 2018	(r471399)
@@ -0,0 +1,19 @@
+Subunit is a streaming protocol for test results.
+
+There are two major revisions of the protocol. Version 1 was trivially human
+readable but had significant defects as far as highly parallel testing was
+concerned - it had no room for doing discovery and execution in parallel,
+required substantial buffering when multiplexing and was fragile - a corrupt
+byte could cause an entire stream to be misparsed. Version 1.1 added
+encapsulation of binary streams which mitigated some of the issues but the core
+remained.
+
+Version 2 shares many of the good characteristics of Version 1 - it can be
+embedded into a regular text stream (e.g. from a build system) and it still
+models xUnit style test execution. It also fixes many of the issues with
+Version 1 - Version 2 can be multiplexed without excessive buffering (in time
+or space), it has a well defined recovery mechanism for dealing with corrupted
+streams (e.g. where two processes write to the same stream concurrently, or
+where the stream generator suffers a bug).
+
+WWW: http://launchpad.net/subunit


More information about the svn-ports-all mailing list