svn commit: r466453 - in head/devel: . py-testscenarios
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Wed Apr 4 18:50:15 UTC 2018
Author: sunpoet
Date: Wed Apr 4 18:50:14 2018
New Revision: 466453
URL: https://svnweb.freebsd.org/changeset/ports/466453
Log:
Add py-testscenarios 0.5.0
Testscenarios provides clean dependency injection for python unittest style
tests. This can be used for interface testing (testing many implementations via
a single test suite) or for classic dependency injection (provide tests with
dependencies externally to the test code itself, allowing easy testing in
different situations).
WWW: https://pypi.python.org/pypi/testscenarios
Added:
head/devel/py-testscenarios/
head/devel/py-testscenarios/Makefile (contents, props changed)
head/devel/py-testscenarios/distinfo (contents, props changed)
head/devel/py-testscenarios/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Wed Apr 4 18:49:27 2018 (r466452)
+++ head/devel/Makefile Wed Apr 4 18:50:14 2018 (r466453)
@@ -4979,6 +4979,7 @@
SUBDIR += py-testoob
SUBDIR += py-testpath
SUBDIR += py-testresources
+ SUBDIR += py-testscenarios
SUBDIR += py-testtools
SUBDIR += py-threema-msgapi
SUBDIR += py-thrift
Added: head/devel/py-testscenarios/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-testscenarios/Makefile Wed Apr 4 18:50:14 2018 (r466453)
@@ -0,0 +1,26 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= testscenarios
+PORTVERSION= 0.5.0
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet at FreeBSD.org
+COMMENT= PyUnit extension for dependency injection
+
+LICENSE= APACHE20 BSD3CLAUSE
+LICENSE_COMB= dual
+LICENSE_FILE_APACHE20= ${WRKSRC}/Apache-2.0
+LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/BSD
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=0:devel/py-pbr@${FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=0.11:devel/py-pbr@${FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}testtools>=0:devel/py-testtools@${FLAVOR}
+
+NO_ARCH= yes
+USE_PYTHON= autoplist concurrent distutils
+USES= python
+
+.include <bsd.port.mk>
Added: head/devel/py-testscenarios/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-testscenarios/distinfo Wed Apr 4 18:50:14 2018 (r466453)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1522845023
+SHA256 (testscenarios-0.5.0.tar.gz) = c257cb6b90ea7e6f8fef3158121d430543412c9a87df30b5dde6ec8b9b57a2b6
+SIZE (testscenarios-0.5.0.tar.gz) = 20951
Added: head/devel/py-testscenarios/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-testscenarios/pkg-descr Wed Apr 4 18:50:14 2018 (r466453)
@@ -0,0 +1,7 @@
+Testscenarios provides clean dependency injection for python unittest style
+tests. This can be used for interface testing (testing many implementations via
+a single test suite) or for classic dependency injection (provide tests with
+dependencies externally to the test code itself, allowing easy testing in
+different situations).
+
+WWW: https://pypi.python.org/pypi/testscenarios
More information about the svn-ports-head
mailing list