View | Details | Raw Unified | Return to bug 228685
Collapse All | Expand All

(-)py-python-subunit/Makefile (+32 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	python-subunit
4
DISTVERSION=	1.3.0
5
CATEGORIES=	devel python
6
MASTER_SITES=	CHEESESHOP
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
9
MAINTAINER=	freebsd_ports@k-worx.org
10
COMMENT=	Python implementation of subunit test streaming protocol
11
12
LICENSE=	MIT
13
14
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}extras>=0:devel/py-extras@${PY_FLAVOR} \
15
		${PYTHON_PKGNAMEPREFIX}mimeparse>=0:devel/py-mimeparse@${PY_FLAVOR} \
16
		${PYTHON_PKGNAMEPREFIX}testtools>=0.9.34:devel/py-testtools@${PY_FLAVOR} \
17
		${PYTHON_PKGNAMEPREFIX}unittest2>=1.0.0:devel/py-unittest2@${PY_FLAVOR}
18
19
USES=		python
20
USE_PYTHON=	distutils concurrent autoplist
21
22
NO_ARCH=	yes
23
PORTDOCS=	NEWS README.rst
24
25
OPTIONS_DEFINE=	DOCS
26
27
post-install-DOCS-on:
28
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
29
	${INSTALL_DATA} ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR}
30
	${INSTALL_DATA} ${WRKSRC}/README.rst ${STAGEDIR}${DOCSDIR}
31
32
.include <bsd.port.mk>
(-)py-python-subunit/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1527328728
2
SHA256 (python-subunit-1.3.0.tar.gz) = 9607edbee4c1e5a30ff88549ce8d9feb0b9bcbcb5e55033a9d76e86075465cbb
3
SIZE (python-subunit-1.3.0.tar.gz) = 99309
(-)py-python-subunit/pkg-descr (+19 lines)
Line 0 Link Here
1
Subunit is a streaming protocol for test results.
2
3
There are two major revisions of the protocol. Version 1 was trivially human
4
readable but had significant defects as far as highly parallel testing was
5
concerned - it had no room for doing discovery and execution in parallel,
6
required substantial buffering when multiplexing and was fragile - a corrupt
7
byte could cause an entire stream to be misparsed. Version 1.1 added
8
encapsulation of binary streams which mitigated some of the issues but the core
9
remained.
10
11
Version 2 shares many of the good characteristics of Version 1 - it can be
12
embedded into a regular text stream (e.g. from a build system) and it still
13
models xUnit style test execution. It also fixes many of the issues with
14
Version 1 - Version 2 can be multiplexed without excessive buffering (in time
15
or space), it has a well defined recovery mechanism for dealing with corrupted
16
streams (e.g. where two processes write to the same stream concurrently, or
17
where the stream generator suffers a bug).
18
19
WWW: http://launchpad.net/subunit

Return to bug 228685