pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-testscenarios



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Feb 22 14:21:40 UTC 2017

Added Files:
        pkgsrc/devel/py-testscenarios: DESCR Makefile PLIST distinfo

Log Message:
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).


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-testscenarios/DESCR \
    pkgsrc/devel/py-testscenarios/Makefile \
    pkgsrc/devel/py-testscenarios/PLIST \
    pkgsrc/devel/py-testscenarios/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/py-testscenarios/DESCR
diff -u /dev/null pkgsrc/devel/py-testscenarios/DESCR:1.1
--- /dev/null   Wed Feb 22 14:21:40 2017
+++ pkgsrc/devel/py-testscenarios/DESCR Wed Feb 22 14:21:40 2017
@@ -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).
Index: pkgsrc/devel/py-testscenarios/Makefile
diff -u /dev/null pkgsrc/devel/py-testscenarios/Makefile:1.1
--- /dev/null   Wed Feb 22 14:21:40 2017
+++ pkgsrc/devel/py-testscenarios/Makefile      Wed Feb 22 14:21:40 2017
@@ -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"
Index: pkgsrc/devel/py-testscenarios/PLIST
diff -u /dev/null pkgsrc/devel/py-testscenarios/PLIST:1.1
--- /dev/null   Wed Feb 22 14:21:40 2017
+++ pkgsrc/devel/py-testscenarios/PLIST Wed Feb 22 14:21:40 2017
@@ -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
Index: pkgsrc/devel/py-testscenarios/distinfo
diff -u /dev/null pkgsrc/devel/py-testscenarios/distinfo:1.1
--- /dev/null   Wed Feb 22 14:21:40 2017
+++ pkgsrc/devel/py-testscenarios/distinfo      Wed Feb 22 14:21:40 2017
@@ -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