Bug 228685

Summary: [NEW PORT] devel/py-python-subunit: Python implementation of subunit test streaming protocol
Product: Ports & Packages Reporter: Kai Knoblich <kai>
Component: Individual Port(s)Assignee: Martin Wilke <miwi>
Status: Closed FIXED    
Severity: Affects Only Me CC: miwi, python
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://pypi.org/project/python-subunit/
Bug Depends on:    
Bug Blocks: 228692, 228697    
Attachments:
Description Flags
py-python-subunit.patch none

Description Kai Knoblich freebsd_committer freebsd_triage 2018-06-02 14:40:55 UTC
Created attachment 193924 [details]
py-python-subunit.patch

Hello,

attached is the patch from svn for the Python package devel/py-python-subunit, a Python implementation of the Subunit streaming protocol for test results.

QA:
~~~
- poudriere (11.1-RELEASE amd64 + i386) for each py27 + py36 flavor -> OK
- portlint -> OK
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-06-02 19:26:21 UTC
A commit references this bug:

Author: miwi
Date: Sat Jun  2 19:25:42 UTC 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.

Changes:
  head/devel/Makefile
  head/devel/py-python-subunit/
  head/devel/py-python-subunit/Makefile
  head/devel/py-python-subunit/distinfo
  head/devel/py-python-subunit/pkg-descr