pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-testscenarios Import py-testscenarios-0.5.0 a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5950d9789eb6
branches:  trunk
changeset: 358921:5950d9789eb6
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Feb 22 14:21:40 2017 +0000

description:
Import py-testscenarios-0.5.0 as devel/py-testscenarios.

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).

diffstat:

 devel/py-testscenarios/DESCR    |   5 +++++
 devel/py-testscenarios/Makefile |  25 +++++++++++++++++++++++++
 devel/py-testscenarios/PLIST    |  26 ++++++++++++++++++++++++++
 devel/py-testscenarios/distinfo |   6 ++++++
 4 files changed, 62 insertions(+), 0 deletions(-)

diffs (78 lines):

diff -r 8d20b9a3526e -r 5950d9789eb6 devel/py-testscenarios/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-testscenarios/DESCR      Wed Feb 22 14:21:40 2017 +0000
@@ -0,0 +1,5 @@
+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).
diff -r 8d20b9a3526e -r 5950d9789eb6 devel/py-testscenarios/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-testscenarios/Makefile   Wed Feb 22 14:21:40 2017 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2017/02/22 14:21:40 wiz Exp $
+
+DISTNAME=      testscenarios-0.5.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_PYPI:=t/testscenarios/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://pypi.python.org/pypi/testscenarios
+COMMENT=       Pyunit extension for dependency injection
+LICENSE=       apache-2.0 OR modified-bsd
+
+DEPENDS+=      ${PYPKGPREFIX}-pbr-[0-9]*:../../devel/py-pbr
+# as of 0.5.0, many failures
+# https://github.com/testing-cabal/testscenarios/issues/2
+# TEST_DEPENDS
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+# circular dependency
+#BUILD_DEPENDS+=       ${PYPKGPREFIX}-testtools-[0-9]*:../../devel/py-testtools
+
+do-test:
+       cd ${WRKSRC} && py.test-${PYVERSSUFFIX}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 8d20b9a3526e -r 5950d9789eb6 devel/py-testscenarios/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-testscenarios/PLIST      Wed Feb 22 14:21:40 2017 +0000
@@ -0,0 +1,26 @@
+@comment $NetBSD: PLIST,v 1.1 2017/02/22 14:21:40 wiz Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/pbr.json
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/testscenarios/__init__.py
+${PYSITELIB}/testscenarios/__init__.pyc
+${PYSITELIB}/testscenarios/__init__.pyo
+${PYSITELIB}/testscenarios/scenarios.py
+${PYSITELIB}/testscenarios/scenarios.pyc
+${PYSITELIB}/testscenarios/scenarios.pyo
+${PYSITELIB}/testscenarios/testcase.py
+${PYSITELIB}/testscenarios/testcase.pyc
+${PYSITELIB}/testscenarios/testcase.pyo
+${PYSITELIB}/testscenarios/tests/__init__.py
+${PYSITELIB}/testscenarios/tests/__init__.pyc
+${PYSITELIB}/testscenarios/tests/__init__.pyo
+${PYSITELIB}/testscenarios/tests/test_scenarios.py
+${PYSITELIB}/testscenarios/tests/test_scenarios.pyc
+${PYSITELIB}/testscenarios/tests/test_scenarios.pyo
+${PYSITELIB}/testscenarios/tests/test_testcase.py
+${PYSITELIB}/testscenarios/tests/test_testcase.pyc
+${PYSITELIB}/testscenarios/tests/test_testcase.pyo
diff -r 8d20b9a3526e -r 5950d9789eb6 devel/py-testscenarios/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-testscenarios/distinfo   Wed Feb 22 14:21:40 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/02/22 14:21:40 wiz Exp $
+
+SHA1 (testscenarios-0.5.0.tar.gz) = c9eb11775119a1636a07a9f72f1676b6cb4dc7db
+RMD160 (testscenarios-0.5.0.tar.gz) = c1c502651021c3067eeb29b67b8be9b03ae37eeb
+SHA512 (testscenarios-0.5.0.tar.gz) = f08b868babf504482369c5cb945d3e95bca1cc00f92d5013f6898c488051be0c26dc49aaabcef362aea45450a8d041d9826fb6b5c848beec013fb102d6935521
+Size (testscenarios-0.5.0.tar.gz) = 20951 bytes



Home | Main Index | Thread Index | Old Index