From owner-svn-ports-all@freebsd.org Sat Jun 2 19:25:43 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8F0FBFDBBCD; Sat, 2 Jun 2018 19:25:43 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 155D3738DA; Sat, 2 Jun 2018 19:25:43 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EA8F6140A0; Sat, 2 Jun 2018 19:25:42 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w52JPgiv039859; Sat, 2 Jun 2018 19:25:42 GMT (envelope-from miwi@FreeBSD.org) Received: (from miwi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w52JPgxC039855; Sat, 2 Jun 2018 19:25:42 GMT (envelope-from miwi@FreeBSD.org) Message-Id: <201806021925.w52JPgxC039855@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: miwi set sender to miwi@FreeBSD.org using -f From: Martin Wilke Date: Sat, 2 Jun 2018 19:25:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r471399 - in head/devel: . py-python-subunit X-SVN-Group: ports-head X-SVN-Commit-Author: miwi X-SVN-Commit-Paths: in head/devel: . py-python-subunit X-SVN-Commit-Revision: 471399 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jun 2018 19:25:43 -0000 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@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@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 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